Changeset 516ff92 in mainline for kernel/generic/src/syscall/syscall.c


Ignore:
Timestamp:
2009-01-31T21:27:18Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4863e50b
Parents:
96a2e45
Message:

silent kernel console output when user space console is active

File:
1 edited

Legend:

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

    r96a2e45 r516ff92  
    9393{
    9494#ifdef CONFIG_KCONSOLE
    95         arch_grab_console();
     95        grab_console();
    9696        return true;
    9797#else
    9898        return false;
    9999#endif
     100}
     101
     102/** Tell kernel to relinquish keyboard/console access */
     103static unative_t sys_debug_disable_console(void)
     104{
     105        release_console();
     106        return true;
    100107}
    101108
     
    185192        /* Debug calls */
    186193        (syshandler_t) sys_debug_enable_console,
    187 
     194        (syshandler_t) sys_debug_disable_console,
     195       
    188196        (syshandler_t) sys_ipc_connect_kbox
    189197};
Note: See TracChangeset for help on using the changeset viewer.