[haiku-commits] r39881 - haiku/trunk/src/system/boot/platform/pxe_ia32

  • From: marcusoverhagen@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 17 Dec 2010 18:53:30 +0100 (CET)

Author: marcusoverhagen
Date: 2010-12-17 18:53:29 +0100 (Fri, 17 Dec 2010)
New Revision: 39881
Changeset: http://dev.haiku-os.org/changeset/39881

Removed:
   haiku/trunk/src/system/boot/platform/pxe_ia32/pxe_stage1.S
Modified:
   haiku/trunk/src/system/boot/platform/pxe_ia32/Jamfile
Log:
This removes pxe_stage1.S and thus also removes the build target "pxehaiku".

In r21611, about 3 years ago, the switch into protected mode was moved 
from stage1 to stage2, which makes stage1 obsolete. You have to use 
"pxehaiku-loader" when booting Haiku by PXE on x86.

Trying to use stage1 to boot stage2 resulted in tripple fault during
setup of ss segment, because stage1 switches to protected mode before
calling stage2, but stage2 expects real mode. The documentation is not
up to date.




Modified: haiku/trunk/src/system/boot/platform/pxe_ia32/Jamfile
===================================================================
--- haiku/trunk/src/system/boot/platform/pxe_ia32/Jamfile       2010-12-17 
15:52:52 UTC (rev 39880)
+++ haiku/trunk/src/system/boot/platform/pxe_ia32/Jamfile       2010-12-17 
17:53:29 UTC (rev 39881)
@@ -64,22 +64,6 @@
 ;
 
 
-rule BuildPXEstage1 bin : source {
-       SEARCH on $(source) = $(SEARCH_SOURCE) ;
-       Depends $(bin) : $(source) ;
-       MakeLocateDebug $(bin) ;
-       LocalClean clean : $(bin) ;
-}
-
-
-actions BuildPXEstage1 {
-       rm -f $(1)
-       $(TARGET_CC) -c -o $(1).o $(2) &&
-       $(TARGET_LD) --oformat binary --Ttext 0x7C00 -o $(1) $(1).o
-}
-
-BuildPXEstage1 pxehaiku : pxe_stage1.S ;
-
 SEARCH on [ FGristFiles $(bios_ia32_src) ]
        = [ FDirName $(SUBDIR) $(DOTDOT) bios_ia32 ] ;
 


Other related posts:

  • » [haiku-commits] r39881 - haiku/trunk/src/system/boot/platform/pxe_ia32 - marcusoverhagen