patch-2.2.0-pre8 linux/arch/i386/kernel/head.S

Next file: linux/arch/i386/kernel/process.c
Previous file: linux/arch/i386/kernel/entry.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.0-pre7/linux/arch/i386/kernel/head.S linux/arch/i386/kernel/head.S
@@ -534,10 +534,14 @@
 	.quad 0x00cff2000000ffff	/* 0x2b user   4GB data at 0x00000000 */
 	.quad 0x0000000000000000	/* not used */
 	.quad 0x0000000000000000	/* not used */
-	.quad 0x00c0920000000000	/* 0x40 APM set up for bad BIOS's */
-	.quad 0x00c09a0000000000	/* 0x48 APM CS    code */
-	.quad 0x00809a0000000000	/* 0x50 APM CS 16 code (16 bit) */
-	.quad 0x00c0920000000000	/* 0x58 APM DS    data */
+	/*
+	 * The APM segments have byte granularity and their bases
+	 * and limits are set at run time.
+	 */
+	.quad 0x0040920000000000	/* 0x40 APM set up for bad BIOS's */
+	.quad 0x00409a0000000000	/* 0x48 APM CS    code */
+	.quad 0x00009a0000000000	/* 0x50 APM CS 16 code (16 bit) */
+	.quad 0x0040920000000000	/* 0x58 APM DS    data */
 	.fill 2*NR_TASKS,8,0		/* space for LDT's and TSS's etc */
 
 /*

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov