Changes in kernel/generic/include/syscall/syscall.h [2fa10f6:3f10d92] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/syscall/syscall.h
r2fa10f6 r3f10d92 38 38 typedef enum { 39 39 SYS_KLOG = 0, 40 SYS_TLS_SET = 1, /* Hardcoded in AMD64, IA32 uspace - fibril.S*/40 SYS_TLS_SET = 1, /* Hardcoded for AMD64, IA-32 (fibril.S in uspace) */ 41 41 42 42 SYS_THREAD_CREATE, … … 47 47 SYS_TASK_GET_ID, 48 48 SYS_TASK_SET_NAME, 49 SYS_TASK_KILL, 50 SYS_TASK_EXIT, 49 51 SYS_PROGRAM_SPAWN_LOADER, 50 52 … … 57 59 SYS_AS_AREA_CHANGE_FLAGS, 58 60 SYS_AS_AREA_DESTROY, 61 SYS_AS_GET_UNMAPPED_AREA, 59 62 60 63 SYS_IPC_CALL_SYNC_FAST, … … 69 72 SYS_IPC_POKE, 70 73 SYS_IPC_HANGUP, 71 SYS_IPC_REGISTER_IRQ, 72 SYS_IPC_UNREGISTER_IRQ, 74 SYS_IPC_CONNECT_KBOX, 73 75 74 76 SYS_EVENT_SUBSCRIBE, … … 80 82 SYS_PHYSMEM_MAP, 81 83 SYS_IOSPACE_ENABLE, 84 SYS_REGISTER_IRQ, 85 SYS_UNREGISTER_IRQ, 82 86 83 87 SYS_SYSINFO_GET_TAG, … … 89 93 SYS_DEBUG_DISABLE_CONSOLE, 90 94 91 SYS_IPC_CONNECT_KBOX,92 95 SYSCALL_END 93 96 } syscall_t; … … 97 100 #include <typedefs.h> 98 101 99 typedef unative_t (*syshandler_t)(unative_t, unative_t, unative_t, unative_t,100 unative_t, unative_t);102 typedef sysarg_t (*syshandler_t)(sysarg_t, sysarg_t, sysarg_t, sysarg_t, 103 sysarg_t, sysarg_t); 101 104 102 105 extern syshandler_t syscall_table[SYSCALL_END]; 103 extern unative_t syscall_handler(unative_t, unative_t, unative_t, unative_t,104 unative_t, unative_t, unative_t);105 extern unative_t sys_tls_set(unative_t);106 extern sysarg_t syscall_handler(sysarg_t, sysarg_t, sysarg_t, sysarg_t, 107 sysarg_t, sysarg_t, sysarg_t); 108 extern sysarg_t sys_tls_set(sysarg_t); 106 109 107 110 #endif
Note:
See TracChangeset
for help on using the changeset viewer.