[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Allow Xen to truncate x86_32 segment limits to the correct value
# HG changeset patch # User Ian.Campbell@xxxxxxxxxxxxx # Node ID 229c602a075a9fe16cb8797a6d5d718eb2deb18c # Parent b41e196442712ce92ed482c1310db33354ea7fc8 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@xxxxxxxxxxxxx> diff -r b41e19644271 -r 229c602a075a linux-2.6-xen-sparse/arch/i386/kernel/head-xen.S --- a/linux-2.6-xen-sparse/arch/i386/kernel/head-xen.S Wed Feb 22 15:02:54 2006 +++ b/linux-2.6-xen-sparse/arch/i386/kernel/head-xen.S Wed Feb 22 15:13:08 2006 @@ -119,17 +119,10 @@ .quad 0x0000000000000000 /* 0x53 reserved */ .quad 0x0000000000000000 /* 0x5b reserved */ -#ifdef CONFIG_X86_PAE - .quad 0x00cfbb00000067ff /* 0x60 kernel 4GB code at 0x00000000 */ - .quad 0x00cfb300000067ff /* 0x68 kernel 4GB data at 0x00000000 */ - .quad 0x00cffb00000067ff /* 0x73 user 4GB code at 0x00000000 */ - .quad 0x00cff300000067ff /* 0x7b user 4GB data at 0x00000000 */ -#else - .quad 0x00cfbb000000c3ff /* 0x60 kernel 4GB code at 0x00000000 */ - .quad 0x00cfb3000000c3ff /* 0x68 kernel 4GB data at 0x00000000 */ - .quad 0x00cffb000000c3ff /* 0x73 user 4GB code at 0x00000000 */ - .quad 0x00cff3000000c3ff /* 0x7b user 4GB data at 0x00000000 */ -#endif + .quad 0x00cfbb000000ffff /* 0x60 kernel 4GB code at 0x00000000 */ + .quad 0x00cfb3000000ffff /* 0x68 kernel 4GB data at 0x00000000 */ + .quad 0x00cffb000000ffff /* 0x73 user 4GB code at 0x00000000 */ + .quad 0x00cff3000000ffff /* 0x7b user 4GB data at 0x00000000 */ .quad 0x0000000000000000 /* 0x80 TSS descriptor */ .quad 0x0000000000000000 /* 0x88 LDT descriptor */ _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |