mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
target/lm32: Convert to CPUClass::tlb_fill
Cc: Michael Walle <michael@walle.cc> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
5d0044212c
commit
ae0d4c0b52
4 changed files with 14 additions and 24 deletions
|
@ -231,9 +231,8 @@ static void lm32_cpu_class_init(ObjectClass *oc, void *data)
|
|||
cc->set_pc = lm32_cpu_set_pc;
|
||||
cc->gdb_read_register = lm32_cpu_gdb_read_register;
|
||||
cc->gdb_write_register = lm32_cpu_gdb_write_register;
|
||||
#ifdef CONFIG_USER_ONLY
|
||||
cc->handle_mmu_fault = lm32_cpu_handle_mmu_fault;
|
||||
#else
|
||||
cc->tlb_fill = lm32_cpu_tlb_fill;
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
cc->get_phys_page_debug = lm32_cpu_get_phys_page_debug;
|
||||
cc->vmsd = &vmstate_lm32_cpu;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue