From b7733595ec491960fa6c97f5ad1fb2c47ac5592c Mon Sep 17 00:00:00 2001 From: Patrick Williams Date: Sun, 19 Jan 2014 22:06:28 -0600 Subject: HBRT: Build small devtree for HDAT-based Sapphire. Change-Id: I06fb4c6d07a82146b19a38457d2114569c53a571 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/8147 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell Reviewed-by: A. Patrick Williams III --- src/include/usr/devtree/devtreeif.H | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src/include/usr/devtree/devtreeif.H') diff --git a/src/include/usr/devtree/devtreeif.H b/src/include/usr/devtree/devtreeif.H index e6c068e88..2fbcb885d 100644 --- a/src/include/usr/devtree/devtreeif.H +++ b/src/include/usr/devtree/devtreeif.H @@ -5,7 +5,7 @@ /* */ /* IBM CONFIDENTIAL */ /* */ -/* COPYRIGHT International Business Machines Corp. 2012,2013 */ +/* COPYRIGHT International Business Machines Corp. 2012,2014 */ /* */ /* p1 */ /* */ @@ -32,9 +32,16 @@ namespace DEVTREE /** * @brief Build flattened dev tree for Sapphire * + * @param[in] i_dtAddr - Address to load devtree. 0 will use a default + * data area appropriate for non-HDAT Sapphire. + * @param[in] i_dtSize - Allowable size for the devtree. + * @param[in] i_smallTree - Build a small devtree appropriate for inside + * the HDAT area. + * * @return errlHndl_t NULL on success */ - errlHndl_t build_flatdevtree( void ); + errlHndl_t build_flatdevtree( uint64_t i_dtAddr = 0, size_t i_dtSize = 0, + bool i_smallTree = false); /** * @brief Get the address of the flattened dev tree for Sapphire -- cgit v1.2.3