summaryrefslogtreecommitdiff
path: root/cpu-defs.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-11-21 23:25:50 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-11-21 23:25:50 +0000
commit6a00d60127dc0e1d4efadafe1feb88f05030fe52 (patch)
treedb2e5b6984751b052a7d16b565fc1730a001c351 /cpu-defs.h
parentf0aca8227fbdb0cec65331cb59dbe768e2586e7d (diff)
downloadqemu-6a00d60127dc0e1d4efadafe1feb88f05030fe52.tar.gz
qemu-6a00d60127dc0e1d4efadafe1feb88f05030fe52.tar.bz2
qemu-6a00d60127dc0e1d4efadafe1feb88f05030fe52.zip
SMP support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1640 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-defs.h')
-rw-r--r--cpu-defs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpu-defs.h b/cpu-defs.h
index fb4f8e8a29..c308253813 100644
--- a/cpu-defs.h
+++ b/cpu-defs.h
@@ -96,6 +96,7 @@ typedef struct CPUTLBEntry {
#define CPU_COMMON \
struct TranslationBlock *current_tb; /* currently executing TB */ \
+ int cpu_halted; /* TRUE if cpu is halted (sleep mode) */ \
/* soft mmu support */ \
/* in order to avoid passing too many arguments to the memory \
write helpers, we store some rarely used information in the CPU \
@@ -115,9 +116,9 @@ typedef struct CPUTLBEntry {
int nb_breakpoints; \
int singlestep_enabled; \
\
+ void *next_cpu; /* next CPU sharing TB cache */ \
+ int cpu_index; /* CPU index (informative) */ \
/* user data */ \
void *opaque;
-
-
#endif