# HG changeset patch
# User Xiaofeng Ling <xiaofeng.ling@xxxxxxxxx>
# Node ID 188b619dad2998f0625b247ee298def1919696ca
# Parent 90d9dff476923318f34c993016c9ada8979ee06d
small fix for shadow
Signed-off-by:Xiaofeng Ling <xiaofeng.ling@xxxxxxxxx>
diff -r 90d9dff47692 -r 188b619dad29 xen/arch/x86/shadow.c
--- a/xen/arch/x86/shadow.c Tue Nov 29 09:44:46 2005 +0800
+++ b/xen/arch/x86/shadow.c Tue Nov 29 09:44:46 2005 +0800
@@ -1333,7 +1333,7 @@
i = (frame_table[readonly_gmfn].u.inuse.type_info & PGT_va_mask)
>> PGT_va_shift;
- if ( (i >= 0 && i <= L1_PAGETABLE_ENTRIES) &&
+ if ( (i >= 0 && i < L1_PAGETABLE_ENTRIES) &&
!l1e_has_changed(pt[i], match, flags) &&
fix_entry(d, &pt[i], &found, is_l1_shadow,
max_refs_to_find) &&
!prediction )
diff -r 90d9dff47692 -r 188b619dad29 xen/arch/x86/shadow32.c
--- a/xen/arch/x86/shadow32.c Tue Nov 29 09:44:46 2005 +0800
+++ b/xen/arch/x86/shadow32.c Tue Nov 29 09:44:46 2005 +0800
@@ -2146,7 +2146,7 @@
i = (frame_table[readonly_gmfn].u.inuse.type_info & PGT_va_mask)
>> PGT_va_shift;
- if ( (i >= 0 && i <= L1_PAGETABLE_ENTRIES) &&
+ if ( (i >= 0 && i < L1_PAGETABLE_ENTRIES) &&
!l1e_has_changed(pt[i], match, flags) &&
fix_entry(d, &pt[i], &found, is_l1_shadow,
max_refs_to_find) &&
!prediction )
# HG changeset patch
# User Xiaofeng Ling <xiaofeng.ling@xxxxxxxxx>
# Node ID 188b619dad2998f0625b247ee298def1919696ca
# Parent 90d9dff476923318f34c993016c9ada8979ee06d
small fix for shadow
Signed-off-by:Xiaofeng Ling <xiaofeng.ling@xxxxxxxxx>
diff -r 90d9dff47692 -r 188b619dad29 xen/arch/x86/shadow.c
--- a/xen/arch/x86/shadow.c Tue Nov 29 09:44:46 2005 +0800
+++ b/xen/arch/x86/shadow.c Tue Nov 29 09:44:46 2005 +0800
@@ -1333,7 +1333,7 @@
i = (frame_table[readonly_gmfn].u.inuse.type_info & PGT_va_mask)
>> PGT_va_shift;
- if ( (i >= 0 && i <= L1_PAGETABLE_ENTRIES) &&
+ if ( (i >= 0 && i < L1_PAGETABLE_ENTRIES) &&
!l1e_has_changed(pt[i], match, flags) &&
fix_entry(d, &pt[i], &found, is_l1_shadow, max_refs_to_find) &&
!prediction )
diff -r 90d9dff47692 -r 188b619dad29 xen/arch/x86/shadow32.c
--- a/xen/arch/x86/shadow32.c Tue Nov 29 09:44:46 2005 +0800
+++ b/xen/arch/x86/shadow32.c Tue Nov 29 09:44:46 2005 +0800
@@ -2146,7 +2146,7 @@
i = (frame_table[readonly_gmfn].u.inuse.type_info & PGT_va_mask)
>> PGT_va_shift;
- if ( (i >= 0 && i <= L1_PAGETABLE_ENTRIES) &&
+ if ( (i >= 0 && i < L1_PAGETABLE_ENTRIES) &&
!l1e_has_changed(pt[i], match, flags) &&
fix_entry(d, &pt[i], &found, is_l1_shadow, max_refs_to_find) &&
!prediction )
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|