Displaying 2 results from an estimated 2 matches for "l1e_has_changed".
2005 Jun 30
0
[PATCH][10/10] Use copy_from_user when accessing guest_pt
...+1916,14 @@
snapshot = map_domain_page(smfn);
+ if (__copy_from_user(&gpte, &guest_pt[index],
+ sizeof(gpte)))
+ return 0;
+
// This could probably be smarter, but this is sufficent for
// our current needs.
//
- entries_match = !l1e_has_changed(guest_pt[index], snapshot[index],
+ entries_match = !l1e_has_changed(gpte, snapshot[index],
PAGE_FLAG_MASK);
unmap_domain_page(snapshot);
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://list...
2005 Nov 29
0
[PATCH]small fix for shadow
...,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/s...