mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
target-mips: QOM'ify CPU
Embed CPUMIPSState as first member of QOM MIPSCPU. Let CPUClass::reset() call cpu_state_reset() for now. Signed-off-by: Andreas Färber <afaerber@suse.de> Reviewed-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
11150915fc
commit
0f71a7095d
5 changed files with 142 additions and 1 deletions
|
@ -483,6 +483,8 @@ struct CPUMIPSState {
|
|||
struct QEMUTimer *timer; /* Internal timer */
|
||||
};
|
||||
|
||||
#include "cpu-qom.h"
|
||||
|
||||
#if !defined(CONFIG_USER_ONLY)
|
||||
int no_mmu_map_address (CPUMIPSState *env, target_phys_addr_t *physical, int *prot,
|
||||
target_ulong address, int rw, int access_type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue