diff --git a/stratosphere/sm/sm.json b/stratosphere/sm/sm.json new file mode 100644 index 000000000..0496cefc9 --- /dev/null +++ b/stratosphere/sm/sm.json @@ -0,0 +1,71 @@ +{ + "name" : "sm", + "title_id" : "0x0100000000000004", + "main_thread_stack_size" : "0x1000", + "main_thread_priority" : 27, + "default_cpu_id" : 3, + "process_category" : 1, + "kernel_capabilities" : [ + { + "type" : "handle_table_size", + "value" : 512 + }, + { + "type" : "syscalls", + "value" : { + "svcSetHeapSize" : 1, + "svcSetMemoryPermission" : 2, + "svcSetMemoryAttribute" : 3, + "svcMapMemory" : 4, + "svcUnmapMemory" : 5, + "svcQueryMemory" : 6, + "svcExitProcess" : 7, + "svcCreateThread" : 8, + "svcStartThread" : 9, + "svcExitThread" : 10, + "svcSleepThread" : 11, + "svcGetThreadPriority" : 12, + "svcSetThreadPriority" : 13, + "svcGetThreadCoreMask" : 14, + "svcSetThreadCoreMask" : 15, + "svcGetCurrentProcessorNumber" : 16, + "svcSignalEvent" : 17, + "svcClearEvent" : 18, + "svcMapSharedMemory" : 19, + "svcUnmapSharedMemory" : 20, + "svcCreateTransferMemory" : 21, + "svcCloseHandle" : 22, + "svcResetSignal" : 23, + "svcWaitSynchronization" : 24, + "svcCancelSynchronization" : 25, + "svcArbitrateLock" : 26, + "svcArbitrateUnlock" : 27, + "svcWaitProcessWideKeyAtomic" : 28, + "svcSignalProcessWideKey" : 29, + "svcGetSystemTick" : 30, + "svcConnectToNamedPort" : 31, + "svcSendSyncRequestLight" : 32, + "svcSendSyncRequest" : 33, + "svcSendSyncRequestWithUserBuffer" : 34, + "svcSendAsyncRequestWithUserBuffer" : 35, + "svcGetProcessId" : 36, + "svcGetThreadId" : 37, + "svcBreak" : 38, + "svcOutputDebugString" : 39, + "svcReturnFromException" : 40, + "svcGetInfo" : 41, + "svcWaitForAddress" : 52, + "svcSignalToAddress" : 53, + "svcCreateSession" : 64, + "svcAcceptSession" : 65, + "svcReplyAndReceiveLight" : 66, + "svcReplyAndReceive" : 67, + "svcReplyAndReceiveWithUserBuffer" : 68, + "svcGetMemoryInfo" : 111, + "svcCreatePort" : 112, + "svcManageNamedPort" : 113, + "svcConnectToPort" : 114 + } + } + ] +} \ No newline at end of file