diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-08-06 09:15:42 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-08-06 09:15:42 +0100 |
commit | 70fc2398f035f16a1e6e6fc99af73e4d539a40c2 (patch) | |
tree | 4b7abf7ffe9477c7382ff631ba1f1b0612a33a39 /xen/include/asm-x86/mtrr.h | |
parent | 376235d7ced0dd3e91a73596aeed3d7430dbe0af (diff) | |
download | xen-70fc2398f035f16a1e6e6fc99af73e4d539a40c2.tar.gz xen-70fc2398f035f16a1e6e6fc99af73e4d539a40c2.tar.bz2 xen-70fc2398f035f16a1e6e6fc99af73e4d539a40c2.zip |
ept mtrr: replace unsigned long with mfn_t for mfns.
Signed-off-by: Patrick Colp <Patrick.Colp@citrix.com>
Diffstat (limited to 'xen/include/asm-x86/mtrr.h')
-rw-r--r-- | xen/include/asm-x86/mtrr.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xen/include/asm-x86/mtrr.h b/xen/include/asm-x86/mtrr.h index 8793220a28..6ac29fa54c 100644 --- a/xen/include/asm-x86/mtrr.h +++ b/xen/include/asm-x86/mtrr.h @@ -2,6 +2,7 @@ #define __ASM_X86_MTRR_H__ #include <xen/config.h> +#include <asm/mm.h> /* These are the region types. They match the architectural specification. */ #define MTRR_TYPE_UNCACHABLE 0 @@ -66,7 +67,7 @@ extern void mtrr_centaur_report_mcr(int mcr, u32 lo, u32 hi); extern u32 get_pat_flags(struct vcpu *v, u32 gl1e_flags, paddr_t gpaddr, paddr_t spaddr, uint8_t gmtrr_mtype); extern uint8_t epte_get_entry_emt( - struct domain *d, unsigned long gfn, unsigned long mfn, + struct domain *d, unsigned long gfn, mfn_t mfn, uint8_t *igmt, int direct_mmio); extern void ept_change_entry_emt_with_range( struct domain *d, unsigned long start_gfn, unsigned long end_gfn); |