Each type's size in the 32-bit and the 64-bit ABI, and what a handler takes it as (-: a structure no handler takes yet).
| Type | 32-bit | 64-bit | Handler |
|---|---|---|---|
| void | 0 | 0 | void |
| bool | 1 | 1 | u8 |
| int32_t | 4 | 4 | i32 |
| int64_t | 8 | 8 | i64 |
| uint32_t | 4 | 4 | u32 |
| uint64_t | 8 | 8 | u64 |
| Result | 4 | 4 | u32 |
| Handle | 4 | 4 | u32 |
| Address | 4 | 8 | u64 |
| Size | 4 | 8 | u64 |
| ThreadFunc | 4 | 8 | u64 |
| PhysicalAddress | 8 | 8 | u64 |
| ArbitrationType | 4 | 4 | u32 |
| BreakReason | 4 | 4 | u32 |
| CodeMemoryOperation | 4 | 4 | u32 |
| DebugThreadParam | 4 | 4 | u32 |
| DeviceName | 4 | 4 | u32 |
| HardwareBreakPointRegisterName | 4 | 4 | u32 |
| InfoType | 4 | 4 | u32 |
| InterruptType | 4 | 4 | u32 |
| IoPoolType | 4 | 4 | u32 |
| KernelDebugType | 4 | 4 | u32 |
| KernelTraceState | 4 | 4 | u32 |
| LimitableResource | 4 | 4 | u32 |
| MemoryMapping | 4 | 4 | u32 |
| MemoryPermission | 4 | 4 | u32 |
| PageInfo | 4 | 4 | u32 |
| ProcessActivity | 4 | 4 | u32 |
| ProcessInfoType | 4 | 4 | u32 |
| SignalType | 4 | 4 | u32 |
| SystemInfoType | 4 | 4 | u32 |
| ThreadActivity | 4 | 4 | u32 |
| LastThreadContext | 16 | 32 | - |
| PhysicalMemoryInfo | 16 | 24 | - |
| SecureMonitorArguments | 32 | 64 | - |
Made from ScarletNX's Sail at 166ad3910f80. The hooks' and the SVCs' declarations and their handlers are ScarletNX's (GPL-3.0-or-later); the SVCs' declarations are Eden's, as hos.svc says.