diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2010-10-22 15:14:51 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2010-10-22 15:14:51 +0100 |
commit | 231c3160913a957cb9aeb693a7966ac3f8ecc780 (patch) | |
tree | a12d65e9125a77388c212a7791d38c76ae4ef88c /tools/libxc/xg_private.h | |
parent | 79647c5bc9c62feeed8a1e50e7c73001ae10b23d (diff) | |
download | xen-231c3160913a957cb9aeb693a7966ac3f8ecc780.tar.gz xen-231c3160913a957cb9aeb693a7966ac3f8ecc780.tar.bz2 xen-231c3160913a957cb9aeb693a7966ac3f8ecc780.zip |
libxc: convert shadow domctl interfaces and save/restore over to hypercall buffers
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson.citrix.com>
Diffstat (limited to 'tools/libxc/xg_private.h')
-rw-r--r-- | tools/libxc/xg_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/libxc/xg_private.h b/tools/libxc/xg_private.h index 6f3e93ad03..a29fa26665 100644 --- a/tools/libxc/xg_private.h +++ b/tools/libxc/xg_private.h @@ -157,6 +157,7 @@ typedef l4_pgentry_64_t l4_pgentry_t; #define PAGE_MASK_IA64 (~(PAGE_SIZE_IA64-1)) #define ROUNDUP(_x,_w) (((unsigned long)(_x)+(1UL<<(_w))-1) & ~((1UL<<(_w))-1)) +#define NRPAGES(x) (ROUNDUP(x, PAGE_SHIFT) >> PAGE_SHIFT) /* XXX SMH: following skanky macros rely on variable p2m_size being set */ |