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