Ignore:
Timestamp:
2011-05-12T16:49:44Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f36787d7
Parents:
e80329d6 (diff), 750636a (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.

File:
1 edited

Legend:

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

    re80329d6 rb5e68c8  
    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,
    82         SYS_INTERRUPT_ENABLE,
     84        SYS_REGISTER_IRQ,
     85        SYS_UNREGISTER_IRQ,
    8386       
    8487        SYS_SYSINFO_GET_TAG,
     
    9093        SYS_DEBUG_DISABLE_CONSOLE,
    9194       
    92         SYS_IPC_CONNECT_KBOX,
    9395        SYSCALL_END
    9496} syscall_t;
     
    98100#include <typedefs.h>
    99101
    100 typedef unative_t (*syshandler_t)(unative_t, unative_t, unative_t, unative_t,
    101     unative_t, unative_t);
     102typedef sysarg_t (*syshandler_t)(sysarg_t, sysarg_t, sysarg_t, sysarg_t,
     103    sysarg_t, sysarg_t);
    102104
    103105extern syshandler_t syscall_table[SYSCALL_END];
    104 extern unative_t syscall_handler(unative_t, unative_t, unative_t, unative_t,
    105     unative_t, unative_t, unative_t);
    106 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);
    107109
    108110#endif
Note: See TracChangeset for help on using the changeset viewer.