Correct the end of the bootpath property. The OBP property "bootpath" call
was clearing kernel_byte which is the second stage boot sector.

The property value for boot_path is also limited in size. It should be larger
in size.

Signed-off-by: Bob Picco <[email protected]>
Signed-off-by: Allen Pais <[email protected]>
---
 grub-core/boot/sparc64/ieee1275/boot.S |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/grub-core/boot/sparc64/ieee1275/boot.S 
b/grub-core/boot/sparc64/ieee1275/boot.S
index efe090e..5073677 100644
--- a/grub-core/boot/sparc64/ieee1275/boot.S
+++ b/grub-core/boot/sparc64/ieee1275/boot.S
@@ -44,8 +44,8 @@ pic_base:
        . = _start + GRUB_BOOT_MACHINE_BOOT_DEVPATH
 boot_path:
        . = _start + GRUB_BOOT_MACHINE_KERNEL_BYTE
-kernel_byte:           .xword (2 << 9)
 boot_path_end:
+kernel_byte:           .xword (2 << 9)
 kernel_address:                .word  GRUB_BOOT_MACHINE_KERNEL_ADDR
 #else
 #define boot_path (_start + 512 + SCRATCH_PAD_BOOT_SIZE)
-- 
1.7.10.4


_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to