diff options
author | Keir Fraser <keir@xen.org> | 2010-11-09 11:50:14 +0000 |
---|---|---|
committer | Keir Fraser <keir@xen.org> | 2010-11-09 11:50:14 +0000 |
commit | 9f41c22a559a7ec039a195f6dc8bca32c66fcd5a (patch) | |
tree | 5653b49c08df067083bd24123a2cbb5539c2ede7 /xen/include/asm-x86/setup.h | |
parent | 5a771800114c437fb857b44b3ed74f60e87979c2 (diff) | |
download | xen-9f41c22a559a7ec039a195f6dc8bca32c66fcd5a.tar.gz xen-9f41c22a559a7ec039a195f6dc8bca32c66fcd5a.tar.bz2 xen-9f41c22a559a7ec039a195f6dc8bca32c66fcd5a.zip |
x86: allow passing initrd to kernel without exposing it through the initial mapping
The (Dom0 only for now) kernel can indicate that it doesn't need its
initrd mapped through a newly added ELF note - it gets passed the PFN
of the initrd in this case instead of the virtual address.
Even for kernels not making use of the new feature, the initrd will
no longer get copied into the initial mapping, but the memory it lives
in will get assigned to and mapped for the guest instead.
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/include/asm-x86/setup.h b/xen/include/asm-x86/setup.h index d157196f47..5f3e65c374 100644 --- a/xen/include/asm-x86/setup.h +++ b/xen/include/asm-x86/setup.h @@ -30,7 +30,7 @@ void vesa_mtrr_init(void); int construct_dom0( struct domain *d, const module_t *kernel, unsigned long kernel_headroom, - const module_t *initrd, + module_t *initrd, void *(*bootstrap_map)(const module_t *), char *cmdline); |