1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-12-20 01:12:10 +00:00

Stratosphere: Add .jsons for loader, sm

This commit is contained in:
Michael Scire 2018-04-25 02:07:47 -06:00
parent 678bf5914a
commit dba0d62ef7
2 changed files with 117 additions and 52 deletions

View file

@ -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"
}
}
}

View file

@ -8,58 +8,58 @@
"kernel_capabilities" : { "kernel_capabilities" : {
"handle_table_size" : 512, "handle_table_size" : 512,
"syscalls" : { "syscalls" : {
"svcSetHeapSize" : 1, "svcSetHeapSize" : "0x01",
"svcSetMemoryPermission" : 2, "svcSetMemoryPermission" : "0x02",
"svcSetMemoryAttribute" : 3, "svcSetMemoryAttribute" : "0x03",
"svcMapMemory" : 4, "svcMapMemory" : "0x04",
"svcUnmapMemory" : 5, "svcUnmapMemory" : "0x05",
"svcQueryMemory" : 6, "svcQueryMemory" : "0x06",
"svcExitProcess" : 7, "svcExitProcess" : "0x07",
"svcCreateThread" : 8, "svcCreateThread" : "0x08",
"svcStartThread" : 9, "svcStartThread" : "0x09",
"svcExitThread" : 10, "svcExitThread" : "0x0A",
"svcSleepThread" : 11, "svcSleepThread" : "0x0B",
"svcGetThreadPriority" : 12, "svcGetThreadPriority" : "0x0C",
"svcSetThreadPriority" : 13, "svcSetThreadPriority" : "0x0D",
"svcGetThreadCoreMask" : 14, "svcGetThreadCoreMask" : "0x0E",
"svcSetThreadCoreMask" : 15, "svcSetThreadCoreMask" : "0x0F",
"svcGetCurrentProcessorNumber" : 16, "svcGetCurrentProcessorNumber" : "0x10",
"svcSignalEvent" : 17, "svcSignalEvent" : "0x11",
"svcClearEvent" : 18, "svcClearEvent" : "0x12",
"svcMapSharedMemory" : 19, "svcMapSharedMemory" : "0x13",
"svcUnmapSharedMemory" : 20, "svcUnmapSharedMemory" : "0x14",
"svcCreateTransferMemory" : 21, "svcCreateTransferMemory" : "0x15",
"svcCloseHandle" : 22, "svcCloseHandle" : "0x16",
"svcResetSignal" : 23, "svcResetSignal" : "0x17",
"svcWaitSynchronization" : 24, "svcWaitSynchronization" : "0x18",
"svcCancelSynchronization" : 25, "svcCancelSynchronization" : "0x19",
"svcArbitrateLock" : 26, "svcArbitrateLock" : "0x1A",
"svcArbitrateUnlock" : 27, "svcArbitrateUnlock" : "0x1B",
"svcWaitProcessWideKeyAtomic" : 28, "svcWaitProcessWideKeyAtomic" : "0x1C",
"svcSignalProcessWideKey" : 29, "svcSignalProcessWideKey" : "0x1D",
"svcGetSystemTick" : 30, "svcGetSystemTick" : "0x1E",
"svcConnectToNamedPort" : 31, "svcConnectToNamedPort" : "0x1F",
"svcSendSyncRequestLight" : 32, "svcSendSyncRequestLight" : "0x20",
"svcSendSyncRequest" : 33, "svcSendSyncRequest" : "0x21",
"svcSendSyncRequestWithUserBuffer" : 34, "svcSendSyncRequestWithUserBuffer" : "0x22",
"svcSendAsyncRequestWithUserBuffer" : 35, "svcSendAsyncRequestWithUserBuffer" : "0x23",
"svcGetProcessId" : 36, "svcGetProcessId" : "0x24",
"svcGetThreadId" : 37, "svcGetThreadId" : "0x25",
"svcBreak" : 38, "svcBreak" : "0x26",
"svcOutputDebugString" : 39, "svcOutputDebugString" : "0x27",
"svcReturnFromException" : 40, "svcReturnFromException" : "0x28",
"svcGetInfo" : 41, "svcGetInfo" : "0x29",
"svcWaitForAddress" : 52, "svcWaitForAddress" : "0x34",
"svcSignalToAddress" : 53, "svcSignalToAddress" : "0x35",
"svcCreateSession" : 64, "svcCreateSession" : "0x40",
"svcAcceptSession" : 65, "svcAcceptSession" : "0x41",
"svcReplyAndReceiveLight" : 66, "svcReplyAndReceiveLight" : "0x42",
"svcReplyAndReceive" : 67, "svcReplyAndReceive" : "0x43",
"svcReplyAndReceiveWithUserBuffer" : 68, "svcReplyAndReceiveWithUserBuffer" : "0x44",
"svcGetMemoryInfo" : 111, "svcGetMemoryInfo" : "0x6F",
"svcCreatePort" : 112, "svcCreatePort" : "0x70",
"svcManageNamedPort" : 113, "svcManageNamedPort" : "0x71",
"svcConnectToPort" : 114 "svcConnectToPort" : "0x72"
} }
} }
} }