view xen/include/asm-x86/mach-generic/mach_mpparse.h @ 15812:86a154e1ef5d

[HVM] Shadow: don't shadow the p2m table.
For HVM vcpus with paging disabled, we used to shadow the p2m table,
and skip the p2m lookup to go from gfn to mfn. Instead, we now
provide a simple pagetable that gives a one-to-one mapping of 4GB, and
shadow that, making the translations from gfn to mfn via the p2m.
This removes the paging-disabled special-case code from the shadow
fault handler, and allows us to expand the p2m interface, since all HVM
translations now go through the same p2m lookups.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
author Tim Deegan <Tim.Deegan@xensource.com>
date Fri Aug 31 11:06:22 2007 +0100 (2007-08-31)
parents 88e6bd5e2b54
line source
1 #ifndef _MACH_MPPARSE_H
2 #define _MACH_MPPARSE_H 1
4 static inline void mpc_oem_bus_info(struct mpc_config_bus *m, char *name,
5 struct mpc_config_translation *translation)
6 {
7 Dprintk("Bus #%d is %s\n", m->mpc_busid, name);
8 }
10 static inline void mpc_oem_pci_bus(struct mpc_config_bus *m,
11 struct mpc_config_translation *translation)
12 {
13 }
15 int mps_oem_check(struct mp_config_table *mpc, char *oem, char *productid);
16 int acpi_madt_oem_check(char *oem_id, char *oem_table_id);
18 #endif