ia64/xen-unstable

changeset 14395:fa3d25355aa2

[XEN] 32on64 kexec: Make the compat page table cover the first 4G of physical memory.

This gives the guest kernel more flexibility on where it places the control page.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
author Ian Campbell <ian.campbell@xensource.com>
date Wed Mar 14 16:36:04 2007 +0000 (2007-03-14)
parents 35c9a1939ae4
children a1daade92952
files xen/arch/x86/x86_64/compat_kexec.S
line diff
     1.1 --- a/xen/arch/x86/x86_64/compat_kexec.S	Wed Mar 14 12:49:40 2007 +0000
     1.2 +++ b/xen/arch/x86/x86_64/compat_kexec.S	Wed Mar 14 16:36:04 2007 +0000
     1.3 @@ -103,13 +103,13 @@ compat_page_list:
     1.4  
     1.5          /*
     1.6           * These compat page tables contain an identity mapping of the
     1.7 -         * first 1G of the physical address space.
     1.8 +         * first 4G of the physical address space.
     1.9           */
    1.10  compat_pg_table:
    1.11          .long compat_pg_table_l2 + 0*PAGE_SIZE + 0x01 - __PAGE_OFFSET, 0
    1.12 -        .long 0, 0
    1.13 -        .long 0, 0
    1.14 -        .long 0, 0
    1.15 +        .long compat_pg_table_l2 + 1*PAGE_SIZE + 0x01 - __PAGE_OFFSET, 0
    1.16 +        .long compat_pg_table_l2 + 2*PAGE_SIZE + 0x01 - __PAGE_OFFSET, 0
    1.17 +        .long compat_pg_table_l2 + 3*PAGE_SIZE + 0x01 - __PAGE_OFFSET, 0
    1.18  
    1.19          .align 4096,0
    1.20  
    1.21 @@ -123,4 +123,7 @@ compat_pg_table_l2:
    1.22          .endif
    1.23          .endm
    1.24  
    1.25 -        identmap
    1.26 +        identmap 0x00000000
    1.27 +        identmap 0x40000000
    1.28 +        identmap 0x80000000
    1.29 +        identmap 0xc0000000