Message ID | 20201001070814.102735-2-amitay@ozlabs.org |
---|---|
State | Accepted |
Headers | show |
Series | Add p10 support to libpdbg | expand |
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;