Displaying 1 result from an estimated 1 matches for "flush_tlb_all_pge".
2007 Feb 14
4
[PATCH 3/12] Provide basic Xen PM infrastructure
...__PAGE_HYPERVISOR));
}
-void __init zap_low_mappings(l2_pgentry_t *base)
+void zap_low_mappings(l2_pgentry_t *base)
{
int i;
u32 addr;
@@ -146,6 +147,15 @@ void __init zap_low_mappings(l2_pgentry_
continue;
l2e_write(&base[i], l2e_empty());
}
+
+ flush_tlb_all_pge();
+}
+
+void init_low_mappings(void)
+{
+ memcpy(idle_pg_table_l2,
+ idle_pg_table_l2 + (DIRECTMAP_VIRT_START >>
L2_PAGETABLE_SHIFT),
+ (DIRECTMAP_MBYTES << 20) >> L2_PAGETABLE_SHIFT);
flush_tlb_all_pge();
}
diff -r 13e258a58044 xen/arch/x86/x86_32/...