diff options
author | Bilicon Patil <bilpatil@in.ibm.com> | 2015-04-18 01:54:45 -0500 |
---|---|---|
committer | Patrick Williams <iawillia@us.ibm.com> | 2015-12-11 13:40:20 -0600 |
commit | f88e09a2507b77ffacbf15caeec866259afffd44 (patch) | |
tree | f214a0d7b004bcea3047f8d95254b4c659d9e6f7 /src/import/hwpf/fapi2/docs | |
parent | 0f72dc07f6a676b6e6b572ed85a826bb087eecc7 (diff) | |
download | talos-hostboot-f88e09a2507b77ffacbf15caeec866259afffd44.tar.gz talos-hostboot-f88e09a2507b77ffacbf15caeec866259afffd44.zip |
FAPI_TRY will now add trace as an ERR type instead of DBG type.
Change-Id: Ib3232586d8355c216997ac0cc59bbb155345d479
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17299
Reviewed-by: Thi N. Tran <thi@us.ibm.com>
Reviewed-by: Matt K. Light <mklight@us.ibm.com>
Reviewed-by: Brian Silver <bsilver@us.ibm.com>
Tested-by: Brian Silver <bsilver@us.ibm.com>
Diffstat (limited to 'src/import/hwpf/fapi2/docs')
-rwxr-xr-x | src/import/hwpf/fapi2/docs/topics/Examples.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/import/hwpf/fapi2/docs/topics/Examples.md b/src/import/hwpf/fapi2/docs/topics/Examples.md index e7ccb027d..09a38b57f 100755 --- a/src/import/hwpf/fapi2/docs/topics/Examples.md +++ b/src/import/hwpf/fapi2/docs/topics/Examples.md @@ -28,12 +28,12 @@ fapi2::buffer<uint8_t>(0xA5).flipBit<5>().flipBit<5>() == 0xA5; ## Operations and Things -### Is the FAPI_TRY / 'clean_up:' method, the recommended method for doing put/getscoms? +### Is the FAPI_TRY / 'fapi_try_exit:' method, the recommended method for doing put/getscoms? Yes, FAPI_TRY is the preferred wrapper for put/get scom as well as other operations which used to do the do/while/break dance based on the fapi return code. A thread-local fapi return code, fapi2::current_err has been introduced to help with the housekeeping. -Feel free to decompose the FAPI_TRY pattern if you have clean_up requirements which make FAPI_TRY too simplistic. +Feel free to decompose the FAPI_TRY pattern if you have clean up requirements which make FAPI_TRY too simplistic. ## Targets |