[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Fix special backptr values on x86/64 to avoid spurious
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxx # Node ID d6e64adbff0406b2bec4b7bb9ba950e5e668717e # Parent bf9351732ddf2bd2e48b88eaa0afb5e7f6fff0a8 Fix special backptr values on x86/64 to avoid spurious wrpt emulations. Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx> Signed-off-by: Jun Nakajima <jun.nakajima@xxxxxxxxx> diff -r bf9351732ddf -r d6e64adbff04 xen/include/asm-x86/mm.h --- a/xen/include/asm-x86/mm.h Mon Aug 15 07:26:04 2005 +++ b/xen/include/asm-x86/mm.h Mon Aug 15 07:45:42 2005 @@ -90,12 +90,9 @@ #define PGT_va_shift 32 #define PGT_va_mask ((unsigned long)((1U<<28)-1)<<PGT_va_shift) /* Is the back pointer still mutable (i.e. not fixed yet)? */ - /* Use PML4 slot for HYPERVISOR_VIRT_START. - 18 = L4_PAGETABLE_SHIFT - L2_PAGETABLE_SHIFT */ -#define PGT_va_mutable ((unsigned long)(256U<<18)<<PGT_va_shift) +#define PGT_va_mutable ((unsigned long)((1U<<28)-1)<<PGT_va_shift) /* Is the back pointer unknown (e.g., p.t. is mapped at multiple VAs)? */ - /* Use PML4 slot for HYPERVISOR_VIRT_START + 1 */ -#define PGT_va_unknown ((unsigned long)(257U<<18)<<PGT_va_shift) +#define PGT_va_unknown ((unsigned long)((1U<<28)-2)<<PGT_va_shift) #endif /* 16-bit count of uses of this frame as its current type. */ _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |