summaryrefslogtreecommitdiffstats
path: root/src/include/usr/devicefw/userif.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/usr/devicefw/userif.H')
-rw-r--r--src/include/usr/devicefw/userif.H11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/usr/devicefw/userif.H b/src/include/usr/devicefw/userif.H
index 8d95db3a9..acd5d5ada 100644
--- a/src/include/usr/devicefw/userif.H
+++ b/src/include/usr/devicefw/userif.H
@@ -48,6 +48,7 @@ namespace DeviceFW
PRESENT,
FSI,
SPD,
+ MVPD,
LAST_ACCESS_TYPE,
};
@@ -97,6 +98,16 @@ namespace DeviceFW
DeviceFW::MAILBOX, static_cast<uint64_t*>((o_status))
/**
+ * Construct the device addressing parameters for the MVPD device ops.
+ * @param[in] i_record - The enumeration of the MVPD record to access.
+ * @param[in] i_keyword - The enumeration of the MVPD keyword, located
+ * within the i_record Record to access.
+ */
+ #define DEVICE_MVPD_ADDRESS( i_record, i_keyword )\
+ DeviceFW::MVPD, static_cast<uint64_t>(( i_record )),\
+ static_cast<uint64_t>(( i_keyword ))
+
+ /**
* @brief Perform a hardware read operation.
*
* @param[in] i_target Device target to operate on.
OpenPOWER on IntegriCloud