Changeset c049309 in mainline for kernel/arch/xen32/src/mm/tlb.c


Ignore:
Timestamp:
2006-07-30T15:57:07Z (18 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b3e8c90
Parents:
764c302
Message:

xen32 cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/xen32/src/mm/tlb.c

    r764c302 rc049309  
    3838#include <arch/asm.h>
    3939#include <arch/types.h>
     40#include <arch/hypercall.h>
    4041
    4142/** Invalidate all entries in TLB. */
    4243void tlb_invalidate_all(void)
    4344{
    44         write_cr3(read_cr3());
     45        mmuext_op_t mmu_ext;
     46       
     47        mmu_ext.cmd = MMUEXT_TLB_FLUSH_LOCAL;
     48        xen_mmuext_op(&mmu_ext, 1, NULL, DOMID_SELF);
    4549}
    4650
Note: See TracChangeset for help on using the changeset viewer.