Rename Hipc to Cmif where appropriate (#3880)

This commit is contained in:
Alex Barney 2023-04-14 16:00:34 -07:00 committed by GitHub
parent 4c3f09644a
commit 11ecff2ff0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
149 changed files with 1152 additions and 1153 deletions

View file

@ -235,7 +235,7 @@ namespace Ryujinx.HLE.HOS.Services.Nv
}
}
[CommandHipc(0)]
[CommandCmif(0)]
// Open(buffer<bytes, 5> path) -> (s32 fd, u32 error_code)
public ResultCode Open(ServiceCtx context)
{
@ -258,7 +258,7 @@ namespace Ryujinx.HLE.HOS.Services.Nv
return ResultCode.Success;
}
[CommandHipc(1)]
[CommandCmif(1)]
// Ioctl(s32 fd, u32 ioctl_cmd, buffer<bytes, 0x21> in_args) -> (u32 error_code, buffer<bytes, 0x22> out_args)
public ResultCode Ioctl(ServiceCtx context)
{
@ -299,7 +299,7 @@ namespace Ryujinx.HLE.HOS.Services.Nv
return ResultCode.Success;
}
[CommandHipc(2)]
[CommandCmif(2)]
// Close(s32 fd) -> u32 error_code
public ResultCode Close(ServiceCtx context)
{
@ -324,7 +324,7 @@ namespace Ryujinx.HLE.HOS.Services.Nv
return ResultCode.Success;
}
[CommandHipc(3)]
[CommandCmif(3)]
// Initialize(u32 transfer_memory_size, handle<copy, process> current_process, handle<copy, transfer_memory> transfer_memory) -> u32 error_code
public ResultCode Initialize(ServiceCtx context)
{
@ -349,7 +349,7 @@ namespace Ryujinx.HLE.HOS.Services.Nv
return ResultCode.Success;
}
[CommandHipc(4)]
[CommandCmif(4)]
// QueryEvent(s32 fd, u32 event_id) -> (u32, handle<copy, event>)
public ResultCode QueryEvent(ServiceCtx context)
{
@ -385,7 +385,7 @@ namespace Ryujinx.HLE.HOS.Services.Nv
return ResultCode.Success;
}
[CommandHipc(5)]
[CommandCmif(5)]
// MapSharedMemory(s32 fd, u32 argument, handle<copy, shared_memory>) -> u32 error_code
public ResultCode MapSharedMemory(ServiceCtx context)
{
@ -410,7 +410,7 @@ namespace Ryujinx.HLE.HOS.Services.Nv
return ResultCode.Success;
}
[CommandHipc(6)]
[CommandCmif(6)]
// GetStatus() -> (unknown<0x20>, u32 error_code)
public ResultCode GetStatus(ServiceCtx context)
{
@ -439,14 +439,14 @@ namespace Ryujinx.HLE.HOS.Services.Nv
return ResultCode.Success;
}
[CommandHipc(7)]
[CommandCmif(7)]
// ForceSetClientPid(u64) -> u32 error_code
public ResultCode ForceSetClientPid(ServiceCtx context)
{
throw new ServiceNotImplementedException(this, context);
}
[CommandHipc(8)]
[CommandCmif(8)]
// SetClientPID(u64, pid) -> u32 error_code
public ResultCode SetClientPid(ServiceCtx context)
{
@ -457,7 +457,7 @@ namespace Ryujinx.HLE.HOS.Services.Nv
return ResultCode.Success;
}
[CommandHipc(9)]
[CommandCmif(9)]
// DumpGraphicsMemoryInfo()
public ResultCode DumpGraphicsMemoryInfo(ServiceCtx context)
{
@ -466,14 +466,14 @@ namespace Ryujinx.HLE.HOS.Services.Nv
return ResultCode.Success;
}
[CommandHipc(10)] // 3.0.0+
[CommandCmif(10)] // 3.0.0+
// InitializeDevtools(u32, handle<copy>) -> u32 error_code;
public ResultCode InitializeDevtools(ServiceCtx context)
{
throw new ServiceNotImplementedException(this, context);
}
[CommandHipc(11)] // 3.0.0+
[CommandCmif(11)] // 3.0.0+
// Ioctl2(s32 fd, u32 ioctl_cmd, buffer<bytes, 0x21> in_args, buffer<bytes, 0x21> inline_in_buffer) -> (u32 error_code, buffer<bytes, 0x22> out_args)
public ResultCode Ioctl2(ServiceCtx context)
{
@ -522,7 +522,7 @@ namespace Ryujinx.HLE.HOS.Services.Nv
return ResultCode.Success;
}
[CommandHipc(12)] // 3.0.0+
[CommandCmif(12)] // 3.0.0+
// Ioctl3(s32 fd, u32 ioctl_cmd, buffer<bytes, 0x21> in_args) -> (u32 error_code, buffer<bytes, 0x22> out_args, buffer<bytes, 0x22> inline_out_buffer)
public ResultCode Ioctl3(ServiceCtx context)
{
@ -572,7 +572,7 @@ namespace Ryujinx.HLE.HOS.Services.Nv
return ResultCode.Success;
}
[CommandHipc(13)] // 3.0.0+
[CommandCmif(13)] // 3.0.0+
// FinishInitialize(unknown<8>)
public ResultCode FinishInitialize(ServiceCtx context)
{