0746b83edf
* Rename CommandAttribute as CommandHIpcAttribute to prepare for 12.x changes * Implement inital support for TIPC and adds SM command ids * *Ipc to *ipc * Missed a ref in last commit... * CommandAttributeTIpc to CommandAttributeTipc * Addresses comment and fixes some bugs around TIPC doesn't have any padding requirements as buffer C isn't a thing Fix for RegisterService inverting two argument only on TIPC
30 lines
No EOL
1,013 B
C#
30 lines
No EOL
1,013 B
C#
namespace Ryujinx.HLE.HOS.Services.Ns
|
|
{
|
|
[Service("ns:am2")]
|
|
[Service("ns:ec")]
|
|
[Service("ns:rid")]
|
|
[Service("ns:rt")]
|
|
[Service("ns:web")]
|
|
class IServiceGetterInterface : IpcService
|
|
{
|
|
public IServiceGetterInterface(ServiceCtx context) { }
|
|
|
|
[CommandHipc(7996)]
|
|
// GetApplicationManagerInterface() -> object<nn::ns::detail::IApplicationManagerInterface>
|
|
public ResultCode GetApplicationManagerInterface(ServiceCtx context)
|
|
{
|
|
MakeObject(context, new IApplicationManagerInterface(context));
|
|
|
|
return ResultCode.Success;
|
|
}
|
|
|
|
[CommandHipc(7989)]
|
|
// GetReadOnlyApplicationControlDataInterface() -> object<nn::ns::detail::IReadOnlyApplicationControlDataInterface>
|
|
public ResultCode GetReadOnlyApplicationControlDataInterface(ServiceCtx context)
|
|
{
|
|
MakeObject(context, new IReadOnlyApplicationControlDataInterface(context));
|
|
|
|
return ResultCode.Success;
|
|
}
|
|
}
|
|
} |