summaryrefslogtreecommitdiffstats
path: root/src/include/runtime/interface.h
diff options
context:
space:
mode:
authorBill Schwartz <whs@us.ibm.com>2015-07-14 09:58:35 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-08-06 16:14:19 -0500
commit77fb3e2cb457a1fdd2ea08abf495b54278070af0 (patch)
tree36548e642894040444a06bc42882d996122cd549 /src/include/runtime/interface.h
parent5a39b44b4148f1a8740074dc0937b56ed162e24d (diff)
downloadtalos-hostboot-77fb3e2cb457a1fdd2ea08abf495b54278070af0.tar.gz
talos-hostboot-77fb3e2cb457a1fdd2ea08abf495b54278070af0.zip
Support multiple instances for reserved memory
Update HBRT interface to add an instance to get_resvered_mem and update devtree entries with instance. Change-Id: Ie0c5a76ce5ff347354bc91898e1c4dc032430e13 RTC: 131056 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/19281 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: MATTHEW A. PLOETZ <maploetz@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/runtime/interface.h')
-rw-r--r--src/include/runtime/interface.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/runtime/interface.h b/src/include/runtime/interface.h
index 19c673c16..a7177a000 100644
--- a/src/include/runtime/interface.h
+++ b/src/include/runtime/interface.h
@@ -153,9 +153,10 @@ typedef struct hostInterfaces
/** Get the address of a reserved memory region by its devtree name.
*
* @param[in] Devtree name (ex. "ibm,hbrt-vpd-image")
+ * @param[in] Devtree instance
* @return physical address of region (or NULL).
**/
- uint64_t (*get_reserved_mem)(const char*);
+ uint64_t (*get_reserved_mem)(const char *name, uint32_t instance);
/**
* @brief Force a core to be awake, or clear the force
OpenPOWER on IntegriCloud