mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-17 23:22:12 -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
|
@ -685,7 +685,7 @@ void cpu_loop(CPUARMState *env)
|
|||
switch(trapnr) {
|
||||
case EXCP_UDEF:
|
||||
{
|
||||
TaskState *ts = env->opaque;
|
||||
TaskState *ts = cs->opaque;
|
||||
uint32_t opcode;
|
||||
int rc;
|
||||
|
||||
|
@ -2965,7 +2965,7 @@ void cpu_loop(CPUM68KState *env)
|
|||
int trapnr;
|
||||
unsigned int n;
|
||||
target_siginfo_t info;
|
||||
TaskState *ts = env->opaque;
|
||||
TaskState *ts = cs->opaque;
|
||||
|
||||
for(;;) {
|
||||
trapnr = cpu_m68k_exec(env);
|
||||
|
@ -4001,7 +4001,7 @@ int main(int argc, char **argv, char **envp)
|
|||
/* build Task State */
|
||||
ts->info = info;
|
||||
ts->bprm = &bprm;
|
||||
env->opaque = ts;
|
||||
cpu->opaque = ts;
|
||||
task_settid(ts);
|
||||
|
||||
execfd = qemu_getauxval(AT_EXECFD);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue