[Pdbg] [PATCH v2 01/20] libpdbg: Add p10
Amitay Isaacs
amitay at ozlabs.org
Thu Oct 1 17:07:55 AEST 2020
Signed-off-by: Amitay Isaacs <amitay at ozlabs.org>
Reviewed-by: Joel Stanley <joel at jms.id.au>
---
libpdbg/libpdbg.h | 1 +
libpdbg/target.h | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/libpdbg/libpdbg.h b/libpdbg/libpdbg.h
index 180a609..2630fd7 100644
--- a/libpdbg/libpdbg.h
+++ b/libpdbg/libpdbg.h
@@ -53,6 +53,7 @@ enum pdbg_proc {
PDBG_PROC_UNKNOWN, /**< Unknown processor */
PDBG_PROC_P8, /**< POWER8 processor */
PDBG_PROC_P9, /**< POWER9 processor */
+ PDBG_PROC_P10, /**< POWER10 processor */
};
/**
diff --git a/libpdbg/target.h b/libpdbg/target.h
index a12cce8..572631f 100644
--- a/libpdbg/target.h
+++ b/libpdbg/target.h
@@ -29,8 +29,9 @@
#define CHIP_ID_P8P 0xd3
#define CHIP_ID_P9 0xd1
#define CHIP_ID_P9P 0xd9
+#define CHIP_ID_P10 0xda
-enum chip_type {CHIP_UNKNOWN, CHIP_P8, CHIP_P8NV, CHIP_P9};
+enum chip_type {CHIP_UNKNOWN, CHIP_P8, CHIP_P8NV, CHIP_P9, CHIP_P10};
struct pdbg_target_class {
char *name;
--
2.26.2
More information about the Pdbg
mailing list