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

@ -7,7 +7,7 @@ namespace Ryujinx.HLE.HOS.Services.Ptm.Psm
{
public IPsmServer(ServiceCtx context) { }
[CommandHipc(0)]
[CommandCmif(0)]
// GetBatteryChargePercentage() -> u32
public static ResultCode GetBatteryChargePercentage(ServiceCtx context)
{
@ -20,7 +20,7 @@ namespace Ryujinx.HLE.HOS.Services.Ptm.Psm
return ResultCode.Success;
}
[CommandHipc(1)]
[CommandCmif(1)]
// GetChargerType() -> u32
public static ResultCode GetChargerType(ServiceCtx context)
{
@ -33,7 +33,7 @@ namespace Ryujinx.HLE.HOS.Services.Ptm.Psm
return ResultCode.Success;
}
[CommandHipc(7)]
[CommandCmif(7)]
// OpenSession() -> IPsmSession
public ResultCode OpenSession(ServiceCtx context)
{

View file

@ -16,7 +16,7 @@ namespace Ryujinx.HLE.HOS.Services.Ptm.Psm
_stateChangeEventHandle = -1;
}
[CommandHipc(0)]
[CommandCmif(0)]
// BindStateChangeEvent() -> KObject
public ResultCode BindStateChangeEvent(ServiceCtx context)
{
@ -37,7 +37,7 @@ namespace Ryujinx.HLE.HOS.Services.Ptm.Psm
return ResultCode.Success;
}
[CommandHipc(1)]
[CommandCmif(1)]
// UnbindStateChangeEvent()
public ResultCode UnbindStateChangeEvent(ServiceCtx context)
{
@ -52,7 +52,7 @@ namespace Ryujinx.HLE.HOS.Services.Ptm.Psm
return ResultCode.Success;
}
[CommandHipc(2)]
[CommandCmif(2)]
// SetChargerTypeChangeEventEnabled(u8)
public ResultCode SetChargerTypeChangeEventEnabled(ServiceCtx context)
{
@ -63,7 +63,7 @@ namespace Ryujinx.HLE.HOS.Services.Ptm.Psm
return ResultCode.Success;
}
[CommandHipc(3)]
[CommandCmif(3)]
// SetPowerSupplyChangeEventEnabled(u8)
public ResultCode SetPowerSupplyChangeEventEnabled(ServiceCtx context)
{
@ -74,7 +74,7 @@ namespace Ryujinx.HLE.HOS.Services.Ptm.Psm
return ResultCode.Success;
}
[CommandHipc(4)]
[CommandCmif(4)]
// SetBatteryVoltageStateChangeEventEnabled(u8)
public ResultCode SetBatteryVoltageStateChangeEventEnabled(ServiceCtx context)
{