diff options
| author | Terry J. Opie <opiet@us.ibm.com> | 2012-02-15 09:00:01 -0600 |
|---|---|---|
| committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2012-02-23 11:09:42 -0600 |
| commit | 8ff1f172618e6f643957f91b3409fcdfcc7a6140 (patch) | |
| tree | 5b7b0310031de7d401585b8722196d343bc732e5 /src/usr/spd/spd.H | |
| parent | ca7d3dd133b9b82d55532efb36e4f56a9df7dd5d (diff) | |
| download | blackbird-hostboot-8ff1f172618e6f643957f91b3409fcdfcc7a6140.tar.gz blackbird-hostboot-8ff1f172618e6f643957f91b3409fcdfcc7a6140.zip | |
SPD binary_search
- Implement binary_search algorithm for keyword lookup table
Change-Id: If7526d84fe3415ca0d2bf7a1de31816b77a912c5
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/674
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/spd/spd.H')
| -rwxr-xr-x | src/usr/spd/spd.H | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/usr/spd/spd.H b/src/usr/spd/spd.H index 087d3353e..bef0cdc08 100755 --- a/src/usr/spd/spd.H +++ b/src/usr/spd/spd.H @@ -199,7 +199,7 @@ errlHndl_t spdGetValue ( uint64_t i_keyword, * the data isn't sequential, or is broken up between two different * offsets within the layout. * - * @param[in] i_keyword - The SPD keyword to access. + * @param[in] i_kwdData - The SPD keyword to access. * * @param[in/out] io_buffer - The buffer that will contain the data * read from the SPD data. @@ -209,16 +209,13 @@ errlHndl_t spdGetValue ( uint64_t i_keyword, * * @param[in] i_target - The target DIMM to access the data for. * - * @param[in] i_entry - The table entry for the keyword to read. - * * @return errlHndl_t - NULL if successful, otherwise a pointer to the * error log. */ -errlHndl_t spdSpecialCases ( uint64_t i_keyword, +errlHndl_t spdSpecialCases ( KeywordData i_kwdData, void * io_buffer, size_t & io_buflen, TARGETING::Target * i_target, - uint64_t i_entry, uint64_t i_DDRRev ); /** |

