mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-17 21:26:13 -07:00
exec: Return CPUState from qemu_get_cpu()
Move the declaration to qemu/cpu.h and add documentation. The implementation still depends on CPUArchState for CPU iteration. Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
4a1e40b509
commit
38d8f5c84e
5 changed files with 22 additions and 8 deletions
|
|
@ -354,7 +354,6 @@ int page_check_range(target_ulong start, target_ulong len, int flags);
|
|||
#endif
|
||||
|
||||
CPUArchState *cpu_copy(CPUArchState *env);
|
||||
CPUArchState *qemu_get_cpu(int cpu);
|
||||
|
||||
#define CPU_DUMP_CODE 0x00010000
|
||||
#define CPU_DUMP_FPU 0x00020000 /* dump FPU register state, not just integer */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue