Ignore:
Timestamp:
2011-03-21T22:00:17Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
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.
Message:

Merge mainline changes (needs fixes).

File:
1 edited

Legend:

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

    rb50b5af2 r04803bf  
    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,
    4343        SYS_THREAD_EXIT,
    4444        SYS_THREAD_GET_ID,
     45        SYS_THREAD_USLEEP,
    4546       
    4647        SYS_TASK_GET_ID,
    4748        SYS_TASK_SET_NAME,
     49        SYS_TASK_KILL,
     50        SYS_TASK_EXIT,
    4851        SYS_PROGRAM_SPAWN_LOADER,
    4952       
     
    5659        SYS_AS_AREA_CHANGE_FLAGS,
    5760        SYS_AS_AREA_DESTROY,
     61        SYS_AS_GET_UNMAPPED_AREA,
    5862       
    5963        SYS_IPC_CALL_SYNC_FAST,
     
    6872        SYS_IPC_POKE,
    6973        SYS_IPC_HANGUP,
    70         SYS_IPC_REGISTER_IRQ,
    71         SYS_IPC_UNREGISTER_IRQ,
    72 
     74        SYS_IPC_CONNECT_KBOX,
     75       
    7376        SYS_EVENT_SUBSCRIBE,
    7477       
     
    7982        SYS_PHYSMEM_MAP,
    8083        SYS_IOSPACE_ENABLE,
    81         SYS_PREEMPT_CONTROL,
     84        SYS_REGISTER_IRQ,
     85        SYS_UNREGISTER_IRQ,
    8286       
    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       
    8692        SYS_DEBUG_PUTINT,
    8793        SYS_DEBUG_ENABLE_CONSOLE,
    8894        SYS_DEBUG_DISABLE_CONSOLE,
    89         SYS_IPC_CONNECT_KBOX,
     95       
    9096        SYSCALL_END
    9197} syscall_t;
     
    9399#ifdef KERNEL
    94100
    95 #include <arch/types.h>
     101#include <typedefs.h>
    96102
    97 typedef unative_t (*syshandler_t)(unative_t, unative_t, unative_t, unative_t,
    98     unative_t, unative_t);
     103typedef sysarg_t (*syshandler_t)(sysarg_t, sysarg_t, sysarg_t, sysarg_t,
     104    sysarg_t, sysarg_t);
    99105
    100106extern 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);
     107extern sysarg_t syscall_handler(sysarg_t, sysarg_t, sysarg_t, sysarg_t,
     108    sysarg_t, sysarg_t, sysarg_t);
     109extern sysarg_t sys_tls_set(sysarg_t);
    104110
    105111#endif
Note: See TracChangeset for help on using the changeset viewer.