summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2019-03-08 12:25:37 +1000
committerAlistair Popple <alistair@popple.id.au>2019-03-08 15:28:21 +1100
commitf795d2904010c0b2e2ad8d8163dffc906ce8cef7 (patch)
tree2162594df5d17f3dc849ba1b6bea427ab96b2053
parent7de0ee34699e297f1f224fce1790c3cd03bc2f32 (diff)
downloadpdbg-f795d2904010c0b2e2ad8d8163dffc906ce8cef7.tar.gz
pdbg-f795d2904010c0b2e2ad8d8163dffc906ce8cef7.zip
libpdbg: use MTMSRD opcode rather than MTMSR
XXX: have to ensure this still does the right thing on P9
-rw-r--r--libpdbg/operations.h2
1 files changed, 1 insertions, 1 deletions
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
OpenPOWER on IntegriCloud