Changeset View
Changeset View
Standalone View
Standalone View
sys/x86/xen/pv.c
Show First 20 Lines • Show All 68 Lines • ▼ Show 20 Lines | |||||
#include <machine/md_var.h> | #include <machine/md_var.h> | ||||
#include <machine/metadata.h> | #include <machine/metadata.h> | ||||
#include <xen/xen-os.h> | #include <xen/xen-os.h> | ||||
#include <xen/hvm.h> | #include <xen/hvm.h> | ||||
#include <xen/hypervisor.h> | #include <xen/hypervisor.h> | ||||
#include <xen/xenstore/xenstorevar.h> | #include <xen/xenstore/xenstorevar.h> | ||||
#include <xen/xen_pv.h> | #include <xen/xen_pv.h> | ||||
#include <xen/xen_msi.h> | |||||
#include <xen/interface/arch-x86/hvm/start_info.h> | #include <xen/interface/arch-x86/hvm/start_info.h> | ||||
#include <xen/interface/vcpu.h> | #include <xen/interface/vcpu.h> | ||||
#include <dev/xen/timer/timer.h> | #include <dev/xen/timer/timer.h> | ||||
#ifdef DDB | #ifdef DDB | ||||
#include <ddb/ddb.h> | #include <ddb/ddb.h> | ||||
Show All 30 Lines | |||||
extern uint32_t end; | extern uint32_t end; | ||||
/*-------------------------------- Global Data -------------------------------*/ | /*-------------------------------- Global Data -------------------------------*/ | ||||
struct init_ops xen_pvh_init_ops = { | struct init_ops xen_pvh_init_ops = { | ||||
.parse_preload_data = xen_pvh_parse_preload_data, | .parse_preload_data = xen_pvh_parse_preload_data, | ||||
.early_clock_source_init = xen_clock_init, | .early_clock_source_init = xen_clock_init, | ||||
.early_delay = xen_delay, | .early_delay = xen_delay, | ||||
.parse_memmap = xen_pvh_parse_memmap, | .parse_memmap = xen_pvh_parse_memmap, | ||||
#ifdef SMP | |||||
.mp_bootaddress = mp_bootaddress, | |||||
.start_all_aps = native_start_all_aps, | |||||
#endif | |||||
.msi_init = msi_init, | |||||
}; | }; | ||||
static struct bios_smap xen_smap[MAX_E820_ENTRIES]; | static struct bios_smap xen_smap[MAX_E820_ENTRIES]; | ||||
static struct hvm_start_info *start_info; | static struct hvm_start_info *start_info; | ||||
/*-------------------------------- Xen PV init -------------------------------*/ | /*-------------------------------- Xen PV init -------------------------------*/ | ||||
▲ Show 20 Lines • Show All 360 Lines • Show Last 20 Lines |