diff options
author | Matthew Barth <msbarth@us.ibm.com> | 2012-02-17 15:50:22 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2012-03-06 10:18:58 -0600 |
commit | f538d4cbe355a98be2675468da6f3a24078893e8 (patch) | |
tree | 2eca68492641c61f8714f6d7ed790ece29a1e969 /src/include/usr/devicefw | |
parent | 18036e00119f1b3757678331173a02eb71b5d179 (diff) | |
download | talos-hostboot-f538d4cbe355a98be2675468da6f3a24078893e8.tar.gz talos-hostboot-f538d4cbe355a98be2675468da6f3a24078893e8.zip |
Base Mailbox device driver read/write function
Change-Id: I71cee7950d4dff6279422b6ee7fbcc94dcfaf8df
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/679
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Tested-by: Jenkins Server
Diffstat (limited to 'src/include/usr/devicefw')
-rw-r--r-- | src/include/usr/devicefw/userif.H | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/include/usr/devicefw/userif.H b/src/include/usr/devicefw/userif.H index 336bce720..8d95db3a9 100644 --- a/src/include/usr/devicefw/userif.H +++ b/src/include/usr/devicefw/userif.H @@ -63,12 +63,6 @@ namespace DeviceFW #define DEVICE_PRESENT_ADDRESS() \ DeviceFW::PRESENT - /** Construct the device addressing parameters for FSI device ops. - * @param[in] i_address - FSI address to operate on. - */ - #define DEVICE_FSI_ADDRESS(i_address) \ - DeviceFW::FSI, static_cast<uint64_t>((i_address)) - /** * Construct a PNOR DD address * address = 0000_0000_0000_000c_aaaa_aaaa_aaaa_aaaa @@ -94,6 +88,13 @@ namespace DeviceFW #define DEVICE_SPD_ADDRESS( i_keyword )\ DeviceFW::SPD, static_cast<uint64_t>(( i_keyword )) + /** + * Construct the device addressing parameters for the MAILBOX device. + * @param[out] o_status - Set with all available status bits + * from MBOX::MboxReadStatus + */ + #define DEVICE_MBOX_ADDRESS(o_status) \ + DeviceFW::MAILBOX, static_cast<uint64_t*>((o_status)) /** * @brief Perform a hardware read operation. |