[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Fix 64bit shadow tracking
# HG changeset patch # User tdeegan@xxxxxxxxxxxxxxxxxxxxx # Node ID a88f8c6d94018eb23fcf64ae5457f055f62259bd # Parent 59f7fc3e525679552da95414d79e88f608c8fba5 Fix 64bit shadow tracking (The mask used to check for available shadows was off by 1 bit) Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx> --- xen/include/asm-x86/shadow2.h | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r 59f7fc3e5256 -r a88f8c6d9401 xen/include/asm-x86/shadow2.h --- a/xen/include/asm-x86/shadow2.h Thu Aug 17 17:10:13 2006 +0100 +++ b/xen/include/asm-x86/shadow2.h Thu Aug 17 18:39:10 2006 +0100 @@ -489,7 +489,7 @@ shadow2_guest_physmap_remove_page(struct */ #define PGC_SH2_type_to_index(_type) ((_type) >> PGC_SH2_type_shift) #define SH2F_page_type_mask \ - (((1u << PGC_SH2_type_to_index(PGC_SH2_max_shadow + 1u)) - 1u) - \ + (((1u << (PGC_SH2_type_to_index(PGC_SH2_max_shadow) + 1u)) - 1u) - \ ((1u << PGC_SH2_type_to_index(PGC_SH2_min_shadow)) - 1u)) #define SH2F_L1_32 (1u << PGC_SH2_type_to_index(PGC_SH2_l1_32_shadow)) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |