diff --git a/ChangeLog b/ChangeLog index 49f32ce2e..8009d8022 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-11-19 Robert Millan + + * kern/i386/coreboot/init.c (grub_time_tics): Remove variable. + (grub_get_rtc, grub_exit): Abort with grub_fatal() if called. + 2008-11-19 Robert Millan * loader/i386/pc/linux.c (grub_rescue_cmd_initrd): Fix a typo. diff --git a/kern/i386/coreboot/init.c b/kern/i386/coreboot/init.c index 3a5005099..9978d4a17 100644 --- a/kern/i386/coreboot/init.c +++ b/kern/i386/coreboot/init.c @@ -43,13 +43,10 @@ extern char _end[]; grub_addr_t grub_os_area_addr; grub_size_t grub_os_area_size; -/* FIXME: we need interrupts to do this right */ -static grub_uint32_t grub_time_tics = 0; - grub_uint32_t grub_get_rtc (void) { - return grub_time_tics; + grub_fatal ("grub_get_rtc() is not implemented.\n"); } /* Stop the floppy drive from spinning, so that other software is @@ -63,8 +60,7 @@ grub_stop_floppy (void) void grub_exit (void) { - grub_printf ("grub_exit() is not implemented.\n"); - grub_stop (); + grub_fatal ("grub_exit() is not implemented.\n"); } void