Ignore:
File:
1 edited

Legend:

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

    rf9061b4 rc0699467  
    3636#define KERN_SYSCALL_H_
    3737
    38 typedef enum {
    39         SYS_KLOG = 0,
    40         SYS_TLS_SET = 1,  /* Hardcoded for AMD64, IA-32 (fibril.S in uspace) */
    41        
    42         SYS_THREAD_CREATE,
    43         SYS_THREAD_EXIT,
    44         SYS_THREAD_GET_ID,
    45         SYS_THREAD_USLEEP,
    46        
    47         SYS_TASK_GET_ID,
    48         SYS_TASK_SET_NAME,
    49         SYS_TASK_KILL,
    50         SYS_TASK_EXIT,
    51         SYS_PROGRAM_SPAWN_LOADER,
    52        
    53         SYS_FUTEX_SLEEP,
    54         SYS_FUTEX_WAKEUP,
    55         SYS_SMC_COHERENCE,
    56        
    57         SYS_AS_AREA_CREATE,
    58         SYS_AS_AREA_RESIZE,
    59         SYS_AS_AREA_CHANGE_FLAGS,
    60         SYS_AS_AREA_DESTROY,
    61         SYS_AS_GET_UNMAPPED_AREA,
    62        
    63         SYS_IPC_CALL_SYNC_FAST,
    64         SYS_IPC_CALL_SYNC_SLOW,
    65         SYS_IPC_CALL_ASYNC_FAST,
    66         SYS_IPC_CALL_ASYNC_SLOW,
    67         SYS_IPC_ANSWER_FAST,
    68         SYS_IPC_ANSWER_SLOW,
    69         SYS_IPC_FORWARD_FAST,
    70         SYS_IPC_FORWARD_SLOW,
    71         SYS_IPC_WAIT,
    72         SYS_IPC_POKE,
    73         SYS_IPC_HANGUP,
    74         SYS_IPC_CONNECT_KBOX,
    75        
    76         SYS_EVENT_SUBSCRIBE,
    77         SYS_EVENT_UNMASK,
    78        
    79         SYS_CAP_GRANT,
    80         SYS_CAP_REVOKE,
    81        
    82         SYS_DEVICE_ASSIGN_DEVNO,
    83         SYS_PHYSMEM_MAP,
    84         SYS_IOSPACE_ENABLE,
    85         SYS_REGISTER_IRQ,
    86         SYS_UNREGISTER_IRQ,
    87        
    88         SYS_SYSINFO_GET_TAG,
    89         SYS_SYSINFO_GET_VALUE,
    90         SYS_SYSINFO_GET_DATA_SIZE,
    91         SYS_SYSINFO_GET_DATA,
    92        
    93         SYS_DEBUG_ENABLE_CONSOLE,
    94         SYS_DEBUG_DISABLE_CONSOLE,
    95        
    96         SYSCALL_END
    97 } syscall_t;
    98 
    99 #ifdef KERNEL
    100 
    10138#include <typedefs.h>
     39#include <abi/syscall.h>
    10240
    10341typedef sysarg_t (*syshandler_t)(sysarg_t, sysarg_t, sysarg_t, sysarg_t,
     
    11149#endif
    11250
    113 #endif
    114 
    11551/** @}
    11652 */
Note: See TracChangeset for help on using the changeset viewer.