From d1d3f44dd9394894efd35b822c33ce36a6d01392 Mon Sep 17 00:00:00 2001 From: Ilya Smirnov Date: Thu, 28 Mar 2019 08:32:24 -0500 Subject: SMF: New Ultravisor White/Blacklist Handling New procedure to call the SBE chip op to pass the SBE the address at which it will populate the Ultravisor XSCOM white/blacklist. The white/blacklist is also included in hostboot reserved memory and is passed to HDAT. Change-Id: If28854a73fa521297084bdee391fab95aa4f9a8a RTC: 192422 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75238 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Nicholas E. Bofferding Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: Daniel M. Crowell --- src/include/usr/runtime/preverifiedlidmgr.H | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/include/usr/runtime') diff --git a/src/include/usr/runtime/preverifiedlidmgr.H b/src/include/usr/runtime/preverifiedlidmgr.H index c5c335ce0..00cea7c3e 100644 --- a/src/include/usr/runtime/preverifiedlidmgr.H +++ b/src/include/usr/runtime/preverifiedlidmgr.H @@ -88,6 +88,15 @@ class PreVerifiedLidMgr bool i_firstLid, uint64_t& o_resvMemAddr); + /** + * @brief Returns the next available address in hostboot reserved memory. + * The underlying math depends on the payload kind. + * + * @param[in] i_size the desired size of the reserved region + * @return uint64_t next available reserved memory address + */ + static uint64_t getNextResMemAddr(size_t i_size); + protected: /** -- cgit v1.2.1