[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 11/17] x86: provide stubs for entry point
Instead of trying to split up entry.S and compat/entry.S, simply provide some stubs for them. Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx> --- xen/arch/x86/x86_64/Makefile | 5 +++++- xen/arch/x86/x86_64/no-pv.c | 41 +++++++++++++++++++++++++++++++++++++- 2 files changed, 46 insertions(+) create mode 100644 xen/arch/x86/x86_64/no-pv.c diff --git a/xen/arch/x86/x86_64/Makefile b/xen/arch/x86/x86_64/Makefile index f336a6a..6cf38a0 100644 --- a/xen/arch/x86/x86_64/Makefile +++ b/xen/arch/x86/x86_64/Makefile @@ -8,6 +8,11 @@ obj-y += acpi_mmcfg.o obj-y += mmconf-fam10h.o obj-y += mmconfig_64.o obj-y += mmconfig-shared.o + +ifneq ($(CONFIG_PV),y) +obj-y += no-pv.o +endif + obj-y += domain.o obj-y += cpu_idle.o obj-y += cpufreq.o diff --git a/xen/arch/x86/x86_64/no-pv.c b/xen/arch/x86/x86_64/no-pv.c new file mode 100644 index 0000000..b8dec9a --- /dev/null +++ b/xen/arch/x86/x86_64/no-pv.c @@ -0,0 +1,41 @@ +#include <xen/lib.h> + +struct cpu_user_regs; +struct vcpu; + +void do_entry_int82(struct cpu_user_regs *regs) +{ + ASSERT_UNREACHABLE(); +} + +bool set_guest_machinecheck_trapbounce(void) +{ + ASSERT_UNREACHABLE(); + return false; +} + +bool set_guest_nmi_trapbounce(void) +{ + ASSERT_UNREACHABLE(); + return false; +} + +void pv_hypercall(struct cpu_user_regs *regs) +{ + ASSERT_UNREACHABLE(); +} + +void toggle_guest_mode(struct vcpu *v) +{ + ASSERT_UNREACHABLE(); +} + +/* + * Local variables: + * mode: C + * c-file-style: "BSD" + * c-basic-offset: 4 + * tab-width: 4 + * indent-tabs-mode: nil + * End: + */ -- git-series 0.9.1 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |