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

@ -22,7 +22,7 @@ namespace Ryujinx.HLE.HOS.Services.Ns.Aoc
_addOnContentListChangedEvent = new KEvent(context.Device.System.KernelContext);
}
[CommandHipc(0)] // 1.0.0-6.2.0
[CommandCmif(0)] // 1.0.0-6.2.0
// CountAddOnContentByApplicationId(u64 title_id) -> u32
public ResultCode CountAddOnContentByApplicationId(ServiceCtx context)
{
@ -31,7 +31,7 @@ namespace Ryujinx.HLE.HOS.Services.Ns.Aoc
return CountAddOnContentImpl(context, titleId);
}
[CommandHipc(1)] // 1.0.0-6.2.0
[CommandCmif(1)] // 1.0.0-6.2.0
// ListAddOnContentByApplicationId(u64 title_id, u32 start_index, u32 buffer_size) -> (u32 count, buffer<u32>)
public ResultCode ListAddOnContentByApplicationId(ServiceCtx context)
{
@ -40,7 +40,7 @@ namespace Ryujinx.HLE.HOS.Services.Ns.Aoc
return ListAddContentImpl(context, titleId);
}
[CommandHipc(2)]
[CommandCmif(2)]
// CountAddOnContent(pid) -> u32
public ResultCode CountAddOnContent(ServiceCtx context)
{
@ -51,7 +51,7 @@ namespace Ryujinx.HLE.HOS.Services.Ns.Aoc
return CountAddOnContentImpl(context, context.Device.Processes.ActiveApplication.ProgramId);
}
[CommandHipc(3)]
[CommandCmif(3)]
// ListAddOnContent(u32 start_index, u32 buffer_size, pid) -> (u32 count, buffer<u32>)
public ResultCode ListAddOnContent(ServiceCtx context)
{
@ -62,7 +62,7 @@ namespace Ryujinx.HLE.HOS.Services.Ns.Aoc
return ListAddContentImpl(context, context.Device.Processes.ActiveApplication.ProgramId);
}
[CommandHipc(4)] // 1.0.0-6.2.0
[CommandCmif(4)] // 1.0.0-6.2.0
// GetAddOnContentBaseIdByApplicationId(u64 title_id) -> u64
public ResultCode GetAddOnContentBaseIdByApplicationId(ServiceCtx context)
{
@ -71,7 +71,7 @@ namespace Ryujinx.HLE.HOS.Services.Ns.Aoc
return GetAddOnContentBaseIdImpl(context, titleId);
}
[CommandHipc(5)]
[CommandCmif(5)]
// GetAddOnContentBaseId(pid) -> u64
public ResultCode GetAddOnContentBaseId(ServiceCtx context)
{
@ -82,7 +82,7 @@ namespace Ryujinx.HLE.HOS.Services.Ns.Aoc
return GetAddOnContentBaseIdImpl(context, context.Device.Processes.ActiveApplication.ProgramId);
}
[CommandHipc(6)] // 1.0.0-6.2.0
[CommandCmif(6)] // 1.0.0-6.2.0
// PrepareAddOnContentByApplicationId(u64 title_id, u32 index)
public ResultCode PrepareAddOnContentByApplicationId(ServiceCtx context)
{
@ -91,7 +91,7 @@ namespace Ryujinx.HLE.HOS.Services.Ns.Aoc
return PrepareAddOnContentImpl(context, titleId);
}
[CommandHipc(7)]
[CommandCmif(7)]
// PrepareAddOnContent(u32 index, pid)
public ResultCode PrepareAddOnContent(ServiceCtx context)
{
@ -102,14 +102,14 @@ namespace Ryujinx.HLE.HOS.Services.Ns.Aoc
return PrepareAddOnContentImpl(context, context.Device.Processes.ActiveApplication.ProgramId);
}
[CommandHipc(8)] // 4.0.0+
[CommandCmif(8)] // 4.0.0+
// GetAddOnContentListChangedEvent() -> handle<copy>
public ResultCode GetAddOnContentListChangedEvent(ServiceCtx context)
{
return GetAddOnContentListChangedEventImpl(context);
}
[CommandHipc(9)] // 10.0.0+
[CommandCmif(9)] // 10.0.0+
// GetAddOnContentLostErrorCode() -> u64
public ResultCode GetAddOnContentLostErrorCode(ServiceCtx context)
{
@ -119,7 +119,7 @@ namespace Ryujinx.HLE.HOS.Services.Ns.Aoc
return ResultCode.Success;
}
[CommandHipc(10)] // 11.0.0+
[CommandCmif(10)] // 11.0.0+
// GetAddOnContentListChangedEventWithProcessId(pid) -> handle<copy>
public ResultCode GetAddOnContentListChangedEventWithProcessId(ServiceCtx context)
{
@ -138,7 +138,7 @@ namespace Ryujinx.HLE.HOS.Services.Ns.Aoc
return GetAddOnContentListChangedEventImpl(context);
}
[CommandHipc(11)] // 13.0.0+
[CommandCmif(11)] // 13.0.0+
// NotifyMountAddOnContent(pid, u64 title_id)
public ResultCode NotifyMountAddOnContent(ServiceCtx context)
{
@ -156,7 +156,7 @@ namespace Ryujinx.HLE.HOS.Services.Ns.Aoc
return ResultCode.Success;
}
[CommandHipc(12)] // 13.0.0+
[CommandCmif(12)] // 13.0.0+
// NotifyUnmountAddOnContent(pid, u64 title_id)
public ResultCode NotifyUnmountAddOnContent(ServiceCtx context)
{
@ -171,7 +171,7 @@ namespace Ryujinx.HLE.HOS.Services.Ns.Aoc
return ResultCode.Success;
}
[CommandHipc(50)] // 13.0.0+
[CommandCmif(50)] // 13.0.0+
// CheckAddOnContentMountStatus(pid)
public ResultCode CheckAddOnContentMountStatus(ServiceCtx context)
{
@ -185,7 +185,7 @@ namespace Ryujinx.HLE.HOS.Services.Ns.Aoc
return ResultCode.Success;
}
[CommandHipc(100)] // 7.0.0+
[CommandCmif(100)] // 7.0.0+
// CreateEcPurchasedEventManager() -> object<nn::ec::IPurchaseEventManager>
public ResultCode CreateEcPurchasedEventManager(ServiceCtx context)
{
@ -194,7 +194,7 @@ namespace Ryujinx.HLE.HOS.Services.Ns.Aoc
return ResultCode.Success;
}
[CommandHipc(101)] // 9.0.0+
[CommandCmif(101)] // 9.0.0+
// CreatePermanentEcPurchasedEventManager() -> object<nn::ec::IPurchaseEventManager>
public ResultCode CreatePermanentEcPurchasedEventManager(ServiceCtx context)
{
@ -205,7 +205,7 @@ namespace Ryujinx.HLE.HOS.Services.Ns.Aoc
return ResultCode.Success;
}
[CommandHipc(110)] // 12.0.0+
[CommandCmif(110)] // 12.0.0+
// CreateContentsServiceManager() -> object<nn::ec::IContentsServiceManager>
public ResultCode CreateContentsServiceManager(ServiceCtx context)
{

View file

@ -15,7 +15,7 @@ namespace Ryujinx.HLE.HOS.Services.Ns.Aoc
_purchasedEvent = new KEvent(system.KernelContext);
}
[CommandHipc(0)]
[CommandCmif(0)]
// SetDefaultDeliveryTarget(pid, buffer<bytes, 5> unknown)
public ResultCode SetDefaultDeliveryTarget(ServiceCtx context)
{
@ -34,7 +34,7 @@ namespace Ryujinx.HLE.HOS.Services.Ns.Aoc
return ResultCode.Success;
}
[CommandHipc(2)]
[CommandCmif(2)]
// GetPurchasedEventReadableHandle() -> handle<copy, event>
public ResultCode GetPurchasedEventReadableHandle(ServiceCtx context)
{
@ -48,7 +48,7 @@ namespace Ryujinx.HLE.HOS.Services.Ns.Aoc
return ResultCode.Success;
}
[CommandHipc(3)]
[CommandCmif(3)]
// PopPurchasedProductInfo(nn::ec::detail::PurchasedProductInfo)
public ResultCode PopPurchasedProductInfo(ServiceCtx context)
{

View file

@ -9,7 +9,7 @@ namespace Ryujinx.HLE.HOS.Services.Ns
{
public IApplicationManagerInterface(ServiceCtx context) { }
[CommandHipc(400)]
[CommandCmif(400)]
// GetApplicationControlData(u8, u64) -> (unknown<4>, buffer<unknown, 6>)
public ResultCode GetApplicationControlData(ServiceCtx context)
{

View file

@ -7,7 +7,7 @@ namespace Ryujinx.HLE.HOS.Services.Ns
{
public IReadOnlyApplicationControlDataInterface(ServiceCtx context) { }
[CommandHipc(0)]
[CommandCmif(0)]
// GetApplicationControlData(u8, u64) -> (unknown<4>, buffer<unknown, 6>)
public ResultCode GetApplicationControlData(ServiceCtx context)
{

View file

@ -9,7 +9,7 @@ namespace Ryujinx.HLE.HOS.Services.Ns
{
public IServiceGetterInterface(ServiceCtx context) { }
[CommandHipc(7996)]
[CommandCmif(7996)]
// GetApplicationManagerInterface() -> object<nn::ns::detail::IApplicationManagerInterface>
public ResultCode GetApplicationManagerInterface(ServiceCtx context)
{
@ -18,7 +18,7 @@ namespace Ryujinx.HLE.HOS.Services.Ns
return ResultCode.Success;
}
[CommandHipc(7989)]
[CommandCmif(7989)]
// GetReadOnlyApplicationControlDataInterface() -> object<nn::ns::detail::IReadOnlyApplicationControlDataInterface>
public ResultCode GetReadOnlyApplicationControlDataInterface(ServiceCtx context)
{