qemu-e2k/target-microblaze
Paul Brook d4c430a80f Large page TLB flush
QEMU uses a fixed page size for the CPU TLB.  If the guest uses large
pages then we effectively split these into multiple smaller pages, and
populate the corresponding TLB entries on demand.

When the guest invalidates the TLB by virtual address we must invalidate
all entries covered by the large page.  However the address used to
invalidate the entry may not be present in the QEMU TLB, so we do not
know which regions to clear.

Implementing a full vaiable size TLB is hard and slow, so just keep a
simple address/mask pair to record which addresses may have been mapped by
large pages.  If the guest invalidates this region then flush the
whole TLB.

Signed-off-by: Paul Brook <paul@codesourcery.com>
2010-03-17 02:44:41 +00:00
..
cpu.h Target specific usermode cleanup 2010-03-12 18:44:24 +00:00
exec.h kill regs_to_env and env_to_regs 2010-01-19 16:31:02 -06:00
helper.c Large page TLB flush 2010-03-17 02:44:41 +00:00
helper.h microblaze: Trap on unaligned data accesses. 2009-09-03 12:59:46 +02:00
machine.c microblaze: Add petalogix s3a1800dsp MMU linux ref-design. 2009-05-26 21:10:56 +02:00
microblaze-decode.h microblaze: Correct FPU decoding masks. 2009-09-04 09:40:49 +02:00
mmu.c microblaze: MMU shows more respect to synthesis config. 2009-09-03 13:04:02 +02:00
mmu.h microblaze: MMU shows more respect to synthesis config. 2009-09-03 13:04:02 +02:00
op_helper.c Target specific usermode cleanup 2010-03-12 18:44:24 +00:00
translate.c microblaze: Improve brk emulation. 2010-02-20 14:04:01 +01:00