Ignore:
File:
1 edited

Legend:

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

    r057d21a r1ea99cc  
    5454#include <console/console.h>
    5555#include <udebug/udebug.h>
     56
     57/** Print a hex integer into klog */
     58static unative_t sys_debug_putint(unative_t i)
     59{
     60        printf("[task:0x%x]", i);
     61        return 0;
     62}
    5663
    5764/** Dispatch system call */
     
    137144        (syshandler_t) sys_ipc_forward_slow,
    138145        (syshandler_t) sys_ipc_wait_for_call,
    139         (syshandler_t) sys_ipc_poke,
    140146        (syshandler_t) sys_ipc_hangup,
    141147        (syshandler_t) sys_ipc_register_irq,
     
    160166       
    161167        /* Debug calls */
     168        (syshandler_t) sys_debug_putint,
    162169        (syshandler_t) sys_debug_enable_console,
    163170        (syshandler_t) sys_debug_disable_console,
Note: See TracChangeset for help on using the changeset viewer.