Line 247: |
Line 247: |
| ! Argument || Type || Name | | ! Argument || Type || Name |
| |- | | |- |
− | | (In) X0 || u64 || <code>Addr</code> | + | | (In) X0 || void* || <code>Addr</code> |
| |- | | |- |
| | (In) X1 || u64 || <code>Size</code> | | | (In) X1 || u64 || <code>Size</code> |
Line 270: |
Line 270: |
| ! Argument || Type || Name | | ! Argument || Type || Name |
| |- | | |- |
− | | (In) X0 || u64 || <code>Addr</code> | + | | (In) X0 || void* || <code>Addr</code> |
| |- | | |- |
| | (In) X1 || u64 || <code>Size</code> | | | (In) X1 || u64 || <code>Size</code> |
Line 305: |
Line 305: |
| ! Argument || Type || Name | | ! Argument || Type || Name |
| |- | | |- |
− | | (In) X0 || u64 || <code>Dst</code> | + | | (In) X0 || void* || <code>DstAddr</code> |
| |- | | |- |
− | | (In) X1 || u64 || <code>Src</code> | + | | (In) X1 || void* || <code>SrcAddr</code> |
| |- | | |- |
| | (In) X2 || u64 || <code>Size</code> | | | (In) X2 || u64 || <code>Size</code> |
Line 338: |
Line 338: |
| ! Argument || Type || Name | | ! Argument || Type || Name |
| |- | | |- |
− | | (In) X0 || u64 || <code>Dst</code> | + | | (In) X0 || void* || <code>DstAddr</code> |
| |- | | |- |
− | | (In) X1 || u64 || <code>Src</code> | + | | (In) X1 || void* || <code>SrcAddr</code> |
| |- | | |- |
| | (In) X2 || u64 || <code>Size</code> | | | (In) X2 || u64 || <code>Size</code> |
Line 363: |
Line 363: |
| | (In) X0 || [[#MemoryInfo]]* || <code>MemInfo</code> | | | (In) X0 || [[#MemoryInfo]]* || <code>MemInfo</code> |
| |- | | |- |
− | | (In) X2 || u64 || <code>Addr</code> | + | | (In) X2 || void* || <code>Addr</code> |
| |- | | |- |
| | (Out) W0 || [[#Result]] || <code>Ret</code> | | | (Out) W0 || [[#Result]] || <code>Ret</code> |
Line 397: |
Line 397: |
| ! Argument || Type || Name | | ! Argument || Type || Name |
| |- | | |- |
− | | (In) X1 || u64 || <code>Entry</code> | + | | (In) X1 || void(*)(void*) || <code>Entry</code> |
| |- | | |- |
− | | (In) X2 || u64 || <code>Arg</code> | + | | (In) X2 || void* || <code>Arg</code> |
| |- | | |- |
− | | (In) X3 || u64 || <code>StackTop</code> | + | | (In) X3 || void* || <code>StackTop</code> |
| |- | | |- |
| | (In) W4 || u32 || <code>Priority</code> | | | (In) W4 || u32 || <code>Priority</code> |
Line 424: |
Line 424: |
| ! Argument || Type || Name | | ! Argument || Type || Name |
| |- | | |- |
− | | (In) W0 || Handle<KThread> || <code>Handle</code> | + | | (In) W0 || Handle<Thread> || <code>Handle</code> |
| |- | | |- |
| | (Out) None || || | | | (Out) None || || |
Line 564: |
Line 564: |
| | (In) W0 || Handle<SharedMemory> || <code>MemHandle</code> | | | (In) W0 || Handle<SharedMemory> || <code>MemHandle</code> |
| |- | | |- |
− | | (In) X1 || u64 || <code>Addr</code> | + | | (In) X1 || void* || <code>Addr</code> |
| |- | | |- |
| | (In) X2 || u64 || <code>Size</code> | | | (In) X2 || u64 || <code>Size</code> |
Line 585: |
Line 585: |
| ! Argument || Type || Name | | ! Argument || Type || Name |
| |- | | |- |
− | | (In) X1 || u64 || <code>Addr</code> | + | | (In) X1 || void* || <code>Addr</code> |
| |- | | |- |
| | (In) X2 || u64 || <code>Size</code> | | | (In) X2 || u64 || <code>Size</code> |
Line 633: |
Line 633: |
| ! Argument || Type || Name | | ! Argument || Type || Name |
| |- | | |- |
− | | (In) X0 || u64 || <code>CmdPtr</code> | + | | (In) X0 || void* || <code>CmdPtr</code> |
| |- | | |- |
| | (In) X1 || u64 || <code>Size</code> | | | (In) X1 || u64 || <code>Size</code> |
Line 745: |
Line 745: |
| ! Argument || Type || Name | | ! Argument || Type || Name |
| |- | | |- |
− | | (In) X1 || u64 || <code>Reg Addr</code> | + | | (In) X1 || u64 || <code>RegAddr</code> |
| |- | | |- |
− | | (In) W2 || u64 || <code>RW Mask</code> | + | | (In) W2 || u64 || <code>RwMask</code> |
| |- | | |- |
− | | (In) W3 || u64 || <code>In Value</code> | + | | (In) W3 || u64 || <code>InValue</code> |
| |- | | |- |
| | (Out) W0 || [[#Result]] || <code>Ret</code> | | | (Out) W0 || [[#Result]] || <code>Ret</code> |
| |- | | |- |
− | | (Out) W1|| u64 || <code>Out Value</code> | + | | (Out) W1|| u64 || <code>OutValue</code> |
| |} | | |} |
| </div> | | </div> |
Line 783: |
Line 783: |
| | (In) W1 || u64 || <code>Size</code> | | | (In) W1 || u64 || <code>Size</code> |
| |- | | |- |
− | | (In) W2 || u64 || <code>My Permissions</code> | + | | (In) W2 || [[#Permission]] || <code>LocalPerm</code> |
| |- | | |- |
− | | (In) W3 || u64 || <code>Other Permissions</code> | + | | (In) W3 || [[#Permission]] || <code>RemotePerm</code> |
| |- | | |- |
| | (Out) W0 || [[#Result]] || <code>Ret</code> | | | (Out) W0 || [[#Result]] || <code>Ret</code> |
| |- | | |- |
− | | (Out) W1|| u64 || <code>Shared Memory Handle</code> | + | | (Out) W1 || Handle<SharedMemory> || <code>MemHandle</code> |
| |} | | |} |
| </div> | | </div> |
Line 802: |
Line 802: |
| ! Argument || Type || Name | | ! Argument || Type || Name |
| |- | | |- |
− | | (In) X0 || u64 || <code>Transfer Mem Handle</code> | + | | (In) X0 || Handle<TransferMemory> || <code>MemHandle</code> |
| |- | | |- |
− | | (In) X1 || u64 || <code>Addr</code> | + | | (In) X1 || void* || <code>Addr</code> |
| |- | | |- |
| | (In) X2 || u64 || <code>Size</code> | | | (In) X2 || u64 || <code>Size</code> |
| |- | | |- |
− | | (In) W3 || u64 || <code>Permissions</code> | + | | (In) W3 || [[#Permission]] || <code>Permissions</code> |
| |- | | |- |
| | (Out) W0 || [[#Result]] || <code>Ret</code> | | | (Out) W0 || [[#Result]] || <code>Ret</code> |
Line 825: |
Line 825: |
| ! Argument || Type || Name | | ! Argument || Type || Name |
| |- | | |- |
− | | (In) X0 || u64 || <code>Transfer Mem Handle</code> | + | | (In) X0 || Handle<TransferMemory> || <code>MemHandle</code> |
| |- | | |- |
− | | (In) X1 || u64 || <code>Addr</code> | + | | (In) X1 || void* || <code>Addr</code> |
| |- | | |- |
| | (In) X2 || u64 || <code>Size</code> | | | (In) X2 || u64 || <code>Size</code> |
Line 865: |
Line 865: |
| ! Argument || Type || Name | | ! Argument || Type || Name |
| |- | | |- |
− | | (In) X1 || u64 || <code>Physical Address</code> | + | | (In) X1 || u64 || <code>PhysAddr</code> |
| |- | | |- |
| | (In) X2 || u64 || <code>Size</code> | | | (In) X2 || u64 || <code>Size</code> |
Line 871: |
Line 871: |
| | (Out) W0 || [[#Result]] || <code>Ret</code> | | | (Out) W0 || [[#Result]] || <code>Ret</code> |
| |- | | |- |
− | | (Out) X1 || u64 || <code>Virtual Address</code> | + | | (Out) X1 || void* || <code>VirtAddr</code> |
| |} | | |} |
| </div> | | </div> |
Line 884: |
Line 884: |
| ! Argument || Type || Name | | ! Argument || Type || Name |
| |- | | |- |
− | | (In) X1 || u64 || <code>Device as Start Addr</code> | + | | (In) X1 || u64 || <code>StartAddr</code> |
| |- | | |- |
− | | (In) X2 || u64 || <code>Device as End Addr</code> | + | | (In) X2 || u64 || <code>EndAddr</code> |
| |- | | |- |
| | (Out) W0 || [[#Result]] || <code>Ret</code> | | | (Out) W0 || [[#Result]] || <code>Ret</code> |
| |- | | |- |
− | | (Out) W1 || u64 || <code>Device as Handle</code> | + | | (Out) W1 || Handle<DeviceAddressSpace> || <code>AddressSpaceHandle</code> |
| |} | | |} |
| </div> | | </div> |
Line 905: |
Line 905: |
| ! Argument || Type || Name | | ! Argument || Type || Name |
| |- | | |- |
− | | (In) W0 || u64 || <code>Device</code> | + | | (In) W0 || [[#DeviceName]] || <code>DeviceId</code> |
| |- | | |- |
− | | (In) X1 || u64 || <code>Device as Handle</code> | + | | (In) X1 || Handle<DeviceAddressSpace> || <code>DeviceAsHandle</code> |
| |- | | |- |
| | (Out) W0 || [[#Result]] || <code>Ret</code> | | | (Out) W0 || [[#Result]] || <code>Ret</code> |
Line 922: |
Line 922: |
| ! Argument || Type || Name | | ! Argument || Type || Name |
| |- | | |- |
− | | (In) W0 || u64 || <code>Device</code> | + | | (In) W0 || [[#DeviceName]] || <code>DeviceId</code> |
| |- | | |- |
− | | (In) X1 || u64 || <code>Device as Handle</code> | + | | (In) X1 || Handle<DeviceAddressSpace> || <code>DeviceAsHandle</code> |
| |- | | |- |
| | (Out) W0 || [[#Result]] || <code>Ret</code> | | | (Out) W0 || [[#Result]] || <code>Ret</code> |
Line 939: |
Line 939: |
| ! Argument || Type || Name | | ! Argument || Type || Name |
| |- | | |- |
− | | (In) W0 || u64 || <code>Device as Handle</code> | + | | (In) W0 || Handle<DeviceAddressSpace> || <code>DeviceAsHandle</code> |
| |- | | |- |
− | | (In) W1 || u64 || <code>Process Handle</code> | + | | (In) W1 || Handle<Process> || <code>ProcessHandle</code> |
| |- | | |- |
− | | (In) X2 || u64 || <code>Device Map Addr</code> | + | | (In) X2 || void* || <code>SrcAddr</code> |
| |- | | |- |
− | | (In) X3 || u64 || <code>Device as Size</code> | + | | (In) X3 || u64 || <code>DeviceAsSize</code> |
| |- | | |- |
− | | (In) X4 || u64 || <code>Device as Addr</code> | + | | (In) X4 || u64 || <code>DeviceAsAddr</code> |
| |- | | |- |
− | | (In) W5 || u64 || <code>Permissions</code> | + | | (In) W5 || [[#Permission]] || <code>Permissions</code> |
| |- | | |- |
| | (Out) W0 || [[#Result]] || <code>Ret</code> | | | (Out) W0 || [[#Result]] || <code>Ret</code> |
Line 968: |
Line 968: |
| ! Argument || Type || Name | | ! Argument || Type || Name |
| |- | | |- |
− | | (In) W0 || u64 || <code>Device as Handle</code> | + | | (In) W0 || Handle<DeviceAddressSpace> || <code>DeviceAsHandle</code> |
| |- | | |- |
− | | (In) W1 || u64 || <code>Process Handle</code> | + | | (In) W1 || Handle<Process> || <code>ProcessHandle</code> |
| |- | | |- |
− | | (In) X2 || u64 || <code>Device Map Addr</code> | + | | (In) X2 || void* || <code>SrcAddr</code> |
| |- | | |- |
− | | (In) X3 || u64 || <code>Device as Size</code> | + | | (In) X3 || u64 || <code>DeviceAsSize</code> |
| |- | | |- |
− | | (In) X4 || u64 || <code>Device as Addr</code> | + | | (In) X4 || u64 || <code>DeviceAsAddr</code> |
| |- | | |- |
− | | (In) W5 || u64 || <code>Permissions</code> | + | | (In) W5 || [[#Permission]] || <code>Permissions</code> |
| |- | | |- |
| | (Out) W0 || [[#Result]] || <code>Ret</code> | | | (Out) W0 || [[#Result]] || <code>Ret</code> |
Line 995: |
Line 995: |
| ! Argument || Type || Name | | ! Argument || Type || Name |
| |- | | |- |
− | | (In) W0 || u64 || <code>Device as Handle</code> | + | | (In) W0 || Handle<DeviceAddressSpace> || <code>DeviceAsHandle</code> |
| |- | | |- |
− | | (In) W1 || u64 || <code>Process Handle</code> | + | | (In) W1 || Handle<Process> || <code>ProcessHandle</code> |
| |- | | |- |
− | | (In) X2 || u64 || <code>Device Map Addr</code> | + | | (In) X2 || void* || <code>SrcAddr</code> |
| |- | | |- |
− | | (In) X3 || u64 || <code>Device as Size</code> | + | | (In) X3 || u64 || <code>DeviceAsSize</code> |
| |- | | |- |
− | | (In) X4 || u64 || <code>Device as Addr</code> | + | | (In) X4 || u64 || <code>DeviceAsAddr</code> |
| |- | | |- |
| | (Out) W0 || [[#Result]] || <code>Ret</code> | | | (Out) W0 || [[#Result]] || <code>Ret</code> |
Line 1,018: |
Line 1,018: |
| ! Argument || Type || Name | | ! Argument || Type || Name |
| |- | | |- |
− | | (In) X0 || u64 || <code>Src Addr</code> | + | | (In) X0 || u64 || <code>SrcAddr</code> |
| |- | | |- |
− | | (In) W1 || u64 || <code>Process Handle</code> | + | | (In) W1 || u64 || <code>ProcessHandle</code> |
| |- | | |- |
− | | (In) X2 || u64 || <code>Dest Addr</code> | + | | (In) X2 || void* || <code>DstAddr</code> |
| |- | | |- |
| | (In) X3 || u64 || <code>Size</code> | | | (In) X3 || u64 || <code>Size</code> |
Line 1,041: |
Line 1,041: |
| ! Argument || Type || Name | | ! Argument || Type || Name |
| |- | | |- |
− | | (In) W0 || u64 || <code>Process Handle</code> | + | | (In) W0 || Handle<Process> || <code>ProcessHandle</code> |
| |- | | |- |
− | | (In) X1 || u64 || <code>Dest Addr</code> | + | | (In) X1 || void* || <code>DstAddr</code> |
| |- | | |- |
− | | (In) X2 || u64 || <code>Src Addr</code> | + | | (In) X2 || u64 || <code>SrcAddr</code> |
| |- | | |- |
| | (In) X3 || u64 || <code>Size</code> | | | (In) X3 || u64 || <code>Size</code> |
Line 1,062: |
Line 1,062: |
| ! Argument || Type || Name | | ! Argument || Type || Name |
| |- | | |- |
− | | (In) X0 || u64 || <code>MemInfoPtr</code> | + | | (In) X0 || [[#MemoryInfo]]* || <code>MemInfoPtr</code> |
| |- | | |- |
| | (In) W2 || Handle<Process> || <code>ProcessHandle</code> | | | (In) W2 || Handle<Process> || <code>ProcessHandle</code> |
Line 1,083: |
Line 1,083: |
| ! Argument || Type || Name | | ! Argument || Type || Name |
| |- | | |- |
− | | (In) W0 || u64 || <code>Process Handle</code> | + | | (In) W0 || Handle<Process> || <code>ProcessHandle</code> |
| |- | | |- |
− | | (In) X1 || u64 || <code>Dest Addr</code> | + | | (In) X1 || u64 || <code>DstAddr</code> |
| |- | | |- |
− | | (In) X2 || u64 || <code>Src Addr</code> | + | | (In) X2 || u64 || <code>SrcAddr</code> |
| |- | | |- |
| | (In) X3 || u64 || <code>Size</code> | | | (In) X3 || u64 || <code>Size</code> |
Line 1,104: |
Line 1,104: |
| ! Argument || Type || Name | | ! Argument || Type || Name |
| |- | | |- |
− | | (In) W0 || u64 || <code>Process Handle</code> | + | | (In) W0 || Handle<Process> || <code>ProcessHandle</code> |
| |- | | |- |
− | | (In) X1 || u64 || <code>Dest Addr</code> | + | | (In) X1 || u64 || <code>DstAddr</code> |
| |- | | |- |
| | (In) X2 || u64 || <code>Src Addr</code> | | | (In) X2 || u64 || <code>Src Addr</code> |
Line 1,125: |
Line 1,125: |
| ! Argument || Type || Name | | ! Argument || Type || Name |
| |- | | |- |
− | | (In) X1 || u64 || <code>ProcInfo Pointer</code> | + | | (In) X1 || [[#CreateProcessInfo]]* || <code>InfoPtr</code> |
| |- | | |- |
− | | (In) X2 || u64 || <code>Capabilities Pointer</code> | + | | (In) X2 || u64 || <code>CapabilitiesPtr</code> |
| |- | | |- |
− | | (In) X3 || u64 || <code>Capibility Num</code> | + | | (In) X3 || u64 || <code>CapibilitiesNum</code> |
| |- | | |- |
| | (Out) W0 || [[#Result]] || <code>Ret</code> | | | (Out) W0 || [[#Result]] || <code>Ret</code> |
| |- | | |- |
− | | (Out) W1 || u64 || <code>Process Handle</code> | + | | (Out) W1 || Handle<Process> || <code>ProcessHandle</code> |
| |} | | |} |
| </div> | | </div> |
Line 1,146: |
Line 1,146: |
| ! Argument || Type || Name | | ! Argument || Type || Name |
| |- | | |- |
− | | (In) W0 || u64 || <code>Process Handle</code> | + | | (In) W0 || Handle<Process> || <code>ProcessHandle</code> |
| |- | | |- |
| | (Out) W0 || [[#Result]] || <code>Ret</code> | | | (Out) W0 || [[#Result]] || <code>Ret</code> |
| |- | | |- |
− | | (Out) W1 || [[#ProcessState]] || <code>Process State</code> | + | | (Out) W1 || [[#ProcessState]] || <code>State</code> |
| |} | | |} |
| </div> | | </div> |