From db67cc9a61113f11e3c1e256f49bf6811a76c995 Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Wed, 3 Dec 2008 23:39:49 +0000 Subject: [PATCH] Document unexpected clobbering of stage0 code. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Carl-Daniel Hailfinger git-svn-id: svn://coreboot.org/repository/coreboot-v3@1064 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- arch/x86/stage0_common.S | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/stage0_common.S b/arch/x86/stage0_common.S index 678bf1cab6..549184af35 100644 --- a/arch/x86/stage0_common.S +++ b/arch/x86/stage0_common.S @@ -149,6 +149,7 @@ _resetjump: .byte 0xe9 .int _stage0 - ( . + 2 ) +#warning Everything below this line and two bytes above this line is being clobbered by LAR. For the discussion about this, see the thread at www.coreboot.org/pipermail/coreboot/2008-December/042771.html /* Note: The above jump is hand coded to work around bugs in binutils. * 5 bytes are used for a 3 byte instruction. This works because x86 * is little endian and allows us to use supported 32 bit relocations