summaryrefslogtreecommitdiff
path: root/target-sh4/cpu.h
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-01 20:01:19 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-01 20:01:19 +0000
commit9656f324d25895ec16ebc5eaf624e28a96c1f1be (patch)
tree493d25a4b894fea24ee91d07efea4309044ba54c /target-sh4/cpu.h
parenta5cdf952204931960bbb269494469843be789b52 (diff)
downloadqemu-9656f324d25895ec16ebc5eaf624e28a96c1f1be.tar.gz
qemu-9656f324d25895ec16ebc5eaf624e28a96c1f1be.tar.bz2
qemu-9656f324d25895ec16ebc5eaf624e28a96c1f1be.zip
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
Diffstat (limited to 'target-sh4/cpu.h')
-rw-r--r--target-sh4/cpu.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/target-sh4/cpu.h b/target-sh4/cpu.h
index 014ecd3422..9dbadf4d32 100644
--- a/target-sh4/cpu.h
+++ b/target-sh4/cpu.h
@@ -114,8 +114,6 @@ typedef struct CPUSH4State {
uint32_t expevt; /* exception event register */
uint32_t intevt; /* interrupt event register */
- int user_mode_only;
- int interrupt_request;
CPU_COMMON tlb_t utlb[UTLB_SIZE]; /* unified translation table */
tlb_t itlb[ITLB_SIZE]; /* instruction translation table */
void *intc_handle;