summaryrefslogtreecommitdiffstats
path: root/src/sbefw/sbeSpMsg.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/sbefw/sbeSpMsg.H')
-rw-r--r--src/sbefw/sbeSpMsg.H11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/sbefw/sbeSpMsg.H b/src/sbefw/sbeSpMsg.H
index 97e3ddf2..3b0cc6ff 100644
--- a/src/sbefw/sbeSpMsg.H
+++ b/src/sbefw/sbeSpMsg.H
@@ -446,6 +446,17 @@ typedef struct
}
/**
+ * @brief Determines if inject Mode is set
+ *
+ * @return Returns True if inject mode is set
+ * False if inject mode is not set
+ */
+ uint32_t isPbaInjectModeSet() const
+ {
+ return ((flags & SBE_MEM_ACCESS_FLAGS_INJECT_ON) ? true : false);
+ }
+
+ /**
* @brief Calculates Data length in alignment with PBA/ADU Cacheline
* (128B/8B respectively)
*
OpenPOWER on IntegriCloud