diff options
Diffstat (limited to 'src/usr/hdat/hdatpcrd.H')
-rw-r--r-- | src/usr/hdat/hdatpcrd.H | 29 |
1 files changed, 27 insertions, 2 deletions
diff --git a/src/usr/hdat/hdatpcrd.H b/src/usr/hdat/hdatpcrd.H index dbef3da6a..9c6d89020 100644 --- a/src/usr/hdat/hdatpcrd.H +++ b/src/usr/hdat/hdatpcrd.H @@ -62,6 +62,8 @@ const char HDAT_PCRD_STRUCT_NAME[7] = "SPPCRD"; #define HDAT_PCRD_MAX_I2C_DEV 128 #define HDAT_PCRD_MAX_SMP_LINK 12 +//Max number of EQ per proc +#define MAX_EQ_PER_PROC 6 /** @enum hdatDataPtrs * Enumeration which defines the data sections of the PCRD */ @@ -77,8 +79,9 @@ enum hdatPcrdDataPtrs HDAT_PCRD_DA_PNOR = 6, HDAT_PCRD_DA_SMP = 7, HDAT_PCRD_CHIP_EC_LVL = 8, - HDAT_PCRD_DA_CNT = 9, - HDAT_PCRD_DA_LAST = 10, + HDAT_PCRD_DA_FEATURE_FLAGS = 9, + HDAT_PCRD_DA_CNT = 10, + HDAT_PCRD_DA_LAST = 11, }; /*----------------------------------------------------------------------------*/ @@ -167,6 +170,28 @@ struct hdatSpPcrd_t } __attribute__ ((packed)); +struct hdatPcrdFeatureFlagString +{ + char hdatPcrdffString[64][32]; +}__attribute__ ((packed)); + +struct hdatPcrdFeatureFlagSetting +{ + uint64_t hdatPcrdFFCurrentSetting; + uint64_t hdatPcrdFFDynChgCapability; + uint32_t hdatPcrdEqOrdId; +}__attribute__ ((packed)); + +const char FFSTRING [64][32] = {"TM Suspend Mode Enabled", + "","","","","","","","","", + "","","","","","","","","","", + "","","","","","","","","","", + "","","","","","","","","","", + "","","","","","","","","","", + "","","","","","","","","","", + "","","","" }; + + /*----------------------------------------------------------------------------*/ /* C++ class definition */ /*----------------------------------------------------------------------------*/ |