[Pdbg] [PATCH v2 5/7] libpdbg: use MTMSRD opcode rather than MTMSR

Nicholas Piggin npiggin at gmail.com
Tue Mar 12 12:49:18 AEDT 2019


XXX: have to ensure this still does the right thing on P9
---
 libpdbg/operations.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libpdbg/operations.h b/libpdbg/operations.h
index 85fc117..867f997 100644
--- a/libpdbg/operations.h
+++ b/libpdbg/operations.h
@@ -59,7 +59,7 @@
 #define MTNIA_OPCODE 0x00000002UL
 #define MFNIA_OPCODE 0x00000004UL
 #define MFMSR_OPCODE 0x7c0000a6UL
-#define MTMSR_OPCODE 0x7c000124UL
+#define MTMSR_OPCODE 0x7c000164UL
 #define MFSPR_OPCODE 0x7c0002a6UL
 #define MTSPR_OPCODE 0x7c0003a6UL
 #define MFOCRF_OPCODE 0x7c100026UL
-- 
2.20.1



More information about the Pdbg mailing list