Changeset 04803bf in mainline for kernel/generic/include/syscall/syscall.h
- Timestamp:
- 2011-03-21T22:00:17Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 143932e
- Parents:
- b50b5af2 (diff), 7308e84 (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
rb50b5af2 r04803bf 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, 43 43 SYS_THREAD_EXIT, 44 44 SYS_THREAD_GET_ID, 45 SYS_THREAD_USLEEP, 45 46 46 47 SYS_TASK_GET_ID, 47 48 SYS_TASK_SET_NAME, 49 SYS_TASK_KILL, 50 SYS_TASK_EXIT, 48 51 SYS_PROGRAM_SPAWN_LOADER, 49 52 … … 56 59 SYS_AS_AREA_CHANGE_FLAGS, 57 60 SYS_AS_AREA_DESTROY, 61 SYS_AS_GET_UNMAPPED_AREA, 58 62 59 63 SYS_IPC_CALL_SYNC_FAST, … … 68 72 SYS_IPC_POKE, 69 73 SYS_IPC_HANGUP, 70 SYS_IPC_REGISTER_IRQ, 71 SYS_IPC_UNREGISTER_IRQ, 72 74 SYS_IPC_CONNECT_KBOX, 75 73 76 SYS_EVENT_SUBSCRIBE, 74 77 … … 79 82 SYS_PHYSMEM_MAP, 80 83 SYS_IOSPACE_ENABLE, 81 SYS_PREEMPT_CONTROL, 84 SYS_REGISTER_IRQ, 85 SYS_UNREGISTER_IRQ, 82 86 83 SYS_SYSINFO_VALID, 84 SYS_SYSINFO_VALUE, 85 87 SYS_SYSINFO_GET_TAG, 88 SYS_SYSINFO_GET_VALUE, 89 SYS_SYSINFO_GET_DATA_SIZE, 90 SYS_SYSINFO_GET_DATA, 91 86 92 SYS_DEBUG_PUTINT, 87 93 SYS_DEBUG_ENABLE_CONSOLE, 88 94 SYS_DEBUG_DISABLE_CONSOLE, 89 SYS_IPC_CONNECT_KBOX,95 90 96 SYSCALL_END 91 97 } syscall_t; … … 93 99 #ifdef KERNEL 94 100 95 #include < arch/types.h>101 #include <typedefs.h> 96 102 97 typedef unative_t (*syshandler_t)(unative_t, unative_t, unative_t, unative_t,98 unative_t, unative_t);103 typedef sysarg_t (*syshandler_t)(sysarg_t, sysarg_t, sysarg_t, sysarg_t, 104 sysarg_t, sysarg_t); 99 105 100 106 extern syshandler_t syscall_table[SYSCALL_END]; 101 extern unative_t syscall_handler(unative_t, unative_t, unative_t, unative_t,102 unative_t, unative_t, unative_t);103 extern unative_t sys_tls_set(unative_t);107 extern sysarg_t syscall_handler(sysarg_t, sysarg_t, sysarg_t, sysarg_t, 108 sysarg_t, sysarg_t, sysarg_t); 109 extern sysarg_t sys_tls_set(sysarg_t); 104 110 105 111 #endif
Note:
See TracChangeset
for help on using the changeset viewer.