Displaying 1 result from an estimated 1 matches for "always_sync".
2005 Apr 30
4
[PATCH] disable writable pagetables on FreeBSD
...-xen/include/xenpmap.h
--- a/freebsd-5.3-xen-sparse/i386-xen/include/xenpmap.h 2005-04-28
19:30:44 -07:00
+++ b/freebsd-5.3-xen-sparse/i386-xen/include/xenpmap.h 2005-04-28
19:30:44 -07:00
@@ -59,7 +59,9 @@
#define PMAP_DEC_REF_PAGE(a)
#endif
+#if 0
#define WRITABLE_PAGETABLES
+#endif
#define ALWAYS_SYNC 0
#ifdef PT_DEBUG
@@ -118,18 +120,18 @@
#define PT_SET_VA(_ptp,_npte,sync) do { \
PMAP_REF((_ptp), xpmap_ptom(_npte)); \
- xen_queue_pt_update((pt_entry_t *)vtomach(_ptp), \
+ xen_queue_pt_update(vtomach(_ptp),...