aboutsummaryrefslogtreecommitdiff
path: root/target-mips/cpu.h
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2006-12-06 17:48:52 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2006-12-06 17:48:52 +0000
commit6ae817752b72a7c9c3bb031afa7e7cc0e4d10eaf (patch)
tree9cdae3b72e3f10f5ba93c929f82b76c78468fe8d /target-mips/cpu.h
parent814b9a47490c4500fd105b524b8354764e6655e5 (diff)
Halt/reboot support for Linux, by Daniel Jacobowitz. This is a band-aid
until we emulate real MIPS hardware with real firmware. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2221 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-mips/cpu.h')
-rw-r--r--target-mips/cpu.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/target-mips/cpu.h b/target-mips/cpu.h
index 3ade7bce64..3ac2131a5d 100644
--- a/target-mips/cpu.h
+++ b/target-mips/cpu.h
@@ -182,7 +182,6 @@ struct CPUMIPSState {
uint32_t CP0_ErrorEPC;
uint32_t CP0_DESAVE;
/* Qemu */
- struct QEMUTimer *timer; /* Internal timer */
int interrupt_request;
jmp_buf jmp_env;
int exception_index;
@@ -213,6 +212,13 @@ struct CPUMIPSState {
int halted; /* TRUE if the CPU is in suspend state */
CPU_COMMON
+
+ int ram_size;
+ const char *kernel_filename;
+ const char *kernel_cmdline;
+ const char *initrd_filename;
+
+ struct QEMUTimer *timer; /* Internal timer */
};
#include "cpu-all.h"