diff options
author | Keir Fraser <keir@xen.org> | 2010-11-09 11:49:49 +0000 |
---|---|---|
committer | Keir Fraser <keir@xen.org> | 2010-11-09 11:49:49 +0000 |
commit | 5a771800114c437fb857b44b3ed74f60e87979c2 (patch) | |
tree | a9a1089b753cdfb65757b08c6406d1721d989ad3 /xen/include/asm-x86/setup.h | |
parent | e04aea7477c379e904e7520bdfa2f42284427a97 (diff) | |
download | xen-5a771800114c437fb857b44b3ed74f60e87979c2.tar.gz xen-5a771800114c437fb857b44b3ed74f60e87979c2.tar.bz2 xen-5a771800114c437fb857b44b3ed74f60e87979c2.zip |
x86: do away with the boot time low-memory 1:1 mapping
By doing so, we're no longer restricted to be able to place all boot
loader modules into the low 1Gb/4Gb (32-/64-bit) of memory, nor is
there a dependency anymore on where the boot loader places the
modules.
We're also no longer restricted to copy the modules into a place below
4Gb, nor to put them all together into a single piece of memory.
Further it allows even the 32-bit Dom0 kernel to be loaded anywhere in
physical memory (except if it doesn't support PAE-above-4G).
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/include/asm-x86/setup.h')
-rw-r--r-- | xen/include/asm-x86/setup.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/xen/include/asm-x86/setup.h b/xen/include/asm-x86/setup.h index 743793ab34..d157196f47 100644 --- a/xen/include/asm-x86/setup.h +++ b/xen/include/asm-x86/setup.h @@ -1,6 +1,8 @@ #ifndef __X86_SETUP_H_ #define __X86_SETUP_H_ +#include <xen/multiboot.h> + extern int early_boot; extern unsigned long xenheap_initial_phys_start; @@ -25,4 +27,14 @@ void init_IRQ(void); void vesa_init(void); void vesa_mtrr_init(void); +int construct_dom0( + struct domain *d, + const module_t *kernel, unsigned long kernel_headroom, + const module_t *initrd, + void *(*bootstrap_map)(const module_t *), + char *cmdline); + +unsigned long initial_images_nrpages(void); +void discard_initial_images(void); + #endif |