mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
cpu: Move opaque field from CPU_COMMON to CPUState
Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
27103424c4
commit
0429a97195
13 changed files with 72 additions and 48 deletions
|
@ -138,8 +138,5 @@ typedef struct CPUWatchpoint {
|
|||
\
|
||||
QTAILQ_HEAD(watchpoints_head, CPUWatchpoint) watchpoints; \
|
||||
CPUWatchpoint *watchpoint_hit; \
|
||||
\
|
||||
/* user data */ \
|
||||
void *opaque; \
|
||||
|
||||
#endif
|
||||
|
|
|
@ -184,6 +184,7 @@ struct kvm_run;
|
|||
* @gdb_num_regs: Number of total registers accessible to GDB.
|
||||
* @gdb_num_g_regs: Number of registers in GDB 'g' packets.
|
||||
* @next_cpu: Next CPU sharing TB cache.
|
||||
* @opaque: User data.
|
||||
* @mem_io_pc: Host Program Counter at which the memory was accessed.
|
||||
* @mem_io_vaddr: Target virtual address at which the memory was accessed.
|
||||
* @kvm_fd: vCPU file descriptor for KVM.
|
||||
|
@ -230,6 +231,8 @@ struct CPUState {
|
|||
int gdb_num_g_regs;
|
||||
QTAILQ_ENTRY(CPUState) node;
|
||||
|
||||
void *opaque;
|
||||
|
||||
/* In order to avoid passing too many arguments to the MMIO helpers,
|
||||
* we store some rarely used information in the CPU context.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue