debuggers.hg

view xen/include/asm-x86/setup.h @ 22855:1d1eec7e1fb4

xl: Perform minimal validation of virtual disk file while parsing config file

This patch performs some very basic validation on the virtual disk
file passed through the config file. This validation ensures that we
don't go too far with the initialization like spawn qemu and more
while there could be some potentially fundamental issues.

[ Patch fixed up to work with PHYSTYPE_EMPTY 22808:6ec61438713a -iwj ]

Signed-off-by: Kamala Narasimhan <kamala.narasimhan@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
author Kamala Narasimhan <kamala.narasimhan@gmail.com>
date Tue Jan 25 18:09:49 2011 +0000 (2011-01-25)
parents e8acb9753ff1
children
line source
1 #ifndef __X86_SETUP_H_
2 #define __X86_SETUP_H_
4 #include <xen/multiboot.h>
6 extern bool_t early_boot;
7 extern s8 xen_cpuidle;
8 extern unsigned long xenheap_initial_phys_start;
10 void init_done(void);
12 void early_cpu_init(void);
13 void early_time_init(void);
14 void early_page_fault(void);
16 int intel_cpu_init(void);
17 int amd_init_cpu(void);
18 int cyrix_init_cpu(void);
19 int nsc_init_cpu(void);
20 int centaur_init_cpu(void);
21 int transmeta_init_cpu(void);
23 void numa_initmem_init(unsigned long start_pfn, unsigned long end_pfn);
24 void arch_init_memory(void);
25 void subarch_init_memory(void);
27 void init_IRQ(void);
28 void vesa_init(void);
29 void vesa_mtrr_init(void);
31 int construct_dom0(
32 struct domain *d,
33 const module_t *kernel, unsigned long kernel_headroom,
34 module_t *initrd,
35 void *(*bootstrap_map)(const module_t *),
36 char *cmdline);
38 unsigned long initial_images_nrpages(void);
39 void discard_initial_images(void);
41 #endif