Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/syscall/syscall.c

    r8820544 r43b8c65  
    5050#include <synch/futex.h>
    5151#include <synch/smc.h>
     52#include <synch/smp_memory_barrier.h>
    5253#include <ddi/ddi.h>
    5354#include <ipc/event.h>
     
    5657#include <console/console.h>
    5758#include <udebug/udebug.h>
    58 #include <log.h>
    5959
    6060/** Dispatch system call */
     
    8787                rc = syscall_table[id](a1, a2, a3, a4, a5, a6);
    8888        } else {
    89                 log(LF_OTHER, LVL_ERROR,
    90                     "Task %" PRIu64": Unknown syscall %#" PRIxn, TASK->taskid, id);
     89                printf("Task %" PRIu64": Unknown syscall %#" PRIxn, TASK->taskid, id);
    9190                task_kill_self(true);
    9291        }
     
    122121syshandler_t syscall_table[SYSCALL_END] = {
    123122        /* System management syscalls. */
    124         (syshandler_t) sys_kio,
     123        (syshandler_t) sys_klog,
    125124        (syshandler_t) sys_tls_set,
    126125       
     
    142141        (syshandler_t) sys_futex_wakeup,
    143142        (syshandler_t) sys_smc_coherence,
     143        (syshandler_t) sys_smp_memory_barrier,
     144       
    144145       
    145146        /* Address space related syscalls. */
     
    165166       
    166167        /* Event notification syscalls. */
    167         (syshandler_t) sys_ipc_event_subscribe,
    168         (syshandler_t) sys_ipc_event_unsubscribe,
    169         (syshandler_t) sys_ipc_event_unmask,
     168        (syshandler_t) sys_event_subscribe,
     169        (syshandler_t) sys_event_unmask,
    170170       
    171171        /* Capabilities related syscalls. */
     
    181181        (syshandler_t) sys_iospace_enable,
    182182        (syshandler_t) sys_iospace_disable,
    183        
    184         (syshandler_t) sys_ipc_irq_subscribe,
    185         (syshandler_t) sys_ipc_irq_unsubscribe,
     183        (syshandler_t) sys_irq_register,
     184        (syshandler_t) sys_irq_unregister,
    186185       
    187186        /* Sysinfo syscalls. */
     
    194193       
    195194        /* Kernel console syscalls. */
    196         (syshandler_t) sys_debug_console,
    197        
    198         (syshandler_t) sys_klog,
     195        (syshandler_t) sys_debug_activate_console
    199196};
    200197
Note: See TracChangeset for help on using the changeset viewer.