1
0
Fork 0

added remaining known syscall functions to Syscall_Table

This commit is contained in:
bunnei 2014-04-11 14:19:40 -04:00
parent 2bde8f2856
commit e9f0e4967d
1 changed files with 80 additions and 0 deletions

View File

@ -64,6 +64,86 @@ const HLE::FunctionDef Syscall_Table[] = {
{0x2B, NULL, "svcGetProcessInfo"}, {0x2B, NULL, "svcGetProcessInfo"},
{0x2C, NULL, "svcGetThreadInfo"}, {0x2C, NULL, "svcGetThreadInfo"},
{0x2D, WrapI_VC<SVC_ConnectToPort>, "svcConnectToPort"}, {0x2D, WrapI_VC<SVC_ConnectToPort>, "svcConnectToPort"},
{0x2E NULL, "svcSendSyncRequest1"},
{0x2F NULL, "svcSendSyncRequest2"},
{0x30 NULL, "svcSendSyncRequest3"},
{0x31 NULL, "svcSendSyncRequest4"},
{0x32 NULL, "svcSendSyncRequest"},
{0x33 NULL, "svcOpenProcess"},
{0x34 NULL, "svcOpenThread"},
{0x35 NULL, "svcGetProcessId"},
{0x36 NULL, "svcGetProcessIdOfThread"},
{0x37 NULL, "svcGetThreadId"},
{0x38 NULL, "svcGetResourceLimit"},
{0x39 NULL, "svcGetResourceLimitLimitValues"},
{0x3A NULL, "svcGetResourceLimitCurrentValues"},
{0x3B NULL, "svcGetThreadContext"},
{0x3C NULL, "svcBreak"},
{0x3D NULL, "svcOutputDebugString"},
{0x3E NULL, "svcControlPerformanceCounter"},
{0x3F, NULL, "Unknown"},
{0x40, NULL, "Unknown"},
{0x41, NULL, "Unknown"},
{0x42, NULL, "Unknown"},
{0x43, NULL, "Unknown"},
{0x44, NULL, "Unknown"},
{0x45, NULL, "Unknown"},
{0x46, NULL, "Unknown"},
{0x47 NULL, "svcCreatePort"},
{0x48 NULL, "svcCreateSessionToPort"},
{0x49 NULL, "svcCreateSession"},
{0x4A NULL, "svcAcceptSession"},
{0x4B NULL, "svcReplyAndReceive1"},
{0x4C NULL, "svcReplyAndReceive2"},
{0x4D NULL, "svcReplyAndReceive3"},
{0x4E NULL, "svcReplyAndReceive4"},
{0x4F NULL, "svcReplyAndReceive"},
{0x50 NULL, "svcBindInterrupt"},
{0x51 NULL, "svcUnbindInterrupt"},
{0x52 NULL, "svcInvalidateProcessDataCache"},
{0x53 NULL, "svcStoreProcessDataCache"},
{0x54 NULL, "svcFlushProcessDataCache"},
{0x55 NULL, "svcStartInterProcessDma"},
{0x56 NULL, "svcStopDma"},
{0x57 NULL, "svcGetDmaState"},
{0x58 NULL, "svcRestartDma"},
{0x59, NULL, "Unknown"},
{0x5A, NULL, "Unknown"},
{0x5B, NULL, "Unknown"},
{0x5C, NULL, "Unknown"},
{0x5D, NULL, "Unknown"},
{0x5E, NULL, "Unknown"},
{0x5F, NULL, "Unknown"},
{0x60 NULL, "svcDebugActiveProcess"},
{0x61 NULL, "svcBreakDebugProcess"},
{0x62 NULL, "svcTerminateDebugProcess"},
{0x63 NULL, "svcGetProcessDebugEvent"},
{0x64 NULL, "svcContinueDebugEvent"},
{0x65 NULL, "svcGetProcessList"},
{0x66 NULL, "svcGetThreadList"},
{0x67 NULL, "svcGetDebugThreadContext"},
{0x68 NULL, "svcSetDebugThreadContext"},
{0x69 NULL, "svcQueryDebugProcessMemory"},
{0x6A NULL, "svcReadProcessMemory"},
{0x6B NULL, "svcWriteProcessMemory"},
{0x6C NULL, "svcSetHardwareBreakPoint"},
{0x6D NULL, "svcGetDebugThreadParam"},
{0x6E, NULL, "Unknown"},
{0x6F, NULL, "Unknown"},
{0x70 NULL, "svcControlProcessMemory"},
{0x71 NULL, "svcMapProcessMemory"},
{0x72 NULL, "svcUnmapProcessMemory"},
{0x73, NULL, "Unknown"},
{0x74, NULL, "Unknown"},
{0x75, NULL, "Unknown"},
{0x76 NULL, "svcTerminateProcess"},
{0x77, NULL, "Unknown"},
{0x78 NULL, "svcCreateResourceLimit"},
{0x79, NULL, "Unknown"},
{0x7A, NULL, "Unknown"},
{0x7B, NULL, "Unknown"},
{0x7C NULL, "svcKernelSetState"},
{0x7D NULL, "svcQueryProcessMemory"},
}; };
void Register_Syscall() { void Register_Syscall() {