summaryrefslogtreecommitdiffstats
path: root/src/include/usr/runtime
diff options
context:
space:
mode:
authorSakethan R Kotta <sakkotta@in.ibm.com>2018-05-10 04:27:37 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-06-19 17:23:47 -0400
commit34d086e3e67827f0496b838d5d05a9964aa1346c (patch)
treed9e9df383f1b390e07a2e7f2f6f68a551e1e49bb /src/include/usr/runtime
parentb3e359badd405671f75aad9e22589ac36d882fa5 (diff)
downloadtalos-hostboot-34d086e3e67827f0496b838d5d05a9964aa1346c.tar.gz
talos-hostboot-34d086e3e67827f0496b838d5d05a9964aa1346c.zip
untrusted SBE reserved memory region to Rsvd Mem Trace Buf Section
Opens an untrusted SBE reserved memory region with read-only permissions to the Rsvd Mem Trace Buf Section.so that tools/debug can come in and read those traces in secure mode. Establishes the window across -all- chips. Change-Id: Ied9852455d7c412915871328976a9204e1f5247f RTC:191303 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58637 Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr/runtime')
-rw-r--r--src/include/usr/runtime/runtime.H11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/usr/runtime/runtime.H b/src/include/usr/runtime/runtime.H
index e8605676b..5ae784b74 100644
--- a/src/include/usr/runtime/runtime.H
+++ b/src/include/usr/runtime/runtime.H
@@ -357,6 +357,17 @@ void findHdatLocation(uint64_t payloadBase_va,
uint64_t& o_hdat_offset,
size_t& o_hdat_size);
+/**
+ * @brief Finds the Rsvd Mem Trace Buffer section and returns the address and
+ * size of the section
+ *
+ * @param[out] o_RsvdMemAddress - tarting address of the Rsvd Mem Trace Buffer section
+ * @param[out] o_size - Size of the Rsvd Mem Trace Buffer section
+ * @return errlHndl_t Returns nullptr on success; otherwise errlog
+ */
+errlHndl_t getRsvdMemTraceBuf(uint64_t& o_RsvdMemAddress, uint64_t& o_size);
+
}
#endif
+
OpenPOWER on IntegriCloud