projects
/
qemu
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move interrupt_request and user_mode_only to common cpu state.
[qemu]
/
target-m68k
/
cpu.h
diff --git
a/target-m68k/cpu.h
b/target-m68k/cpu.h
index
cfeafc0
..
a6687b1
100644
(file)
--- a/
target-m68k/cpu.h
+++ b/
target-m68k/cpu.h
@@
-103,10
+103,6
@@
typedef struct CPUM68KState {
/* ??? remove this. */
uint32_t t1;
- /* exception/interrupt handling */
- int interrupt_request;
- int user_mode_only;
-
int pending_vector;
int pending_level;
@@
-235,6
+231,8
@@
static inline void cpu_clone_regs(CPUState *env, target_ulong newsp)
}
#endif
+#define CPU_PC_FROM_TB(env, tb) env->pc = tb->pc
+
#include "cpu-all.h"
#endif