diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-08-28 23:15:33 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-08-28 23:15:33 +0200 |
commit | 32fe0684cc758e7624223044e4286f3e7c9f2c92 (patch) | |
tree | fc42ddc9fe6919ea802fd491ddd629756079bf26 /xen | |
parent | 9899c659b1a2436085e772d02f5394db7869bf64 (diff) |
Disable (<i486)-only WP workaround on Xen & PAE
i386 didn't support PAE anyway.
* i386/i386/locore.S (copyout_retry) [MACH_HYP || PAE]: Remove.
* xen/xen.c (hyp_invalidate_pte): Remove function.
* xen/xen.h (hyp_invalidate_pte): Remove prototype.
Diffstat (limited to 'xen')
-rw-r--r-- | xen/xen.c | 7 | ||||
-rw-r--r-- | xen/xen.h | 1 |
2 files changed, 0 insertions, 8 deletions
@@ -30,13 +30,6 @@ #include "xen.h" #include "evt.h" -void hyp_invalidate_pte(pt_entry_t *pte) -{ - if (!hyp_mmu_update_pte(kv_to_ma(pte), (*pte) & ~INTEL_PTE_VALID)) - panic("%s:%d could not set pte %p(%p) to %p(%p)\n",__FILE__,__LINE__,pte,(vm_offset_t) kv_to_ma(pte),*pte,ma_to_pa(*pte)); - hyp_mmuext_op_void(MMUEXT_TLB_FLUSH_LOCAL); -} - void hyp_debug() { panic("debug"); @@ -21,7 +21,6 @@ void hyp_init(void); void hyp_dev_init(void); -void hyp_invalidate_pte(pt_entry_t *pte); void hyp_idle(void); void hyp_p2m_init(void); |