Changeset b5e68c8 in mainline for kernel/generic/include/syscall/syscall.h
- Timestamp:
- 2011-05-12T16:49:44Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f36787d7
- Parents:
- e80329d6 (diff), 750636a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/syscall/syscall.h
re80329d6 rb5e68c8 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, 82 SYS_INTERRUPT_ENABLE, 84 SYS_REGISTER_IRQ, 85 SYS_UNREGISTER_IRQ, 83 86 84 87 SYS_SYSINFO_GET_TAG, … … 90 93 SYS_DEBUG_DISABLE_CONSOLE, 91 94 92 SYS_IPC_CONNECT_KBOX,93 95 SYSCALL_END 94 96 } syscall_t; … … 98 100 #include <typedefs.h> 99 101 100 typedef unative_t (*syshandler_t)(unative_t, unative_t, unative_t, unative_t,101 unative_t, unative_t);102 typedef sysarg_t (*syshandler_t)(sysarg_t, sysarg_t, sysarg_t, sysarg_t, 103 sysarg_t, sysarg_t); 102 104 103 105 extern syshandler_t syscall_table[SYSCALL_END]; 104 extern unative_t syscall_handler(unative_t, unative_t, unative_t, unative_t,105 unative_t, unative_t, unative_t);106 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); 107 109 108 110 #endif
Note:
See TracChangeset
for help on using the changeset viewer.