[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Patch/ppc: fix definition of msr_spe
From: |
Tristan Gingold |
Subject: |
[Qemu-devel] Patch/ppc: fix definition of msr_spe |
Date: |
Tue, 6 May 2008 12:27:15 +0200 |
User-agent: |
Mutt/1.5.9i |
Hi,
this patch fix an obvious typo: spe is enabled when spe bit is set and not
when single stepping is enabled!
Tristan.
Index: target-ppc/cpu.h
===================================================================
--- target-ppc/cpu.h (revision 4355)
+++ target-ppc/cpu.h (working copy)
@@ -397,7 +397,7 @@
#define msr_thv ((env->msr >> MSR_THV) & 1)
#define msr_ucle ((env->msr >> MSR_UCLE) & 1)
#define msr_vr ((env->msr >> MSR_VR) & 1)
-#define msr_spe ((env->msr >> MSR_SE) & 1)
+#define msr_spe ((env->msr >> MSR_SPE) & 1)
#define msr_ap ((env->msr >> MSR_AP) & 1)
#define msr_sa ((env->msr >> MSR_SA) & 1)
#define msr_key ((env->msr >> MSR_KEY) & 1)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] Patch/ppc: fix definition of msr_spe,
Tristan Gingold <=