Ignore:
File:
1 edited

Legend:

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

    r3f10d92 r2fa10f6  
    3838typedef enum {
    3939        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 */
    4141       
    4242        SYS_THREAD_CREATE,
     
    4747        SYS_TASK_GET_ID,
    4848        SYS_TASK_SET_NAME,
    49         SYS_TASK_KILL,
    50         SYS_TASK_EXIT,
    5149        SYS_PROGRAM_SPAWN_LOADER,
    5250       
     
    5957        SYS_AS_AREA_CHANGE_FLAGS,
    6058        SYS_AS_AREA_DESTROY,
    61         SYS_AS_GET_UNMAPPED_AREA,
    6259       
    6360        SYS_IPC_CALL_SYNC_FAST,
     
    7269        SYS_IPC_POKE,
    7370        SYS_IPC_HANGUP,
    74         SYS_IPC_CONNECT_KBOX,
     71        SYS_IPC_REGISTER_IRQ,
     72        SYS_IPC_UNREGISTER_IRQ,
    7573       
    7674        SYS_EVENT_SUBSCRIBE,
     
    8280        SYS_PHYSMEM_MAP,
    8381        SYS_IOSPACE_ENABLE,
    84         SYS_REGISTER_IRQ,
    85         SYS_UNREGISTER_IRQ,
    8682       
    8783        SYS_SYSINFO_GET_TAG,
     
    9389        SYS_DEBUG_DISABLE_CONSOLE,
    9490       
     91        SYS_IPC_CONNECT_KBOX,
    9592        SYSCALL_END
    9693} syscall_t;
     
    10097#include <typedefs.h>
    10198
    102 typedef sysarg_t (*syshandler_t)(sysarg_t, sysarg_t, sysarg_t, sysarg_t,
    103     sysarg_t, sysarg_t);
     99typedef unative_t (*syshandler_t)(unative_t, unative_t, unative_t, unative_t,
     100    unative_t, unative_t);
    104101
    105102extern 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);
     103extern unative_t syscall_handler(unative_t, unative_t, unative_t, unative_t,
     104    unative_t, unative_t, unative_t);
     105extern unative_t sys_tls_set(unative_t);
    109106
    110107#endif
Note: See TracChangeset for help on using the changeset viewer.