54 lines
2.1 KiB
C
54 lines
2.1 KiB
C
#ifndef MANGO_SYSCALL_H_
|
|
#define MANGO_SYSCALL_H_
|
|
|
|
#define SYS_KERN_LOG 1
|
|
#define SYS_KERN_HANDLE_CLOSE 2
|
|
#define SYS_KERN_HANDLE_DUPLICATE 3
|
|
#define SYS_KERN_CONFIG_GET 4
|
|
#define SYS_KERN_CONFIG_SET 5
|
|
#define SYS_KERN_OBJECT_WAIT 6
|
|
#define SYS_KERN_OBJECT_WAIT_ASYNC 7
|
|
#define SYS_TASK_EXIT 8
|
|
#define SYS_TASK_SELF 9
|
|
#define SYS_TASK_CREATE 10
|
|
#define SYS_TASK_CREATE_THREAD 11
|
|
#define SYS_TASK_GET_ADDRESS_SPACE 12
|
|
#define SYS_TASK_CONFIG_GET 13
|
|
#define SYS_TASK_CONFIG_SET 14
|
|
#define SYS_THREAD_SELF 15
|
|
#define SYS_THREAD_START 16
|
|
#define SYS_THREAD_EXIT 17
|
|
#define SYS_THREAD_CONFIG_GET 18
|
|
#define SYS_THREAD_CONFIG_SET 19
|
|
#define SYS_VM_OBJECT_CREATE 20
|
|
#define SYS_VM_OBJECT_READ 21
|
|
#define SYS_VM_OBJECT_WRITE 22
|
|
#define SYS_VM_OBJECT_COPY 23
|
|
#define SYS_ADDRESS_SPACE_READ 24
|
|
#define SYS_ADDRESS_SPACE_WRITE 25
|
|
#define SYS_ADDRESS_SPACE_MAP 26
|
|
#define SYS_ADDRESS_SPACE_UNMAP 27
|
|
#define SYS_ADDRESS_SPACE_RESERVE 28
|
|
#define SYS_ADDRESS_SPACE_RELEASE 29
|
|
#define SYS_MSG_SEND 30
|
|
#define SYS_MSG_RECV 31
|
|
#define SYS_MSG_REPLY 32
|
|
#define SYS_MSG_READ 33
|
|
#define SYS_MSG_WRITE 34
|
|
#define SYS_CHANNEL_CREATE 35
|
|
#define SYS_PORT_CREATE 36
|
|
#define SYS_PORT_CONNECT 37
|
|
#define SYS_PORT_DISCONNECT 38
|
|
#define SYS_EQUEUE_CREATE 39
|
|
#define SYS_EQUEUE_DEQUEUE 40
|
|
#define SYS_VM_CONTROLLER_CREATE 41
|
|
#define SYS_VM_CONTROLLER_RECV 42
|
|
#define SYS_VM_CONTROLLER_RECV_ASYNC 43
|
|
#define SYS_VM_CONTROLLER_CREATE_OBJECT 44
|
|
#define SYS_VM_CONTROLLER_DETACH_OBJECT 45
|
|
#define SYS_VM_CONTROLLER_SUPPLY_PAGES 46
|
|
#define SYS_FUTEX_WAIT 47
|
|
#define SYS_FUTEX_WAKE 48
|
|
|
|
#endif
|