summaryrefslogtreecommitdiffstats
path: root/src/include/usr/runtime/preverifiedlidmgr.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/usr/runtime/preverifiedlidmgr.H')
-rw-r--r--src/include/usr/runtime/preverifiedlidmgr.H9
1 files changed, 9 insertions, 0 deletions
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:
/**
OpenPOWER on IntegriCloud