diff options
Diffstat (limited to 'src/core/console.c')
| -rw-r--r-- | src/core/console.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/console.c b/src/core/console.c index cd3239d6f..830f45390 100644 --- a/src/core/console.c +++ b/src/core/console.c @@ -1,5 +1,6 @@ #include "stddef.h" #include "console.h" +#include <gpxe/process.h> /** @file */ @@ -97,6 +98,11 @@ int getchar ( void ) { * less CPU time in a VMware session. */ cpu_nap(); + + /* Keep processing background tasks while we wait for + * input. + */ + step(); console = has_input(); if ( console && console->getchar ) |
