mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
cpu: Move can_do_io field from CPU_COMMON to CPUState
Rename can_do_io() to cpu_can_do_io() and change argument to CPUState. Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
93afeade09
commit
99df7dce8a
8 changed files with 24 additions and 16 deletions
|
@ -241,6 +241,7 @@ static void cpu_common_reset(CPUState *cpu)
|
|||
cpu->halted = 0;
|
||||
cpu->mem_io_pc = 0;
|
||||
cpu->mem_io_vaddr = 0;
|
||||
cpu->can_do_io = 0;
|
||||
}
|
||||
|
||||
static bool cpu_common_has_work(CPUState *cs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue