diff options
author | crgeddes <crgeddes@us.ibm.com> | 2016-03-03 16:29:26 -0600 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-03-04 12:18:45 -0500 |
commit | d4c2d564c0ce24e810fc3569e7bc20806328c3ae (patch) | |
tree | e931f29da27cb9eedb78d38ed00abb9c2bfa6111 /src/usr/fapi2/test/fapi2TestUtils.H | |
parent | 39eb454b71bdff31432a7994c4160c04882086df (diff) | |
download | talos-hostboot-d4c2d564c0ce24e810fc3569e7bc20806328c3ae.tar.gz talos-hostboot-d4c2d564c0ce24e810fc3569e7bc20806328c3ae.zip |
FAPI2 Comments/Clean up
This commit is just adding/cleaning up some comments in the
fapi2 code.
Change-Id: Ibd095d2d27bce1836543ee2370328da640e71aa0
RTC:147822
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21682
Tested-by: Jenkins Server
Reviewed-by: Matt Derksen <v2cibmd@us.ibm.com>
Reviewed-by: Martin Gloff <mgloff@us.ibm.com>
Reviewed-by: Prachi Gupta <pragupta@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/fapi2/test/fapi2TestUtils.H')
-rw-r--r-- | src/usr/fapi2/test/fapi2TestUtils.H | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/usr/fapi2/test/fapi2TestUtils.H b/src/usr/fapi2/test/fapi2TestUtils.H index 15ddb0b6a..f4e9f5dc8 100644 --- a/src/usr/fapi2/test/fapi2TestUtils.H +++ b/src/usr/fapi2/test/fapi2TestUtils.H @@ -37,7 +37,9 @@ namespace fapi2 { -// Setup some targets to use + +//Used by generateTargets to get a list of all platform target +// types that directly relate to fapi2 target types enum{ MY_EQ, MY_EX, @@ -57,7 +59,13 @@ enum{ NUM_TARGETS }; - +/// +/// @brief Generates a list of platform targets of all differnt types. +/// This comes in handy when testing out fapi2 target interfaces +/// @param[in] i_pMasterProcChip Pointer to master proc chip +/// @param[out] o_targetList List of platform targets that gets generated +/// by this function +/// void generateTargets(TARGETING::Target* i_pMasterProcChip, TARGETING::Target* o_targetList[]); |