diff options
Diffstat (limited to 'src/usr/htmgt/htmgt_utility.H')
-rw-r--r-- | src/usr/htmgt/htmgt_utility.H | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/usr/htmgt/htmgt_utility.H b/src/usr/htmgt/htmgt_utility.H index cbc5b1fb9..025ab49e7 100644 --- a/src/usr/htmgt/htmgt_utility.H +++ b/src/usr/htmgt/htmgt_utility.H @@ -149,5 +149,17 @@ namespace HTMGT const char *command_string(const uint8_t i_cmd); + /** + * Helper function to return the DIMM number as the OCC sees it. + * There can be 8 DIMMs per Centaur. + * + * @param i_mba - the MBA the DIMM is on + * @param i_dimm - the DIMM + * @return - a number 0-7 + */ + uint8_t getOCCDIMMPos(const TARGETING::TargetHandle_t i_mba, + const TARGETING::TargetHandle_t i_dimm); + + } // end namespace #endif |