Changeset f6ab787 in mainline


Ignore:
Timestamp:
2014-08-12T07:14:50Z (10 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ce3efa0
Parents:
238869ca
Message:

rename sys_debug_activate_console to sys_debug_console in order to anticipate more generic use of the syscall in the near future

Files:
7 edited

Legend:

Unmodified
Added
Removed
  • abi/include/abi/syscall.h

    r238869ca rf6ab787  
    9797        SYS_SYSINFO_GET_DATA,
    9898       
    99         SYS_DEBUG_ACTIVATE_CONSOLE,
     99        SYS_DEBUG_CONSOLE,
    100100       
    101101        SYS_KLOG,
  • kernel/generic/include/console/console.h

    r238869ca rf6ab787  
    7676extern void release_console(void);
    7777
    78 extern sysarg_t sys_debug_activate_console(void);
     78extern sysarg_t sys_debug_console(void);
    7979
    8080#endif /* KERN_CONSOLE_H_ */
  • kernel/generic/src/console/console.c

    r238869ca rf6ab787  
    224224
    225225/** Activate kernel console override */
    226 sysarg_t sys_debug_activate_console(void)
     226sysarg_t sys_debug_console(void)
    227227{
    228228#ifdef CONFIG_KCONSOLE
  • kernel/generic/src/syscall/syscall.c

    r238869ca rf6ab787  
    192192       
    193193        /* Kernel console syscalls. */
    194         (syshandler_t) sys_debug_activate_console,
     194        (syshandler_t) sys_debug_console,
    195195       
    196196        (syshandler_t) sys_klog,
  • uspace/app/trace/syscalls.c

    r238869ca rf6ab787  
    7979    [SYS_SYSINFO_GET_DATA] = { "sysinfo_get_data",              5,      V_ERRNO },
    8080
    81     [SYS_DEBUG_ACTIVATE_CONSOLE] = { "debug_activate_console", 0,       V_ERRNO },
     81    [SYS_DEBUG_CONSOLE] = { "debug_console", 0, V_ERRNO },
    8282    [SYS_IPC_CONNECT_KBOX] = { "ipc_connect_kbox",      1,      V_ERRNO }
    8383};
  • uspace/lib/c/generic/io/console.c

    r238869ca rf6ab787  
    7575bool console_kcon(void)
    7676{
    77         return __SYSCALL0(SYS_DEBUG_ACTIVATE_CONSOLE);
     77        return __SYSCALL0(SYS_DEBUG_CONSOLE);
    7878}
    7979
  • uspace/srv/hid/compositor/compositor.c

    r238869ca rf6ab787  
    20632063                fibril_mutex_unlock(&viewport_list_mtx);
    20642064        } else if (kconsole_switch) {
    2065                 __SYSCALL0(SYS_DEBUG_ACTIVATE_CONSOLE);
     2065                __SYSCALL0(SYS_DEBUG_CONSOLE);
    20662066        } else {
    20672067                window_event_t *event = (window_event_t *) malloc(sizeof(window_event_t));
Note: See TracChangeset for help on using the changeset viewer.