diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/console/console.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/console/console.c b/src/console/console.c index 8f60f04d4c..d5f25a5fee 100644 --- a/src/console/console.c +++ b/src/console/console.c @@ -24,7 +24,17 @@ #ifndef __PRE_RAM__ #include <string.h> + +/* + * FIXME: get_option() needs to be abstracted better so that other non-volatile + * storage can be used. This will benefit machines without CMOS as well as those + * without a battery-backed CMOS (e.g. some laptops). + */ +#ifdef HAVE_CMOS_DEFAULT #include <pc80/mc146818rtc.h> +#else +static inline int get_option(void *dest, const char *name) { return -1; } +#endif /* initialize the console */ void console_init(void) |