Author: myles
Date: 2007-12-13 19:09:30 +0100 (Thu, 13 Dec 2007)
New Revision: 84

Removed:
   buildrom-devel/packages/linuxbios/patches/lgdt.patch
Modified:
   buildrom-devel/Config.in
   buildrom-devel/packages/linuxbios/qemu.mk
Log:
This patch removes the option from buildrom to use the lgdt patch for
LinuxBIOSv3.

On a compiler that doesn't need the patch, this patch makes the image
unbootable.


Modified: buildrom-devel/Config.in
===================================================================
--- buildrom-devel/Config.in    2007-12-12 22:54:25 UTC (rev 83)
+++ buildrom-devel/Config.in    2007-12-13 18:09:30 UTC (rev 84)
@@ -54,16 +54,6 @@
        help
          Use the v3 tree.  LinuxBIOSv3 doesn't support all platforms yet.
 
-config LINUXBIOS_V3_LGDT_PATCH
-       bool "Avoid an error in stage0_i586 with some compilers"
-       depends LINUXBIOS_V3
-       default n
-       help
-         Say 'y' here to use the patch from the mailing list to replace 
-         "data32  lgdt %cs:gdtptr" with 
-         "movl $gdtptr"
-          "%ebx lgdt %cs:(%bx)"
-
 config USE_LZMA
        bool "Enable LZMA compression"
        depends !PAYLOAD_OFW

Deleted: buildrom-devel/packages/linuxbios/patches/lgdt.patch
===================================================================
--- buildrom-devel/packages/linuxbios/patches/lgdt.patch        2007-12-12 
22:54:25 UTC (rev 83)
+++ buildrom-devel/packages/linuxbios/patches/lgdt.patch        2007-12-13 
18:09:30 UTC (rev 84)
@@ -1,14 +0,0 @@
-Index: svn/arch/x86/stage0_i586.S
-===================================================================
---- svn/arch/x86/stage0_i586.S (revision 539)
-+++ svn/arch/x86/stage0_i586.S (working copy)
-@@ -56,7 +56,8 @@
-        * the ld hackery and other things. So leave it as is with this 
comment. 
-        */
- 
--      data32  lgdt %cs:gdtptr
-+      movl    $gdtptr, %ebx
-+      lgdt    %cs:(%bx)
- 
-       movl    %cr0, %eax
-       andl    $0x7FFAFFD1, %eax /* PG,AM,WP,NE,TS,EM,MP = 0 */

Modified: buildrom-devel/packages/linuxbios/qemu.mk
===================================================================
--- buildrom-devel/packages/linuxbios/qemu.mk   2007-12-12 22:54:25 UTC (rev 83)
+++ buildrom-devel/packages/linuxbios/qemu.mk   2007-12-13 18:09:30 UTC (rev 84)
@@ -17,9 +17,6 @@
 ifeq ($(CONFIG_LINUXBIOS_V3),y)
        LINUXBIOS_URL=svn://linuxbios.org/repository/LinuxBIOSv3
        LINUXBIOS_TARBALL=linuxbiosv3-svn-$(LINUXBIOS_TAG).tar.gz
-       ifeq ($(CONFIG_LINUXBIOS_V3_LGDT_PATCH),y)
-       LINUXBIOS_PATCHES += $(PACKAGE_DIR)/linuxbios/patches/lgdt.patch
-       endif
        LINUXBIOS_SVN_DIR=$(SOURCE_DIR)/linuxbiosv3
 else
        ifeq ($(CONFIG_PAYLOAD_LAB),y)


-- 
linuxbios mailing list
linuxbios@linuxbios.org
http://www.linuxbios.org/mailman/listinfo/linuxbios

Reply via email to