diff options
author | Michael Brown | 2008-10-13 00:34:45 +0200 |
---|---|---|
committer | Michael Brown | 2008-10-13 00:36:53 +0200 |
commit | c0835339d06716b133aa653847023742a967f188 (patch) | |
tree | 25f22e63175c7919c8de678f5a5f1513bed516c8 /src/core/console.c | |
parent | [monojob] Allow for extremely slow system timers (diff) | |
download | ipxe-c0835339d06716b133aa653847023742a967f188.tar.gz ipxe-c0835339d06716b133aa653847023742a967f188.tar.xz ipxe-c0835339d06716b133aa653847023742a967f188.zip |
[nap] Formalise the CPU sleeping API
Diffstat (limited to 'src/core/console.c')
-rw-r--r-- | src/core/console.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/core/console.c b/src/core/console.c index 653f689d..c9773f71 100644 --- a/src/core/console.c +++ b/src/core/console.c @@ -1,11 +1,10 @@ #include "stddef.h" #include "console.h" #include <gpxe/process.h> +#include <gpxe/nap.h> /** @file */ -#include "bios.h" - static struct console_driver console_drivers[0] __table_start ( struct console_driver, console ); static struct console_driver console_drivers_end[0] @@ -82,9 +81,6 @@ static struct console_driver * has_input ( void ) { * * The character read will not be echoed back to any console. * - * @bug We need a cleaner way to pick up cpu_nap(). It makes a - * real-mode call, and so we don't want to use it with LinuxBIOS. - * */ int getchar ( void ) { struct console_driver *console; |