diff options
author | Keir Fraser <keir@xensource.com> | 2007-11-13 19:21:00 +0000 |
---|---|---|
committer | Keir Fraser <keir@xensource.com> | 2007-11-13 19:21:00 +0000 |
commit | 1619a1757fe75a4229728b555494218e9fc84caa (patch) | |
tree | a90116f1852bdeadabda6620c0d5e3bcd45a0bcd /xen/arch/x86/boot/x86_64.S | |
parent | dd7c8c5aef8d00d6bc6c93e5678e497b8af0dd5e (diff) | |
download | xen-1619a1757fe75a4229728b555494218e9fc84caa.tar.gz xen-1619a1757fe75a4229728b555494218e9fc84caa.tar.bz2 xen-1619a1757fe75a4229728b555494218e9fc84caa.zip |
x86: GDT reserved page should be a full page.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/arch/x86/boot/x86_64.S')
-rw-r--r-- | xen/arch/x86/boot/x86_64.S | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/xen/arch/x86/boot/x86_64.S b/xen/arch/x86/boot/x86_64.S index 46c34c1702..07756e9024 100644 --- a/xen/arch/x86/boot/x86_64.S +++ b/xen/arch/x86/boot/x86_64.S @@ -105,8 +105,6 @@ ENTRY(gdt_table) .quad 0x00cff2000000ffff /* 0xe02b ring 3 data */ .quad 0x00affa000000ffff /* 0xe033 ring 3 code, 64-bit mode */ .quad 0x00cf9a000000ffff /* 0xe038 ring 0 code, compatibility */ - .org gdt_table - FIRST_RESERVED_GDT_BYTE + __TSS(0) * 8 - .fill 4*NR_CPUS,8,0 /* space for TSS and LDT per CPU */ .align PAGE_SIZE, 0 /* NB. Even rings != 0 get access to the full 4Gb, as only the */ @@ -120,5 +118,4 @@ ENTRY(compat_gdt_table) .quad 0x00cffa000000ffff /* 0xe02b ring 3 code, compatibility */ .quad 0x00cff2000000ffff /* 0xe033 ring 3 data */ .quad 0x00cf9a000000ffff /* 0xe038 ring 0 code, compatibility */ - .org compat_gdt_table - FIRST_RESERVED_GDT_BYTE + __TSS(0) * 8 - .fill 4*NR_CPUS,8,0 /* space for TSS and LDT per CPU */ + .align PAGE_SIZE, 0 |