From edb74f80cc2a8a0e51de869c2a77517e0184b50e Mon Sep 17 00:00:00 2001 From: Dan Crowell Date: Fri, 31 Mar 2017 13:40:50 -0500 Subject: Bug fixes and workarounds for Hostboot Reserved Memory Set type to invalid (0xFF) for unallocated ranges Silently handle both old and new HDAT formats to allow for roll-in of other code without changes here. Change-Id: I5558a6a3476e8d4a1b3b885eef1df1e7f74a898b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38741 Tested-by: Jenkins Server Reviewed-by: Martin Gloff Tested-by: Jenkins OP Build CI Tested-by: FSP CI Jenkins Reviewed-by: Corey V. Swenson Reviewed-by: Daniel M. Crowell --- src/usr/hdat/hdatmsvpd.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/usr/hdat/hdatmsvpd.C') diff --git a/src/usr/hdat/hdatmsvpd.C b/src/usr/hdat/hdatmsvpd.C index 32ab77fd1..5808561d6 100755 --- a/src/usr/hdat/hdatmsvpd.C +++ b/src/usr/hdat/hdatmsvpd.C @@ -289,7 +289,7 @@ errlHndl_t HdatMsVpd::addRHBAddrRange(uint32_t i_dbob_id, hdatMsAddr_t &i_start, (iv_RHBaddrRangeArray) + (iv_RHBaddrRngArrayHdr.hdatArrayCnt * sizeof(hdatMsVpdRhbAddrRange_t))); - l_addr->hdatRhbRngType = 0x0; + l_addr->hdatRhbRngType = HDAT::RHB_TYPE_INVALID; l_addr->hdatRhbRngId = i_dbob_id; l_addr->hdatRhbAddrRngStrAddr = i_start; l_addr->hdatRhbAddrRngEndAddr = i_end; -- cgit v1.2.1