Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/syscall/syscall.h

    r2fa10f6 r3f10d92  
    3838typedef enum {
    3939        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) */
    4141       
    4242        SYS_THREAD_CREATE,
     
    4747        SYS_TASK_GET_ID,
    4848        SYS_TASK_SET_NAME,
     49        SYS_TASK_KILL,
     50        SYS_TASK_EXIT,
    4951        SYS_PROGRAM_SPAWN_LOADER,
    5052       
     
    5759        SYS_AS_AREA_CHANGE_FLAGS,
    5860        SYS_AS_AREA_DESTROY,
     61        SYS_AS_GET_UNMAPPED_AREA,
    5962       
    6063        SYS_IPC_CALL_SYNC_FAST,
     
    6972        SYS_IPC_POKE,
    7073        SYS_IPC_HANGUP,
    71         SYS_IPC_REGISTER_IRQ,
    72         SYS_IPC_UNREGISTER_IRQ,
     74        SYS_IPC_CONNECT_KBOX,
    7375       
    7476        SYS_EVENT_SUBSCRIBE,
     
    8082        SYS_PHYSMEM_MAP,
    8183        SYS_IOSPACE_ENABLE,
     84        SYS_REGISTER_IRQ,
     85        SYS_UNREGISTER_IRQ,
    8286       
    8387        SYS_SYSINFO_GET_TAG,
     
    8993        SYS_DEBUG_DISABLE_CONSOLE,
    9094       
    91         SYS_IPC_CONNECT_KBOX,
    9295        SYSCALL_END
    9396} syscall_t;
     
    97100#include <typedefs.h>
    98101
    99 typedef unative_t (*syshandler_t)(unative_t, unative_t, unative_t, unative_t,
    100     unative_t, unative_t);
     102typedef sysarg_t (*syshandler_t)(sysarg_t, sysarg_t, sysarg_t, sysarg_t,
     103    sysarg_t, sysarg_t);
    101104
    102105extern 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);
     106extern sysarg_t syscall_handler(sysarg_t, sysarg_t, sysarg_t, sysarg_t,
     107    sysarg_t, sysarg_t, sysarg_t);
     108extern sysarg_t sys_tls_set(sysarg_t);
    106109
    107110#endif
Note: See TracChangeset for help on using the changeset viewer.