mirror of https://gitee.com/openkylin/qemu.git
target/hppa: report ITLB_EXCP_MISS for ITLB misses
Signed-off-by: Sven Schnelle <svens@stackframe.org> Message-Id: <20190311191602.25796-4-svens@stackframe.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
0b49c33988
commit
acd6ba74d6
|
@ -96,9 +96,7 @@ int hppa_get_physical_address(CPUHPPAState *env, vaddr addr, int mmu_idx,
|
|||
if (ent == NULL || !ent->entry_valid) {
|
||||
phys = 0;
|
||||
prot = 0;
|
||||
/* ??? Unconditionally report data tlb miss,
|
||||
even if this is an instruction fetch. */
|
||||
ret = EXCP_DTLB_MISS;
|
||||
ret = (type == PAGE_EXEC) ? EXCP_ITLB_MISS : EXCP_DTLB_MISS;
|
||||
goto egress;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue