Displaying 2 results from an estimated 2 matches for "shadow_audit".
2005 Mar 14
4
[patch/unstable] page table cleanups
...PGT_l2_page_table )
{
if ( !shadow_mode_translate(d) )
- spde = gpde & ~_PAGE_RW;
+ spde = mk_l2_pgentry(l2_pgentry_val(gpde) & ~_PAGE_RW);
}
}
@@ -723,39 +724,42 @@ static inline void set_shadow_status(
shadow_audit(d, 0);
}
-static inline unsigned long gva_to_gpte(unsigned long gva)
+static inline l1_pgentry_t gva_to_gpte(unsigned long gva)
{
- unsigned long gpde, gpte, pfn, index;
+ l1_pgentry_t gpte;
+ l2_pgentry_t gpde;
+ unsigned long pfn, index;
struct exec_domain *ed = current;...
2006 Oct 04
0
[PATCH,RFC 6/17] 32-on-64 shared info handling
...6-10-04 08:49:30.000000000 +0200
+++ 2006-10-04/xen/arch/x86/mm/shadow/common.c 2006-10-04 15:11:03.000000000 +0200
@@ -36,6 +36,7 @@
#include <asm/current.h>
#include <asm/flushtlb.h>
#include <asm/shadow.h>
+#include <asm/shared.h>
#include "private.h"
#if SHADOW_AUDIT
@@ -2712,7 +2713,7 @@ sh_alloc_log_dirty_bitmap(struct domain
{
ASSERT(d->arch.shadow.dirty_bitmap == NULL);
d->arch.shadow.dirty_bitmap_size =
- (d->shared_info->arch.max_pfn + (BITS_PER_LONG - 1)) &
+ (arch_get_max_pfn(d) + (BITS_PER_LONG - 1)) &...