grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] sparc64 - second stage sector corruption
@ 2013-12-18  6:42 Allen Pais
  0 siblings, 0 replies; only message in thread
From: Allen Pais @ 2013-12-18  6:42 UTC (permalink / raw)
  To: grub-devel; +Cc: Bob Picco, Allen Pais

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 <bob.picco@oracle.com>
Signed-off-by: Allen Pais <allen.pais@oracle.com>
---
 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



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-12-18 20:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-18  6:42 [PATCH 1/1] sparc64 - second stage sector corruption Allen Pais

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).