Ignore:
File:
1 edited

Legend:

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

    r9510be2 r057d21a  
    6262
    6363#ifdef CONFIG_UDEBUG
     64        bool debug;
     65
    6466        /*
    6567         * Early check for undebugged tasks. We do not lock anything as this
    66          * test need not be precise in either direction.
     68         * test need not be precise in either way.
    6769         */
    68         if (THREAD->udebug.active) {
     70        debug = THREAD->udebug.active;
     71       
     72        if (debug) {
    6973                udebug_syscall_event(a1, a2, a3, a4, a5, a6, id, 0, false);
    7074        }
     
    8387       
    8488#ifdef CONFIG_UDEBUG
    85         if (THREAD->udebug.active) {
     89        if (debug) {
    8690                udebug_syscall_event(a1, a2, a3, a4, a5, a6, id, rc, true);
    8791       
     
    107111        (syshandler_t) sys_thread_exit,
    108112        (syshandler_t) sys_thread_get_id,
    109         (syshandler_t) sys_thread_usleep,
    110113       
    111114        (syshandler_t) sys_task_get_id,
     
    114117       
    115118        /* Synchronization related syscalls. */
    116         (syshandler_t) sys_futex_sleep,
     119        (syshandler_t) sys_futex_sleep_timeout,
    117120        (syshandler_t) sys_futex_wakeup,
    118121        (syshandler_t) sys_smc_coherence,
Note: See TracChangeset for help on using the changeset viewer.