[Pdbg] [PATCH 1/7] libpdbg: Remove unused definitions
Amitay Isaacs
amitay at ozlabs.org
Thu Sep 12 11:37:16 AEST 2019
Signed-off-by: Amitay Isaacs <amitay at ozlabs.org>
---
libpdbg/operations.h | 16 ----------------
1 file changed, 16 deletions(-)
diff --git a/libpdbg/operations.h b/libpdbg/operations.h
index 867f997..5b8da8d 100644
--- a/libpdbg/operations.h
+++ b/libpdbg/operations.h
@@ -38,22 +38,6 @@
#define FSI2PIB_BASE 0x1000
-/* Functions to ram instructions */
-#define THREAD_STATUS_DISABLED PPC_BIT(0)
-#define THREAD_STATUS_ACTIVE PPC_BIT(63)
-#define THREAD_STATUS_STATE PPC_BITMASK(61, 62)
-#define THREAD_STATUS_DOZE PPC_BIT(62)
-#define THREAD_STATUS_NAP PPC_BIT(61)
-#define THREAD_STATUS_SLEEP PPC_BITMASK(61, 62)
-#define THREAD_STATUS_QUIESCE PPC_BIT(60)
-#define THREAD_STATUS_SMT PPC_BITMASK(57, 59)
-#define THREAD_STATUS_SMT_1 PPC_BIT(59)
-#define THREAD_STATUS_SMT_2SH PPC_BIT(58)
-#define THREAD_STATUS_SMT_2SP (PPC_BIT(58) | PPC_BIT(59))
-#define THREAD_STATUS_SMT_4 PPC_BIT(57)
-#define THREAD_STATUS_SMT_8 (PPC_BIT(57) | PPC_BIT(59))
-
-
/* Opcodes for instruction ramming */
#define OPCODE_MASK 0xfc0003ffUL
#define MTNIA_OPCODE 0x00000002UL
--
2.21.0
More information about the Pdbg
mailing list