]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2005-02-03 Yoshinori K. Okuji <okuji@enbug.org>
authorokuji <okuji@localhost>
Thu, 3 Feb 2005 10:01:14 +0000 (10:01 +0000)
committerokuji <okuji@localhost>
Thu, 3 Feb 2005 10:01:14 +0000 (10:01 +0000)
  * grub/asmstub.c (console_current_color): Make it global as
  declared.
  (grub_stage2): Tweak the declaration and the definition of the
  nested function doit.

ChangeLog
grub/asmstub.c

index 6ad1038b13460d5c469ff3c2998c7842723e5194..7f6b386c1baa819e4a74762e928b358962130ee2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2005-02-03  Yoshinori K. Okuji  <okuji@enbug.org>
+
+       * grub/asmstub.c (console_current_color): Make it global as
+       declared.
+       (grub_stage2): Tweak the declaration and the definition of the
+       nested function doit.
+
 2005-02-02  Yoshinori K. Okuji  <okuji@enbug.org>
 
        * stage2/smp-imps.h (imps_any_new_apics): Removed.
index e313c85e690870d80de1387876b0a8754113b5dd..1a4b82f29a805163c88a81000e3b035161f1161c 100644 (file)
@@ -90,7 +90,7 @@ char **device_map = 0;
 static jmp_buf env_for_exit;
 
 /* The current color for console.  */
-static int console_current_color = A_NORMAL;
+int console_current_color = A_NORMAL;
 
 /* The file descriptor for a serial device.  */
 static int serial_fd = -1;
@@ -113,11 +113,11 @@ grub_stage2 (void)
   char *scratch, *simstack;
   int i;
 
-  auto volatile void doit (void);
+  auto void doit (void);
   
   /* We need a nested function so that we get a clean stack frame,
      regardless of how the code is optimized. */
-  auto volatile void doit (void)
+  volatile void doit (void)
     {
       /* Make sure our stack lives in the simulated memory area. */
       asm volatile ("movl %%esp, %0\n\tmovl %1, %%esp\n"