diff options
| author | Adam Muhle <armuhle@us.ibm.com> | 2013-01-21 16:52:43 -0600 |
|---|---|---|
| committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-02-14 15:38:34 -0600 |
| commit | a753459c20affff821477924808ea5b9412504c5 (patch) | |
| tree | 32bc3f2581564f53167440b76cb7ad1db3a8fe58 /src/include/usr/devicefw | |
| parent | 5f5ecb46d1838847dedd33791d4da86d3df39638 (diff) | |
| download | talos-hostboot-a753459c20affff821477924808ea5b9412504c5.tar.gz talos-hostboot-a753459c20affff821477924808ea5b9412504c5.zip | |
CVPD Device Driver updates.
Implemented Device Driver support for Centaur VPD.
Since CVPD is almost identical to MVPD, I moved the MVPD
code to a base class so the actual logic is now common between
the two. To support CVPD in the standalone configs, the
hb-preload script was updated to populate the CVPD partition
as well. I also started migrating the VPD code to a common
trace buffer.
RTC: 44009
Change-Id: I6e96d5e993d6d74d40df3d296cdcf8f34e4b5cc5
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3029
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Tested-by: Jenkins Server
Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/devicefw')
| -rw-r--r-- | src/include/usr/devicefw/userif.H | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/include/usr/devicefw/userif.H b/src/include/usr/devicefw/userif.H index 9f4463661..7fbad5d74 100644 --- a/src/include/usr/devicefw/userif.H +++ b/src/include/usr/devicefw/userif.H @@ -5,7 +5,7 @@ /* */ /* IBM CONFIDENTIAL */ /* */ -/* COPYRIGHT International Business Machines Corp. 2011,2012 */ +/* COPYRIGHT International Business Machines Corp. 2011,2013 */ /* */ /* p1 */ /* */ @@ -49,6 +49,7 @@ namespace DeviceFW FSI, SPD, MVPD, + CVPD, SCAN, LAST_ACCESS_TYPE, @@ -109,6 +110,16 @@ namespace DeviceFW static_cast<uint64_t>(( i_keyword )) /** + * Construct the device addressing parameters for the CVPD device ops. + * @param[in] i_record - The enumeration of the CVPD record to access. + * @param[in] i_keyword - The enumeration of the CVPD keyword, located + * within the i_record Record to access. + */ + #define DEVICE_CVPD_ADDRESS( i_record, i_keyword )\ + DeviceFW::CVPD, static_cast<uint64_t>(( i_record )),\ + static_cast<uint64_t>(( i_keyword )) + + /** * Construct the device addressing parameters for the SCAN device ops. * @param[in] i_ring - The ring address to scan * @param[in] i_ringlen - The length of the ring to scan in bits |

