diff options
| -rw-r--r-- | src/usr/diag/prdf/common/plat/pegasus/prdfPlatProcConst.H | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/usr/diag/prdf/common/plat/pegasus/prdfPlatProcConst.H b/src/usr/diag/prdf/common/plat/pegasus/prdfPlatProcConst.H index 935d223bc..c1215cdff 100644 --- a/src/usr/diag/prdf/common/plat/pegasus/prdfPlatProcConst.H +++ b/src/usr/diag/prdf/common/plat/pegasus/prdfPlatProcConst.H @@ -34,8 +34,14 @@ namespace PRDF namespace TOD { +//NOTE: Position at which strings representing names of TOD control registers +//are placed in regStatList cannot be changed independently. Position of string +//in the array must match value of corresponding enum member e.g. value +//of MPCR is zero, therefore, TOD_MPCR can only be placed at regStatList[0] + // following enum represents all the tod control and status registers which // need to be read and restored during data parity errors. + enum Register { MPCR = 0, @@ -49,15 +55,6 @@ enum Register LAST_TOD_REG = 8, }; -//NOTE: Position at which strings representing names of TOD control registers -//are placed in regStatList cannot be changed independently. Position of string -//in the array must match value of corresponding enum member e.g. value -//of MPCR is zero, therefore, TOD_MPCR can only be placed at regStatList[0] - -static const char *regStatList[] = { "TOD_MPCR","TOD_PCRP0", "TOD_PCRP1", - "TOD_SCRP0", "TOD_SCRP1","TOD_SPCR", - "TOD_IPCR", "TOD_PSMSCR" }; - }//end namespace TOD } // end namespace PRDF |

