mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
target-lm32: QOM'ify CPU
Embed CPULM32State as first member of QOM LM32CPU. Let CPUClass::reset() call cpu_state_reset() for now. Signed-off-by: Andreas Färber <afaerber@suse.de> Acked-by: Michael Walle <michael@walle.cc>
This commit is contained in:
parent
c1958aea51
commit
fc0ced2fbd
5 changed files with 136 additions and 1 deletions
|
@ -184,6 +184,7 @@ struct CPULM32State {
|
|||
|
||||
};
|
||||
|
||||
#include "cpu-qom.h"
|
||||
|
||||
CPULM32State *cpu_lm32_init(const char *cpu_model);
|
||||
void cpu_lm32_list(FILE *f, fprintf_function cpu_fprintf);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue