diff --git a/stratosphere/loader/loader.json b/stratosphere/loader/loader.json new file mode 100644 index 000000000..71da27f7d --- /dev/null +++ b/stratosphere/loader/loader.json @@ -0,0 +1,65 @@ +{ + "name" : "Loader", + "title_id" : "0x0100000000000001", + "main_thread_stack_size" : "0x4000", + "main_thread_priority" : 49, + "default_cpu_id" : 3, + "process_category" : 1, + "kernel_capabilities" : { + "handle_table_size" : 128, + "syscalls" : { + "svcSetHeapSize" : "0x01", + "svcSetMemoryPermission" : "0x02", + "svcSetMemoryAttribute" : "0x03", + "svcMapMemory" : "0x04", + "svcUnmapMemory" : "0x05", + "svcQueryMemory" : "0x06", + "svcExitProcess" : "0x07", + "svcCreateThread" : "0x08", + "svcStartThread" : "0x09", + "svcExitThread" : "0x0A", + "svcSleepThread" : "0x0B", + "svcGetThreadPriority" : "0x0C", + "svcSetThreadPriority" : "0x0D", + "svcGetThreadCoreMask" : "0x0E", + "svcSetThreadCoreMask" : "0x0F", + "svcGetCurrentProcessorNumber" : "0x10", + "svcSignalEvent" : "0x11", + "svcClearEvent" : "0x12", + "svcMapSharedMemory" : "0x13", + "svcUnmapSharedMemory" : "0x14", + "svcCreateTransferMemory" : "0x15", + "svcCloseHandle" : "0x16", + "svcResetSignal" : "0x17", + "svcWaitSynchronization" : "0x18", + "svcCancelSynchronization" : "0x19", + "svcArbitrateLock" : "0x1A", + "svcArbitrateUnlock" : "0x1B", + "svcWaitProcessWideKeyAtomic" : "0x1C", + "svcSignalProcessWideKey" : "0x1D", + "svcGetSystemTick" : "0x1E", + "svcConnectToNamedPort" : "0x1F", + "svcSendSyncRequestLight" : "0x20", + "svcSendSyncRequest" : "0x21", + "svcSendSyncRequestWithUserBuffer" : "0x22", + "svcSendAsyncRequestWithUserBuffer" : "0x23", + "svcGetProcessId" : "0x24", + "svcGetThreadId" : "0x25", + "svcBreak" : "0x26", + "svcOutputDebugString" : "0x27", + "svcReturnFromException" : "0x28", + "svcGetInfo" : "0x29", + "svcWaitForAddress" : "0x34", + "svcSignalToAddress" : "0x35", + "svcCreateSession" : "0x40", + "svcAcceptSession" : "0x41", + "svcReplyAndReceiveLight" : "0x42", + "svcReplyAndReceive" : "0x43", + "svcReplyAndReceiveWithUserBuffer" : "0x44", + "svcSetProcessMemoryPermission" : "0x73", + "svcMapProcessMemory" : "0x74", + "svcUnmapProcessMemory" : "0x75", + "svcCreateProcess" : "0x79" + } + } +} \ No newline at end of file diff --git a/stratosphere/sm/sm.json b/stratosphere/sm/sm.json index 5d33ebe1e..0d3074e10 100644 --- a/stratosphere/sm/sm.json +++ b/stratosphere/sm/sm.json @@ -8,58 +8,58 @@ "kernel_capabilities" : { "handle_table_size" : 512, "syscalls" : { - "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 + "svcSetHeapSize" : "0x01", + "svcSetMemoryPermission" : "0x02", + "svcSetMemoryAttribute" : "0x03", + "svcMapMemory" : "0x04", + "svcUnmapMemory" : "0x05", + "svcQueryMemory" : "0x06", + "svcExitProcess" : "0x07", + "svcCreateThread" : "0x08", + "svcStartThread" : "0x09", + "svcExitThread" : "0x0A", + "svcSleepThread" : "0x0B", + "svcGetThreadPriority" : "0x0C", + "svcSetThreadPriority" : "0x0D", + "svcGetThreadCoreMask" : "0x0E", + "svcSetThreadCoreMask" : "0x0F", + "svcGetCurrentProcessorNumber" : "0x10", + "svcSignalEvent" : "0x11", + "svcClearEvent" : "0x12", + "svcMapSharedMemory" : "0x13", + "svcUnmapSharedMemory" : "0x14", + "svcCreateTransferMemory" : "0x15", + "svcCloseHandle" : "0x16", + "svcResetSignal" : "0x17", + "svcWaitSynchronization" : "0x18", + "svcCancelSynchronization" : "0x19", + "svcArbitrateLock" : "0x1A", + "svcArbitrateUnlock" : "0x1B", + "svcWaitProcessWideKeyAtomic" : "0x1C", + "svcSignalProcessWideKey" : "0x1D", + "svcGetSystemTick" : "0x1E", + "svcConnectToNamedPort" : "0x1F", + "svcSendSyncRequestLight" : "0x20", + "svcSendSyncRequest" : "0x21", + "svcSendSyncRequestWithUserBuffer" : "0x22", + "svcSendAsyncRequestWithUserBuffer" : "0x23", + "svcGetProcessId" : "0x24", + "svcGetThreadId" : "0x25", + "svcBreak" : "0x26", + "svcOutputDebugString" : "0x27", + "svcReturnFromException" : "0x28", + "svcGetInfo" : "0x29", + "svcWaitForAddress" : "0x34", + "svcSignalToAddress" : "0x35", + "svcCreateSession" : "0x40", + "svcAcceptSession" : "0x41", + "svcReplyAndReceiveLight" : "0x42", + "svcReplyAndReceive" : "0x43", + "svcReplyAndReceiveWithUserBuffer" : "0x44", + "svcGetMemoryInfo" : "0x6F", + "svcCreatePort" : "0x70", + "svcManageNamedPort" : "0x71", + "svcConnectToPort" : "0x72" } } } \ No newline at end of file