qemu-e2k/target-sparc
Benjamin Herrenschmidt 97ed5ccdee tlb: Add "ifetch" argument to cpu_mmu_index()
This is set to true when the index is for an instruction fetch
translation.

The core get_page_addr_code() sets it, as do the SOFTMMU_CODE_ACCESS
acessors.

All targets ignore it for now, and all other callers pass "false".

This will allow targets who wish to split the mmu index between
instruction and data accesses to do so. A subsequent patch will
do just that for PowerPC.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Message-Id: <1439796853-4410-2-git-send-email-benh@kernel.crashing.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
2015-09-11 08:15:28 -07:00
..
Makefile.objs cpu: Introduce CPUClass::gdb_{read,write}_register() 2013-07-27 00:04:17 +02:00
TODO fix spelling in target sub directory 2011-12-02 10:50:57 +00:00
cc_helper.c tcg: Invert the inclusion of helper.h 2014-05-28 09:33:54 -07:00
cpu-qom.h softmmu: make do_unaligned_access a method of CPU 2014-06-05 16:10:31 +02:00
cpu.c cpu: Change cpu_exec_init() arg to cpu, not env 2015-07-09 15:20:40 +02:00
cpu.h tlb: Add "ifetch" argument to cpu_mmu_index() 2015-09-11 08:15:28 -07:00
fop_helper.c tcg: Invert the inclusion of helper.h 2014-05-28 09:33:54 -07:00
gdbstub.c cpu: Introduce CPUClass::gdb_{read,write}_register() 2013-07-27 00:04:17 +02:00
helper.c tcg: Invert the inclusion of helper.h 2014-05-28 09:33:54 -07:00
helper.h tcg: Invert the inclusion of helper.h 2014-05-28 09:33:54 -07:00
int32_helper.c exec: Change cpu_abort() argument to CPUState 2014-03-13 19:52:28 +01:00
int64_helper.c tcg: Invert the inclusion of helper.h 2014-05-28 09:33:54 -07:00
ldst_helper.c target-sparc: is_translating_asi() is TARGET_SPARC64 only 2015-01-21 16:18:01 +00:00
machine.c cputlb: Change tlb_flush() argument to CPUState 2014-03-13 19:52:47 +01:00
mmu_helper.c tlb: Add "ifetch" argument to cpu_mmu_index() 2015-09-11 08:15:28 -07:00
translate.c tlb: Add "ifetch" argument to cpu_mmu_index() 2015-09-11 08:15:28 -07:00
vis_helper.c tcg: Invert the inclusion of helper.h 2014-05-28 09:33:54 -07:00
win_helper.c tcg: Invert the inclusion of helper.h 2014-05-28 09:33:54 -07:00