SVC: Difference between revisions

Neimod (talk | contribs)
No edit summary
Neimod (talk | contribs)
No edit summary
Line 1: Line 1:
List of SVC calls:
{| class="wikitable" border="1"
 
|-
* 0x1 | ControlMemory
!  Id
* 0x2 | QueryMemory
!  Description
* 0x3 | ExitProcess
|-
* 0x4 | GetProcessAffinityMask
| 0x1  
* 0x5 | SetProcessAffinityMask
| ControlMemory
* 0x6 | GetProcessIdealProcessor
|-
* 0x7 | SetProcessIdealProcessor
| 0x2  
* 0x8 | CreateThread
| QueryMemory
* 0x9 | ExitThread
|-
* 0xA | SleepThread
| 0x3  
* 0xB | GetThreadPriority
| ExitProcess
* 0xC | SetThreadPriority
|-
* 0xD | GetThreadAffinityMask
| 0x4  
* 0xE | SetThreadAffinityMask
| GetProcessAffinityMask
* 0xF | GetThreadIdealProcessor
|-
* 0x10 | SetThreadIdealProcessor
| 0x5  
* 0x11 | GetCurrentProcessorNumber
| SetProcessAffinityMask
* 0x12 | Run
|-
* 0x13 | CreateMutex
| 0x6  
* 0x14 | ReleaseMutex
| GetProcessIdealProcessor
* 0x15 | CreateSemaphore
|-
* 0x16 | ReleaseSemaphore
| 0x7  
* 0x17 | CreateEvent
| SetProcessIdealProcessor
* 0x18 | SignalEvent
|-
* 0x19 | ClearEvent
| 0x8  
* 0x1A | CreateTimer
| CreateThread
* 0x1B | SetTimer
|-
* 0x1C | CancelTimer
| 0x9  
* 0x1D | ClearTimer
| ExitThread
* 0x1E | CreateMemoryBlock
|-
* 0x1F | MapMemoryBlock
| 0xA  
* 0x20 | UnmapMemoryBlock
| SleepThread
* 0x21 | CreateAddressArbiter
|-
* 0x22 | ArbitrateAddress
| 0xB  
* 0x23 | CloseHandle
| GetThreadPriority
* 0x24 | WaitSynchronization1
|-
* 0x25 | WaitSynchronization2
| 0xC  
* 0x26 | SignalAndWait
| SetThreadPriority
* 0x27 | DuplicateHandle
|-
* 0x28 | GetSystemTick
| 0xD  
* 0x29 | GetHandleInfo
| GetThreadAffinityMask
* 0x2A | GetSystemInfo
|-
* 0x2B | GetProcessInfo
| 0xE  
* 0x2C | GetThreadInfo
| SetThreadAffinityMask
* 0x2D | ConnectToPort
|-
* 0x2E | SendSyncRequest1
| 0xF  
* 0x2F | SendSyncRequest2
| GetThreadIdealProcessor
* 0x30 | SendSyncRequest3
|-
* 0x31 | SendSyncRequest4
| 0x10  
* 0x32 | SendSyncRequest
| SetThreadIdealProcessor
* 0x33 | OpenProcess
|-
* 0x34 | OpenThread
| 0x11  
* 0x35 | GetProcessId
| GetCurrentProcessorNumber
* 0x36 | GetProcessIdOfThread
|-
* 0x37 | GetThreadId
| 0x12  
* 0x38 | GetResourceLimit
| Run
* 0x39 | GetResourceLimitLimitValues
|-
* 0x3A | GetResourceLimitCurrentValues
| 0x13  
* 0x3B | GetThreadContext
| CreateMutex
* 0x3C | Break(BreakReason)
|-
* 0x3D | OutputDebugString(void const*, int)
| 0x14  
* 0x3E | ControlPerformanceCounter(unsigned long long*, int, unsigned int, unsigned long long)
| ReleaseMutex
* 0x47 | CreatePort
|-
* 0x48 | CreateSessionToPort
| 0x15  
* 0x49 | CreateSession
| CreateSemaphore
* 0x4A | AcceptSession
|-
* 0x4B | ReplyAndReceive1
| 0x16  
* 0x4C | ReplyAndReceive2
| ReleaseSemaphore
* 0x4D | ReplyAndReceive3
|-
* 0x4E | ReplyAndReceive4
| 0x17  
* 0x4F | ReplyAndReceive
| CreateEvent
|-
| 0x18  
| SignalEvent
|-
| 0x19  
| ClearEvent
|-
| 0x1A  
| CreateTimer
|-
| 0x1B  
| SetTimer
|-
| 0x1C  
| CancelTimer
|-
| 0x1D  
| ClearTimer
|-
| 0x1E  
| CreateMemoryBlock
|-
| 0x1F  
| MapMemoryBlock
|-
| 0x20  
| UnmapMemoryBlock
|-
| 0x21  
| CreateAddressArbiter
|-
| 0x22  
| ArbitrateAddress
|-
| 0x23  
| CloseHandle
|-
| 0x24  
| WaitSynchronization1
|-
| 0x25  
| WaitSynchronization2
|-
| 0x26  
| SignalAndWait
|-
| 0x27  
| DuplicateHandle
|-
| 0x28  
| GetSystemTick
|-
| 0x29  
| GetHandleInfo
|-
| 0x2A  
| GetSystemInfo
|-
| 0x2B  
| GetProcessInfo
|-
| 0x2C  
| GetThreadInfo
|-
| 0x2D  
| ConnectToPort
|-
| 0x2E  
| SendSyncRequest1
|-
| 0x2F  
| SendSyncRequest2
|-
| 0x30  
| SendSyncRequest3
|-
| 0x31  
| SendSyncRequest4
|-
| 0x32  
| SendSyncRequest
|-
| 0x33  
| OpenProcess
|-
| 0x34  
| OpenThread
|-
| 0x35  
| GetProcessId
|-
| 0x36  
| GetProcessIdOfThread
|-
| 0x37  
| GetThreadId
|-
| 0x38  
| GetResourceLimit
|-
| 0x39  
| GetResourceLimitLimitValues
|-
| 0x3A  
| GetResourceLimitCurrentValues
|-
| 0x3B  
| GetThreadContext
|-
| 0x3C  
| Break(BreakReason)
|-
| 0x3D  
| OutputDebugString(void const, int)
|-
| 0x3E  
| ControlPerformanceCounter(unsigned long long, int, unsigned int, unsigned long long)
|-
| 0x47  
| CreatePort
|-
| 0x48  
| CreateSessionToPort
|-
| 0x49  
| CreateSession
|-
| 0x4A  
| AcceptSession
|-
| 0x4B  
| ReplyAndReceive1
|-
| 0x4C  
| ReplyAndReceive2
|-
| 0x4D  
| ReplyAndReceive3
|-
| 0x4E  
| ReplyAndReceive4
|-
| 0x4F  
| ReplyAndReceive
|-
| 0x53
| StoreProcessDataCache(Handle, void const*, unsigned int)
|}