Changeset 41d33ac in mainline for arch/amd64/src/amd64.c


Ignore:
Timestamp:
2006-05-31T22:18:40Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e7ed9868
Parents:
018f95a
Message:

Added syscall that lets kernel regain access to keyboard.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/amd64/src/amd64.c

    r018f95a r41d33ac  
    5151#include <arch/debugger.h>
    5252#include <syscall/syscall.h>
     53#include <console/console.h>
    5354
    5455
     
    186187        return 0;
    187188}
     189
     190/** Acquire console back for kernel
     191 *
     192 */
     193void arch_grab_console(void)
     194{
     195        i8042_grab();
     196}
     197/** Return console to userspace
     198 *
     199 */
     200void arch_release_console(void)
     201{
     202        i8042_release();
     203}
Note: See TracChangeset for help on using the changeset viewer.