ia64/xen-unstable

changeset 8959:229c602a075a

Allow Xen to truncate x86_32 segment limits to the correct value
rather than hardcoding them in each guest kernel.

Signed-off-by: Ian Campbell <Ian.Campbell@XenSource.com>
author Ian.Campbell@xensource.com
date Wed Feb 22 15:13:08 2006 +0000 (2006-02-22)
parents b41e19644271
children 2d3124df8a0e
files linux-2.6-xen-sparse/arch/i386/kernel/head-xen.S
line diff
     1.1 --- a/linux-2.6-xen-sparse/arch/i386/kernel/head-xen.S	Wed Feb 22 16:02:54 2006 +0100
     1.2 +++ b/linux-2.6-xen-sparse/arch/i386/kernel/head-xen.S	Wed Feb 22 15:13:08 2006 +0000
     1.3 @@ -119,17 +119,10 @@ ENTRY(cpu_gdt_table)
     1.4  	.quad 0x0000000000000000	/* 0x53 reserved */
     1.5  	.quad 0x0000000000000000	/* 0x5b reserved */
     1.6  
     1.7 -#ifdef CONFIG_X86_PAE
     1.8 -	.quad 0x00cfbb00000067ff	/* 0x60 kernel 4GB code at 0x00000000 */
     1.9 -	.quad 0x00cfb300000067ff	/* 0x68 kernel 4GB data at 0x00000000 */
    1.10 -	.quad 0x00cffb00000067ff	/* 0x73 user 4GB code at 0x00000000 */
    1.11 -	.quad 0x00cff300000067ff	/* 0x7b user 4GB data at 0x00000000 */
    1.12 -#else
    1.13 -	.quad 0x00cfbb000000c3ff	/* 0x60 kernel 4GB code at 0x00000000 */
    1.14 -	.quad 0x00cfb3000000c3ff	/* 0x68 kernel 4GB data at 0x00000000 */
    1.15 -	.quad 0x00cffb000000c3ff	/* 0x73 user 4GB code at 0x00000000 */
    1.16 -	.quad 0x00cff3000000c3ff	/* 0x7b user 4GB data at 0x00000000 */
    1.17 -#endif
    1.18 +	.quad 0x00cfbb000000ffff	/* 0x60 kernel 4GB code at 0x00000000 */
    1.19 +	.quad 0x00cfb3000000ffff	/* 0x68 kernel 4GB data at 0x00000000 */
    1.20 +	.quad 0x00cffb000000ffff	/* 0x73 user 4GB code at 0x00000000 */
    1.21 +	.quad 0x00cff3000000ffff	/* 0x7b user 4GB data at 0x00000000 */
    1.22  
    1.23  	.quad 0x0000000000000000	/* 0x80 TSS descriptor */
    1.24  	.quad 0x0000000000000000	/* 0x88 LDT descriptor */