summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2019-03-12 11:49:18 +1000
committerAlistair Popple <alistair@popple.id.au>2019-03-27 16:57:11 +1100
commit5a5334451cd22a40bc21b41789fcd74e04eb28ba (patch)
treeab95040fe6f171525ce02d059e88a1e16eca06f2
parent8dfaa632b7015a5267175e2f806d4fd28d3ecf89 (diff)
downloadpdbg-5a5334451cd22a40bc21b41789fcd74e04eb28ba.tar.gz
pdbg-5a5334451cd22a40bc21b41789fcd74e04eb28ba.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