annotate xen/include/asm-x86/perfc.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 9727328c008e
children 5848b49b74fc
rev   line source
kaf24@10982 1 #ifndef __ASM_PERFC_H__
kaf24@10982 2 #define __ASM_PERFC_H__
kaf24@10982 3 #include <asm/mm.h>
kaf24@10982 4
kfraser@11084 5 static inline void arch_perfc_printall(void)
kaf24@10982 6 {
kaf24@10982 7 }
kaf24@10982 8
kfraser@11084 9 static inline void arch_perfc_reset(void)
kaf24@10982 10 {
kaf24@10982 11 }
kaf24@10982 12
kfraser@11084 13 static inline void arch_perfc_gather(void)
kaf24@10982 14 {
kaf24@10982 15 }
kaf24@10982 16
kaf24@10982 17 #endif