]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/kern/uboot/init.c: Move grub_uboot_machine_type and
authorVladimir Serbinenko <phcoder@gmail.com>
Wed, 13 Nov 2013 05:28:15 +0000 (06:28 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Wed, 13 Nov 2013 05:28:15 +0000 (06:28 +0100)
grub_uboot_boot_data to asm part.

ChangeLog
grub-core/kern/uboot/init.c

index d3a75828c3f9b7fb070ea4919479092c6c962e82..9970ac89eb2c0321007995c517bf6443ad478484 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-11-13  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * grub-core/kern/uboot/init.c: Move grub_uboot_machine_type and
+       grub_uboot_boot_data to asm part.
+
 2013-11-13  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * grub-core/kern/arm/uboot/startup.S: Remove = by replacing with
index b80535d112b460dccfeb90c2a27772638a43347f..9d7924c04b3ec50612e23775cd7b7b987703eb84 100644 (file)
@@ -35,14 +35,11 @@ extern char __bss_start[];
 extern char _end[];
 extern grub_size_t grub_total_module_size;
 extern int (*grub_uboot_syscall_ptr) (int, int *, ...);
-
-/* Set to anything other than zero so it lands in .data and not .bss.  */
-grub_addr_t grub_modbase = 0x55aa55aa;
-grub_uint32_t grub_uboot_machine_type = 0x55aa55aa;
-grub_addr_t grub_uboot_boot_data = 0x55aa55aa;
-
 static unsigned long timer_start;
 
+extern grub_uint32_t grub_uboot_machine_type;
+extern grub_addr_t grub_uboot_boot_data;
+
 void
 grub_exit (void)
 {