[1920] 2008-11-19 Robert Millan <[email protected]>

Robert Millan <[email protected]>
Newsgroups gmane.comp.boot-loaders.grub.cvs
Message-ID <[email protected]>
Revision: 1920
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=1920
Author:   robertmh
Date:     2008-11-20 18:07:10 +0000 (Thu, 20 Nov 2008)

Log Message:
-----------
2008-11-19  Robert Millan  <[email protected]>

        * kern/i386/coreboot/init.c (grub_time_tics): Remove variable.
        (grub_get_rtc, grub_exit): Abort with grub_fatal() if called.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/kern/i386/coreboot/init.c

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog	2008-11-19 12:11:44 UTC (rev 1919)
+++ trunk/grub2/ChangeLog	2008-11-20 18:07:10 UTC (rev 1920)
@@ -1,5 +1,10 @@
 2008-11-19  Robert Millan  <[email protected]>
 
+	* 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  <[email protected]>
+
 	* loader/i386/pc/linux.c (grub_rescue_cmd_initrd): Fix a typo.
 	* loader/i386/linux.c (grub_rescue_cmd_initrd): Implement a few needed
 	constraints to initrd allocation (based on code from

Modified: trunk/grub2/kern/i386/coreboot/init.c
===================================================================
--- trunk/grub2/kern/i386/coreboot/init.c	2008-11-19 12:11:44 UTC (rev 1919)
+++ trunk/grub2/kern/i386/coreboot/init.c	2008-11-20 18:07:10 UTC (rev 1920)
@@ -43,13 +43,10 @@
 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 @@
 void
 grub_exit (void)
 {
-  grub_printf ("grub_exit() is not implemented.\n");
-  grub_stop ();
+  grub_fatal ("grub_exit() is not implemented.\n");
 }
 
 void
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.