qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 3/7] Add mp_state to PPC CPU struct


From: Alexander Graf
Subject: [Qemu-devel] [PATCH 3/7] Add mp_state to PPC CPU struct
Date: Fri, 17 Jul 2009 13:51:44 +0200

Some generic code tries to access env->mp_state. Let's just make
it happy and provide it.

Signed-off-by: Alexander Graf <address@hidden>
---
 target-ppc/cpu.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h
index 69c1d58..39b0d82 100644
--- a/target-ppc/cpu.h
+++ b/target-ppc/cpu.h
@@ -659,6 +659,10 @@ struct CPUPPCState {
     target_ulong hreset_vector;
 #endif
 
+#ifdef CONFIG_KVM
+    uint32_t mp_state;
+#endif
+
     /* Those resources are used only during code translation */
     /* Next instruction pointer */
     target_ulong nip;
-- 
1.6.0.2





reply via email to

[Prev in Thread] Current Thread [Next in Thread]