diff options
author | Andreas Färber <afaerber@suse.de> | 2012-04-11 18:24:49 +0200 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2012-04-14 03:48:08 +0400 |
commit | 5087a72cb3e94f48c1d447babd67e33bfd9dda12 (patch) | |
tree | 268052b43daca566670134666d90f08db4adee04 /target-xtensa/cpu.h | |
parent | a4633e16d77bd1cf0c25e500d15943499b94f2f9 (diff) | |
download | qemu-5087a72cb3e94f48c1d447babd67e33bfd9dda12.zip qemu-5087a72cb3e94f48c1d447babd67e33bfd9dda12.tar.gz qemu-5087a72cb3e94f48c1d447babd67e33bfd9dda12.tar.bz2 |
target-xtensa: QOM'ify CPU reset
Move code from cpu_state_reset() into QOM xtensa_cpu_reset().
To avoid moving reset_mmu() and dependencies, make it non-static.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'target-xtensa/cpu.h')
-rw-r--r-- | target-xtensa/cpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-xtensa/cpu.h b/target-xtensa/cpu.h index 2de5144..6d0ea7c 100644 --- a/target-xtensa/cpu.h +++ b/target-xtensa/cpu.h @@ -375,6 +375,7 @@ void xtensa_tlb_set_entry(CPUXtensaState *env, bool dtlb, int xtensa_get_physical_addr(CPUXtensaState *env, uint32_t vaddr, int is_write, int mmu_idx, uint32_t *paddr, uint32_t *page_size, unsigned *access); +void reset_mmu(CPUXtensaState *env); void dump_mmu(FILE *f, fprintf_function cpu_fprintf, CPUXtensaState *env); void debug_exception_env(CPUXtensaState *new_env, uint32_t cause); |