diff options
author | Jan Beulich <jbeulich@suse.com> | 2012-09-11 16:04:49 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2012-09-11 16:04:49 +0200 |
commit | 9badeb5dcd4deaebcab6d736943b8ffc2afdacb3 (patch) | |
tree | 80bd65a8aac04a148a196ff24e596dcc3d8901bf /xen/arch/x86/xen.lds.S | |
parent | a495404575be41b26d86464b1ecc33c4a0d4b90f (diff) | |
download | xen-9badeb5dcd4deaebcab6d736943b8ffc2afdacb3.tar.gz xen-9badeb5dcd4deaebcab6d736943b8ffc2afdacb3.tar.bz2 xen-9badeb5dcd4deaebcab6d736943b8ffc2afdacb3.zip |
x86-64: construct static, uniform parts of page tables at build time
... rather than at boot time, removing unnecessary redundancy between
EFI and legacy boot code.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/arch/x86/xen.lds.S')
-rw-r--r-- | xen/arch/x86/xen.lds.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xen/arch/x86/xen.lds.S b/xen/arch/x86/xen.lds.S index 939ff11f3a..5310c84d05 100644 --- a/xen/arch/x86/xen.lds.S +++ b/xen/arch/x86/xen.lds.S @@ -42,6 +42,10 @@ PHDRS } SECTIONS { +#if defined(__x86_64__) && !defined(EFI) + . = __XEN_VIRT_START; + __image_base__ = .; +#endif . = __XEN_VIRT_START + 0x100000; _start = .; .text : { |