I think the simple thing to do is move the text base up to 0x2000, so
we can move forward with getting the LX working.

ron
Set the text base from 0x1000 to 0x2000, since the emulator needs a page for the IDT. 

Signed-off-by: Ronald G. Minnich <[EMAIL PROTECTED]>

Index: arch/x86/Makefile
===================================================================
--- arch/x86/Makefile	(revision 569)
+++ arch/x86/Makefile	(working copy)
@@ -206,7 +206,7 @@
 $(obj)/coreboot.stage2 $(obj)/coreboot.stage2.map: $(obj)/stage0.init $(STAGE2_OBJ_NEEDED)
 	$(Q)# leave a .o with full symbols in it for debugging.
 	$(Q)printf "  LD      $(subst $(shell pwd)/,,$(@))\n"
-	$(Q)$(LD) -R $(obj)/stage0.o -Ttext 0x1000 --entry=stage2 \
+	$(Q)$(LD) -R $(obj)/stage0.o -Ttext 0x2000 --entry=stage2 \
 		  -o $(obj)/coreboot.stage2 $(STAGE2_OBJ_NEEDED)
 	$(Q)$(NM) $(obj)/coreboot.stage2 | sort -u > $(obj)/coreboot.stage2.map
 
-- 
coreboot mailing list
[email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to