diff options
author | Hollis Blanchard <hollisb@us.ibm.com> | 2007-03-01 13:18:51 -0600 |
---|---|---|
committer | Hollis Blanchard <hollisb@us.ibm.com> | 2007-03-01 13:18:51 -0600 |
commit | e63574cd5f5a6862285212b5434878dceb11ec91 (patch) | |
tree | 860f80884d88a8959cec5e50bc1d03e96ec6d125 /xen/include/asm-x86/shadow.h | |
parent | 244fb3f4bf758b78829fb876eda75f4b9acd1980 (diff) | |
download | xen-e63574cd5f5a6862285212b5434878dceb11ec91.tar.gz xen-e63574cd5f5a6862285212b5434878dceb11ec91.tar.bz2 xen-e63574cd5f5a6862285212b5434878dceb11ec91.zip |
[XEN] Add arch hook for max_mem domctl.
This patch introduces an arch hook in the MAX_MEM hcall. In particular, PowerPC
will use this hook to create/update a p2m mapping array. This patch introduces
the hook only and should compile away on all arches.
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
--HG--
extra : transplant_source : %BD%0B%97%A5i%FE%9F%5C%99%C2%01S%80%B6%C0%F0%82_l%A3
Diffstat (limited to 'xen/include/asm-x86/shadow.h')
-rw-r--r-- | xen/include/asm-x86/shadow.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/include/asm-x86/shadow.h b/xen/include/asm-x86/shadow.h index cfd8e841c8..e08b971e7a 100644 --- a/xen/include/asm-x86/shadow.h +++ b/xen/include/asm-x86/shadow.h @@ -121,6 +121,8 @@ static inline void shadow_remove_all_shadows(struct vcpu *v, mfn_t gmfn) sh_remove_shadows(v, gmfn, 0 /* Be thorough */, 1 /* Must succeed */); } +#define guest_physmap_max_mem_pages(d, n) (0) + #endif /* _XEN_SHADOW_H */ /* |