1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-12-18 08:22:04 +00:00

stratosphere: grant access to SynchronizePreemptionState

This commit is contained in:
Michael Scire 2021-09-29 14:18:03 -07:00
parent 6b438c7adf
commit c949779b3d
21 changed files with 80 additions and 59 deletions

View file

@ -70,6 +70,7 @@
"svcGetInfo": "0x29", "svcGetInfo": "0x29",
"svcWaitForAddress": "0x34", "svcWaitForAddress": "0x34",
"svcSignalToAddress": "0x35", "svcSignalToAddress": "0x35",
"svcSynchronizePreemptionState": "0x36",
"svcCreateSession": "0x40", "svcCreateSession": "0x40",
"svcAcceptSession": "0x41", "svcAcceptSession": "0x41",
"svcReplyAndReceiveLight": "0x42", "svcReplyAndReceiveLight": "0x42",

View file

@ -71,6 +71,7 @@
"svcGetInfo": "0x29", "svcGetInfo": "0x29",
"svcWaitForAddress": "0x34", "svcWaitForAddress": "0x34",
"svcSignalToAddress": "0x35", "svcSignalToAddress": "0x35",
"svcSynchronizePreemptionState": "0x36",
"svcCallSecureMonitor": "0x7f" "svcCallSecureMonitor": "0x7f"
} }
}, { }, {

View file

@ -58,6 +58,7 @@
"svcGetInfo": "0x29", "svcGetInfo": "0x29",
"svcWaitForAddress": "0x34", "svcWaitForAddress": "0x34",
"svcSignalToAddress": "0x35", "svcSignalToAddress": "0x35",
"svcSynchronizePreemptionState": "0x36",
"svcCreateSession": "0x40", "svcCreateSession": "0x40",
"svcAcceptSession": "0x41", "svcAcceptSession": "0x41",
"svcReplyAndReceiveLight": "0x42", "svcReplyAndReceiveLight": "0x42",

View file

@ -58,6 +58,7 @@
"svcGetInfo": "0x29", "svcGetInfo": "0x29",
"svcWaitForAddress": "0x34", "svcWaitForAddress": "0x34",
"svcSignalToAddress": "0x35", "svcSignalToAddress": "0x35",
"svcSynchronizePreemptionState": "0x36",
"svcReadWriteRegister": "0x4E", "svcReadWriteRegister": "0x4E",
"svcCreateInterruptEvent": "0x53", "svcCreateInterruptEvent": "0x53",
"svcQueryIoMapping": "0x55", "svcQueryIoMapping": "0x55",

View file

@ -73,6 +73,7 @@
"svcGetInfo": "0x29", "svcGetInfo": "0x29",
"svcWaitForAddress": "0x34", "svcWaitForAddress": "0x34",
"svcSignalToAddress": "0x35", "svcSignalToAddress": "0x35",
"svcSynchronizePreemptionState": "0x36",
"svcCreateSession": "0x40", "svcCreateSession": "0x40",
"svcAcceptSession": "0x41", "svcAcceptSession": "0x41",
"svcReplyAndReceiveLight": "0x42", "svcReplyAndReceiveLight": "0x42",

View file

@ -85,6 +85,7 @@
"svcGetInfo": "0x29", "svcGetInfo": "0x29",
"svcWaitForAddress": "0x34", "svcWaitForAddress": "0x34",
"svcSignalToAddress": "0x35", "svcSignalToAddress": "0x35",
"svcSynchronizePreemptionState": "0x36",
"svcCreateSession": "0x40", "svcCreateSession": "0x40",
"svcAcceptSession": "0x41", "svcAcceptSession": "0x41",
"svcReplyAndReceiveLight": "0x42", "svcReplyAndReceiveLight": "0x42",

View file

@ -71,6 +71,7 @@
"svcGetInfo": "0x29", "svcGetInfo": "0x29",
"svcWaitForAddress": "0x34", "svcWaitForAddress": "0x34",
"svcSignalToAddress": "0x35", "svcSignalToAddress": "0x35",
"svcSynchronizePreemptionState": "0x36",
"svcCreateSession": "0x40", "svcCreateSession": "0x40",
"svcAcceptSession": "0x41", "svcAcceptSession": "0x41",
"svcReplyAndReceiveLight": "0x42", "svcReplyAndReceiveLight": "0x42",

View file

@ -71,6 +71,7 @@
"svcGetInfo": "0x29", "svcGetInfo": "0x29",
"svcWaitForAddress": "0x34", "svcWaitForAddress": "0x34",
"svcSignalToAddress": "0x35", "svcSignalToAddress": "0x35",
"svcSynchronizePreemptionState": "0x36",
"svcCreateSession": "0x40", "svcCreateSession": "0x40",
"svcAcceptSession": "0x41", "svcAcceptSession": "0x41",
"svcReplyAndReceiveLight": "0x42", "svcReplyAndReceiveLight": "0x42",

View file

@ -91,6 +91,7 @@
"svcGetInfo": "0x29", "svcGetInfo": "0x29",
"svcWaitForAddress": "0x34", "svcWaitForAddress": "0x34",
"svcSignalToAddress": "0x35", "svcSignalToAddress": "0x35",
"svcSynchronizePreemptionState": "0x36",
"svcCreateSession": "0x40", "svcCreateSession": "0x40",
"svcAcceptSession": "0x41", "svcAcceptSession": "0x41",
"svcReplyAndReceiveLight": "0x42", "svcReplyAndReceiveLight": "0x42",

View file

@ -73,6 +73,7 @@
"svcGetInfo": "0x29", "svcGetInfo": "0x29",
"svcWaitForAddress": "0x34", "svcWaitForAddress": "0x34",
"svcSignalToAddress": "0x35", "svcSignalToAddress": "0x35",
"svcSynchronizePreemptionState": "0x36",
"svcCreateSession": "0x40", "svcCreateSession": "0x40",
"svcAcceptSession": "0x41", "svcAcceptSession": "0x41",
"svcReplyAndReceiveLight": "0x42", "svcReplyAndReceiveLight": "0x42",

View file

@ -72,6 +72,7 @@
"svcWaitForAddress": "0x34", "svcWaitForAddress": "0x34",
"svcGetResourceLimitLimitValue": "0x30", "svcGetResourceLimitLimitValue": "0x30",
"svcSignalToAddress": "0x35", "svcSignalToAddress": "0x35",
"svcSynchronizePreemptionState": "0x36",
"svcGetResourceLimitPeakValue": "0x37", "svcGetResourceLimitPeakValue": "0x37",
"svcCreateSession": "0x40", "svcCreateSession": "0x40",
"svcAcceptSession": "0x41", "svcAcceptSession": "0x41",

View file

@ -71,6 +71,7 @@
"svcGetInfo": "0x29", "svcGetInfo": "0x29",
"svcWaitForAddress": "0x34", "svcWaitForAddress": "0x34",
"svcSignalToAddress": "0x35", "svcSignalToAddress": "0x35",
"svcSynchronizePreemptionState": "0x36",
"svcCreateSession": "0x40", "svcCreateSession": "0x40",
"svcAcceptSession": "0x41", "svcAcceptSession": "0x41",
"svcReplyAndReceiveLight": "0x42", "svcReplyAndReceiveLight": "0x42",

View file

@ -71,6 +71,7 @@
"svcGetInfo": "0x29", "svcGetInfo": "0x29",
"svcWaitForAddress": "0x34", "svcWaitForAddress": "0x34",
"svcSignalToAddress": "0x35", "svcSignalToAddress": "0x35",
"svcSynchronizePreemptionState": "0x36",
"svcCreateSession": "0x40", "svcCreateSession": "0x40",
"svcAcceptSession": "0x41", "svcAcceptSession": "0x41",
"svcReplyAndReceiveLight": "0x42", "svcReplyAndReceiveLight": "0x42",

View file

@ -71,6 +71,7 @@
"svcGetInfo": "0x29", "svcGetInfo": "0x29",
"svcWaitForAddress": "0x34", "svcWaitForAddress": "0x34",
"svcSignalToAddress": "0x35", "svcSignalToAddress": "0x35",
"svcSynchronizePreemptionState": "0x36",
"svcCreateSession": "0x40", "svcCreateSession": "0x40",
"svcAcceptSession": "0x41", "svcAcceptSession": "0x41",
"svcReplyAndReceiveLight": "0x42", "svcReplyAndReceiveLight": "0x42",

View file

@ -15,64 +15,65 @@
{ {
"type": "syscalls", "type": "syscalls",
"value": { "value": {
"svcSetHeapSize" : "0x01", "svcSetHeapSize" : "0x01",
"svcSetMemoryPermission" : "0x02", "svcSetMemoryPermission" : "0x02",
"svcSetMemoryAttribute" : "0x03", "svcSetMemoryAttribute" : "0x03",
"svcMapMemory" : "0x04", "svcMapMemory" : "0x04",
"svcUnmapMemory" : "0x05", "svcUnmapMemory" : "0x05",
"svcQueryMemory" : "0x06", "svcQueryMemory" : "0x06",
"svcExitProcess" : "0x07", "svcExitProcess" : "0x07",
"svcCreateThread" : "0x08", "svcCreateThread" : "0x08",
"svcStartThread" : "0x09", "svcStartThread" : "0x09",
"svcExitThread" : "0x0A", "svcExitThread" : "0x0A",
"svcSleepThread" : "0x0B", "svcSleepThread" : "0x0B",
"svcGetThreadPriority" : "0x0C", "svcGetThreadPriority" : "0x0C",
"svcSetThreadPriority" : "0x0D", "svcSetThreadPriority" : "0x0D",
"svcGetThreadCoreMask" : "0x0E", "svcGetThreadCoreMask" : "0x0E",
"svcSetThreadCoreMask" : "0x0F", "svcSetThreadCoreMask" : "0x0F",
"svcGetCurrentProcessorNumber" : "0x10", "svcGetCurrentProcessorNumber" : "0x10",
"svcSignalEvent" : "0x11", "svcSignalEvent" : "0x11",
"svcClearEvent" : "0x12", "svcClearEvent" : "0x12",
"svcMapSharedMemory" : "0x13", "svcMapSharedMemory" : "0x13",
"svcUnmapSharedMemory" : "0x14", "svcUnmapSharedMemory" : "0x14",
"svcCreateTransferMemory" : "0x15", "svcCreateTransferMemory" : "0x15",
"svcCloseHandle" : "0x16", "svcCloseHandle" : "0x16",
"svcResetSignal" : "0x17", "svcResetSignal" : "0x17",
"svcWaitSynchronization" : "0x18", "svcWaitSynchronization" : "0x18",
"svcCancelSynchronization" : "0x19", "svcCancelSynchronization" : "0x19",
"svcArbitrateLock" : "0x1A", "svcArbitrateLock" : "0x1A",
"svcArbitrateUnlock" : "0x1B", "svcArbitrateUnlock" : "0x1B",
"svcWaitProcessWideKeyAtomic" : "0x1C", "svcWaitProcessWideKeyAtomic" : "0x1C",
"svcSignalProcessWideKey" : "0x1D", "svcSignalProcessWideKey" : "0x1D",
"svcGetSystemTick" : "0x1E", "svcGetSystemTick" : "0x1E",
"svcConnectToNamedPort" : "0x1F", "svcConnectToNamedPort" : "0x1F",
"svcSendSyncRequestLight" : "0x20", "svcSendSyncRequestLight" : "0x20",
"svcSendSyncRequest" : "0x21", "svcSendSyncRequest" : "0x21",
"svcSendSyncRequestWithUserBuffer" : "0x22", "svcSendSyncRequestWithUserBuffer" : "0x22",
"svcSendAsyncRequestWithUserBuffer" : "0x23", "svcSendAsyncRequestWithUserBuffer" : "0x23",
"svcGetProcessId" : "0x24", "svcGetProcessId" : "0x24",
"svcGetThreadId" : "0x25", "svcGetThreadId" : "0x25",
"svcBreak" : "0x26", "svcBreak" : "0x26",
"svcOutputDebugString" : "0x27", "svcOutputDebugString" : "0x27",
"svcReturnFromException" : "0x28", "svcReturnFromException" : "0x28",
"svcGetInfo" : "0x29", "svcGetInfo" : "0x29",
"svcWaitForAddress" : "0x34", "svcWaitForAddress" : "0x34",
"svcSignalToAddress" : "0x35", "svcSignalToAddress" : "0x35",
"svcCreateSession" : "0x40", "svcSynchronizePreemptionState" : "0x36",
"svcAcceptSession" : "0x41", "svcCreateSession" : "0x40",
"svcReplyAndReceiveLight" : "0x42", "svcAcceptSession" : "0x41",
"svcReplyAndReceive" : "0x43", "svcReplyAndReceiveLight" : "0x42",
"svcReplyAndReceiveWithUserBuffer" : "0x44", "svcReplyAndReceive" : "0x43",
"svcCreateEvent" : "0x45", "svcReplyAndReceiveWithUserBuffer" : "0x44",
"svcReadWriteRegister" : "0x4E", "svcCreateEvent" : "0x45",
"svcQueryIoMapping" : "0x55", "svcReadWriteRegister" : "0x4E",
"svcSetProcessMemoryPermission" : "0x73", "svcQueryIoMapping" : "0x55",
"svcMapProcessMemory" : "0x74", "svcSetProcessMemoryPermission" : "0x73",
"svcUnmapProcessMemory" : "0x75", "svcMapProcessMemory" : "0x74",
"svcMapProcessCodeMemory" : "0x77", "svcUnmapProcessMemory" : "0x75",
"svcUnmapProcessCodeMemory" : "0x78", "svcMapProcessCodeMemory" : "0x77",
"svcCreateProcess" : "0x79", "svcUnmapProcessCodeMemory" : "0x78",
"svcCallSecureMonitor": "0x7F" "svcCreateProcess" : "0x79",
"svcCallSecureMonitor" : "0x7F"
} }
} }
] ]

View file

@ -57,6 +57,7 @@
"svcGetInfo" : "0x29", "svcGetInfo" : "0x29",
"svcWaitForAddress" : "0x34", "svcWaitForAddress" : "0x34",
"svcSignalToAddress" : "0x35", "svcSignalToAddress" : "0x35",
"svcSynchronizePreemptionState" : "0x36",
"svcCreateSession" : "0x40", "svcCreateSession" : "0x40",
"svcAcceptSession" : "0x41", "svcAcceptSession" : "0x41",
"svcReplyAndReceiveLight" : "0x42", "svcReplyAndReceiveLight" : "0x42",

View file

@ -71,6 +71,7 @@
"svcGetInfo": "0x29", "svcGetInfo": "0x29",
"svcWaitForAddress": "0x34", "svcWaitForAddress": "0x34",
"svcSignalToAddress": "0x35", "svcSignalToAddress": "0x35",
"svcSynchronizePreemptionState": "0x36",
"svcCreateSession": "0x40", "svcCreateSession": "0x40",
"svcAcceptSession": "0x41", "svcAcceptSession": "0x41",
"svcReplyAndReceiveLight": "0x42", "svcReplyAndReceiveLight": "0x42",

View file

@ -60,6 +60,7 @@
"svcGetResourceLimitCurrentValue": "0x31", "svcGetResourceLimitCurrentValue": "0x31",
"svcWaitForAddress": "0x34", "svcWaitForAddress": "0x34",
"svcSignalToAddress": "0x35", "svcSignalToAddress": "0x35",
"svcSynchronizePreemptionState": "0x36",
"svcCreateSession": "0x40", "svcCreateSession": "0x40",
"svcAcceptSession": "0x41", "svcAcceptSession": "0x41",
"svcReplyAndReceiveLight": "0x42", "svcReplyAndReceiveLight": "0x42",

View file

@ -71,6 +71,7 @@
"svcGetInfo": "0x29", "svcGetInfo": "0x29",
"svcWaitForAddress": "0x34", "svcWaitForAddress": "0x34",
"svcSignalToAddress": "0x35", "svcSignalToAddress": "0x35",
"svcSynchronizePreemptionState": "0x36",
"svcCreateSession": "0x40", "svcCreateSession": "0x40",
"svcAcceptSession": "0x41", "svcAcceptSession": "0x41",
"svcReplyAndReceiveLight": "0x42", "svcReplyAndReceiveLight": "0x42",

View file

@ -58,6 +58,7 @@
"svcGetInfo" : "0x29", "svcGetInfo" : "0x29",
"svcWaitForAddress" : "0x34", "svcWaitForAddress" : "0x34",
"svcSignalToAddress" : "0x35", "svcSignalToAddress" : "0x35",
"svcSynchronizePreemptionState" : "0x36",
"svcCreateSession" : "0x40", "svcCreateSession" : "0x40",
"svcAcceptSession" : "0x41", "svcAcceptSession" : "0x41",
"svcReplyAndReceiveLight" : "0x42", "svcReplyAndReceiveLight" : "0x42",
@ -68,7 +69,7 @@
"svcCreatePort" : "0x70", "svcCreatePort" : "0x70",
"svcManageNamedPort" : "0x71", "svcManageNamedPort" : "0x71",
"svcConnectToPort" : "0x72", "svcConnectToPort" : "0x72",
"svcCallSecureMonitor": "0x7F" "svcCallSecureMonitor" : "0x7F"
} }
} }
] ]

View file

@ -59,6 +59,7 @@
"svcGetInfo": "0x29", "svcGetInfo": "0x29",
"svcWaitForAddress": "0x34", "svcWaitForAddress": "0x34",
"svcSignalToAddress": "0x35", "svcSignalToAddress": "0x35",
"svcSynchronizePreemptionState": "0x36",
"svcCreateSession": "0x40", "svcCreateSession": "0x40",
"svcAcceptSession": "0x41", "svcAcceptSession": "0x41",
"svcReplyAndReceiveLight": "0x42", "svcReplyAndReceiveLight": "0x42",