aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/cpu.h
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@gmail.com>2010-09-20 19:06:32 +0200
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2010-09-24 22:01:20 +0200
commita586e548fb41afa21291bcc96f0a657d5ceaad59 (patch)
treede5bbb5dea3fdff6e733f4d6b9b8ff73ed9bb200 /target-ppc/cpu.h
parentc973a36d178510790c148f88104b85016f59235a (diff)
powerpc: Improve emulation of the BookE MMU
Improve the emulation of the BookE MMU to be able to boot linux on virtex5 boards. Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'target-ppc/cpu.h')
-rw-r--r--target-ppc/cpu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h
index 9c8d774c9d..dc1f4b816d 100644
--- a/target-ppc/cpu.h
+++ b/target-ppc/cpu.h
@@ -453,6 +453,9 @@ struct ppc_slb_t {
#endif
#endif
+/* Exception state register bits definition */
+#define ESR_ST 23 /* Exception was caused by a store type access. */
+
enum {
POWERPC_FLAG_NONE = 0x00000000,
/* Flag for MSR bit 25 signification (VRE/SPE) */