diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-05-02 15:08:27 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-05-02 15:08:27 +0100 |
commit | 4fe64c6d1b6c1e81901ed9fc3e4498fb578b6d91 (patch) | |
tree | 4ea3659b511b1c865a14d1c4f63aa7cf9c40df85 /xen/include/asm-x86/types.h | |
parent | 3238785d35b0cef87d619a1bdaa12dcd7032cf14 (diff) | |
download | xen-4fe64c6d1b6c1e81901ed9fc3e4498fb578b6d91.tar.gz xen-4fe64c6d1b6c1e81901ed9fc3e4498fb578b6d91.tar.bz2 xen-4fe64c6d1b6c1e81901ed9fc3e4498fb578b6d91.zip |
shadow: track video RAM dirty bits
This adds a new HVM op that enables tracking dirty bits of a range of
video RAM. The idea is to optimize just for the most common case
(only one guest mapping, with sometimes some temporary other
mappings), which permits to keep the overhead on shadow as low as
possible.
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Diffstat (limited to 'xen/include/asm-x86/types.h')
-rw-r--r-- | xen/include/asm-x86/types.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xen/include/asm-x86/types.h b/xen/include/asm-x86/types.h index fd2fd069b6..4a08b22df9 100644 --- a/xen/include/asm-x86/types.h +++ b/xen/include/asm-x86/types.h @@ -38,15 +38,18 @@ typedef signed long long s64; typedef unsigned long long u64; #if defined(CONFIG_X86_PAE) typedef u64 paddr_t; +#define INVALID_PADDR (~0ULL) #define PRIpaddr "016llx" #else typedef unsigned long paddr_t; +#define INVALID_PADDR (~0UL) #define PRIpaddr "08lx" #endif #elif defined(__x86_64__) typedef signed long s64; typedef unsigned long u64; typedef unsigned long paddr_t; +#define INVALID_PADDR (~0UL) #define PRIpaddr "016lx" #endif |