mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
target/nios2: Remove nios2_cpu_record_sigsegv
Since f5ef0e518d
, we have a real page mapped for kuser,
which means the special casing for SIGSEGV can go away.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20220421151735.31996-11-richard.henderson@linaro.org>
This commit is contained in:
parent
3c818909b0
commit
fb4de9d235
4 changed files with 3 additions and 31 deletions
|
@ -216,11 +216,7 @@ static inline int cpu_mmu_index(CPUNios2State *env, bool ifetch)
|
|||
MMU_SUPERVISOR_IDX;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_USER_ONLY
|
||||
void nios2_cpu_record_sigsegv(CPUState *cpu, vaddr addr,
|
||||
MMUAccessType access_type,
|
||||
bool maperr, uintptr_t ra);
|
||||
#else
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
bool nios2_cpu_tlb_fill(CPUState *cs, vaddr address, int size,
|
||||
MMUAccessType access_type, int mmu_idx,
|
||||
bool probe, uintptr_t retaddr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue