ia64/xen-unstable

diff xen/include/asm-ia64/linux-xen/asm/pgtable.h @ 10786:86e5d8458c08

[IA64] live migration

Shadow mode and live migration.

Virtualize Dirty bit.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
author awilliam@xenbuild.aw
date Wed Jul 26 09:36:36 2006 -0600 (2006-07-26)
parents f02d59f9b11f
children 27ccf13dc3b7
line diff
     1.1 --- a/xen/include/asm-ia64/linux-xen/asm/pgtable.h	Wed Jul 26 09:02:43 2006 -0600
     1.2 +++ b/xen/include/asm-ia64/linux-xen/asm/pgtable.h	Wed Jul 26 09:36:36 2006 -0600
     1.3 @@ -62,7 +62,12 @@
     1.4  #define _PAGE_D			(1 << _PAGE_D_BIT)	/* page dirty bit */
     1.5  #define _PAGE_PPN_MASK		(((__IA64_UL(1) << IA64_MAX_PHYS_BITS) - 1) & ~0xfffUL)
     1.6  #define _PAGE_ED		(__IA64_UL(1) << 52)	/* exception deferral */
     1.7 +#ifdef XEN
     1.8 +#define _PAGE_VIRT_D		(__IA64_UL(1) << 53)	/* Virtual dirty bit */
     1.9 +#define _PAGE_PROTNONE		0
    1.10 +#else
    1.11  #define _PAGE_PROTNONE		(__IA64_UL(1) << 63)
    1.12 +#endif
    1.13  
    1.14  /* Valid only for a PTE with the present bit cleared: */
    1.15  #define _PAGE_FILE		(1 << 1)		/* see swap & file pte remarks below */