mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
Move interrupt_request and user_mode_only to common cpu state.
Save and restore env->interrupt_request and env->halted. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4817 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
a5cdf95220
commit
9656f324d2
12 changed files with 38 additions and 28 deletions
|
@ -411,9 +411,7 @@ struct CPUMIPSState {
|
|||
/* We waste some space so we can handle shadow registers like TCs. */
|
||||
TCState tcs[MIPS_SHADOW_SET_MAX];
|
||||
/* Qemu */
|
||||
int interrupt_request;
|
||||
int error_code;
|
||||
int user_mode_only; /* user mode only simulation */
|
||||
uint32_t hflags; /* CPU State */
|
||||
/* TMASK defines different execution modes */
|
||||
#define MIPS_HFLAG_TMASK 0x01FF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue