diff --git a/libmango/include/mango/syscall.h b/libmango/include/mango/syscall.h index 9cec4f5..bb69e49 100644 --- a/libmango/include/mango/syscall.h +++ b/libmango/include/mango/syscall.h @@ -3,42 +3,43 @@ #define SYS_KERN_LOG 0x00u #define SYS_KERN_HANDLE_CLOSE 0x01u -#define SYS_KERN_CONFIG_GET 0x02u -#define SYS_KERN_CONFIG_SET 0x03u -#define SYS_KERN_OBJECT_WAIT 0x04u -#define SYS_KERN_OBJECT_WAIT_ASYNC 0x05u -#define SYS_TASK_EXIT 0x06u -#define SYS_TASK_SELF 0x07u -#define SYS_TASK_CREATE 0x08u -#define SYS_TASK_CREATE_THREAD 0x09u -#define SYS_TASK_GET_ADDRESS_SPACE 0x0Au -#define SYS_THREAD_START 0x0Bu -#define SYS_VM_OBJECT_CREATE 0x0Cu -#define SYS_VM_OBJECT_READ 0x0Du -#define SYS_VM_OBJECT_WRITE 0x0Eu -#define SYS_VM_OBJECT_COPY 0x0Fu -#define SYS_ADDRESS_SPACE_READ 0x12u -#define SYS_ADDRESS_SPACE_WRITE 0x13u -#define SYS_ADDRESS_SPACE_MAP 0x14u -#define SYS_ADDRESS_SPACE_UNMAP 0x15u -#define SYS_ADDRESS_SPACE_RESERVE 0x16u -#define SYS_ADDRESS_SPACE_RELEASE 0x17u -#define SYS_MSG_SEND 0x18u -#define SYS_MSG_RECV 0x19u -#define SYS_MSG_REPLY 0x1Au -#define SYS_MSG_READ 0x1Bu -#define SYS_MSG_WRITE 0x1Cu -#define SYS_CHANNEL_CREATE 0x1Du -#define SYS_PORT_CREATE 0x1Eu -#define SYS_PORT_CONNECT 0x1Fu -#define SYS_PORT_DISCONNECT 0x20u -#define SYS_EQUEUE_CREATE 0x21u -#define SYS_EQUEUE_DEQUEUE 0x22u -#define SYS_VM_CONTROLLER_CREATE 0x23u -#define SYS_VM_CONTROLLER_RECV 0x24u -#define SYS_VM_CONTROLLER_RECV_ASYNC 0x25u -#define SYS_VM_CONTROLLER_CREATE_OBJECT 0x26u -#define SYS_VM_CONTROLLER_DETACH_OBJECT 0x27u -#define SYS_VM_CONTROLLER_SUPPLY_PAGES 0x28u +#define SYS_KERN_HANDLE_DUPLICATE 0x02u +#define SYS_KERN_CONFIG_GET 0x03u +#define SYS_KERN_CONFIG_SET 0x04u +#define SYS_KERN_OBJECT_WAIT 0x05u +#define SYS_KERN_OBJECT_WAIT_ASYNC 0x06u +#define SYS_TASK_EXIT 0x07u +#define SYS_TASK_SELF 0x08u +#define SYS_TASK_CREATE 0x09u +#define SYS_TASK_CREATE_THREAD 0x0Au +#define SYS_TASK_GET_ADDRESS_SPACE 0x0Bu +#define SYS_THREAD_START 0x0Cu +#define SYS_VM_OBJECT_CREATE 0x0Du +#define SYS_VM_OBJECT_READ 0x0Eu +#define SYS_VM_OBJECT_WRITE 0x0Fu +#define SYS_VM_OBJECT_COPY 0x10u +#define SYS_ADDRESS_SPACE_READ 0x11u +#define SYS_ADDRESS_SPACE_WRITE 0x12u +#define SYS_ADDRESS_SPACE_MAP 0x13u +#define SYS_ADDRESS_SPACE_UNMAP 0x14u +#define SYS_ADDRESS_SPACE_RESERVE 0x15u +#define SYS_ADDRESS_SPACE_RELEASE 0x16u +#define SYS_MSG_SEND 0x17u +#define SYS_MSG_RECV 0x18u +#define SYS_MSG_REPLY 0x19u +#define SYS_MSG_READ 0x1Au +#define SYS_MSG_WRITE 0x1Bu +#define SYS_CHANNEL_CREATE 0x1Cu +#define SYS_PORT_CREATE 0x1Du +#define SYS_PORT_CONNECT 0x1Eu +#define SYS_PORT_DISCONNECT 0x1Fu +#define SYS_EQUEUE_CREATE 0x20u +#define SYS_EQUEUE_DEQUEUE 0x21u +#define SYS_VM_CONTROLLER_CREATE 0x22u +#define SYS_VM_CONTROLLER_RECV 0x23u +#define SYS_VM_CONTROLLER_RECV_ASYNC 0x24u +#define SYS_VM_CONTROLLER_CREATE_OBJECT 0x25u +#define SYS_VM_CONTROLLER_DETACH_OBJECT 0x26u +#define SYS_VM_CONTROLLER_SUPPLY_PAGES 0x27u #endif