diff options
author | Dan Crowell <dcrowell@us.ibm.com> | 2012-09-07 15:39:08 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2012-10-10 14:17:00 -0500 |
commit | 3536e96bd3a1d490cec900617fab6703fb7798ea (patch) | |
tree | de8f6a5988bdb935ba8691fb0747c305c395ccef /src/usr/hwpf/plat/fapiPlatAttributeService.C | |
parent | c093ffb2f52adae60468cfa466e9939ad9026a62 (diff) | |
download | blackbird-hostboot-3536e96bd3a1d490cec900617fab6703fb7798ea.tar.gz blackbird-hostboot-3536e96bd3a1d490cec900617fab6703fb7798ea.zip |
Populate Attributes for HostServices
Inside the start payload istep a set of FAPI attributes will
be read and copied into a specified location of mainstore so
that HostServices runtime code can access them.
There are 4 files that will be shared with HostServices code:
- attribute_structs.H : common structures used to define data
- hsvc_sysdata.C : list of required system attributes
- hsvc_procdata.C : list of required proc attributes
- hsvc_exdata.C : list of required ex attributes
RTC: 41242
Change-Id: I3af3b2bf99b4dbedb6efeb2cb35e49ba066a9c19
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1893
Tested-by: Jenkins Server
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf/plat/fapiPlatAttributeService.C')
-rw-r--r-- | src/usr/hwpf/plat/fapiPlatAttributeService.C | 61 |
1 files changed, 38 insertions, 23 deletions
diff --git a/src/usr/hwpf/plat/fapiPlatAttributeService.C b/src/usr/hwpf/plat/fapiPlatAttributeService.C index 2fc351d78..c0c9aa296 100644 --- a/src/usr/hwpf/plat/fapiPlatAttributeService.C +++ b/src/usr/hwpf/plat/fapiPlatAttributeService.C @@ -1,26 +1,25 @@ -/* IBM_PROLOG_BEGIN_TAG - * This is an automatically generated prolog. - * - * $Source: src/usr/hwpf/plat/fapiPlatAttributeService.C $ - * - * IBM CONFIDENTIAL - * - * COPYRIGHT International Business Machines Corp. 2011-2012 - * - * p1 - * - * Object Code Only (OCO) source materials - * Licensed Internal Code Source Materials - * IBM HostBoot Licensed Internal Code - * - * The source code for this program is not published or other- - * wise divested of its trade secrets, irrespective of what has - * been deposited with the U.S. Copyright Office. - * - * Origin: 30 - * - * IBM_PROLOG_END_TAG - */ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/usr/hwpf/plat/fapiPlatAttributeService.C $ */ +/* */ +/* IBM CONFIDENTIAL */ +/* */ +/* COPYRIGHT International Business Machines Corp. 2011,2012 */ +/* */ +/* p1 */ +/* */ +/* Object Code Only (OCO) source materials */ +/* Licensed Internal Code Source Materials */ +/* IBM HostBoot Licensed Internal Code */ +/* */ +/* The source code for this program is not published or otherwise */ +/* divested of its trade secrets, irrespective of what has been */ +/* deposited with the U.S. Copyright Office. */ +/* */ +/* Origin: 30 */ +/* */ +/* IBM_PROLOG_END_TAG */ /** * @file fapiPlatAttributeService.C * @@ -56,6 +55,22 @@ namespace fapi namespace platAttrSvc { +//@fixme begin RTC:42293 +fapi::ReturnCode return0_uint8( uint8_t &o_data ) { + fapi::ReturnCode l_rc; + o_data = 0; + return l_rc; +} +fapi::ReturnCode return0_uint32( uint32_t &o_data ) { + fapi::ReturnCode l_rc; + o_data = 0; + return l_rc; +} +fapi::ReturnCode set_ignore( void ) { + fapi::ReturnCode l_rc; + return l_rc; +} +//@fixme end //****************************************************************************** // fapi::platAttrSvc::getHostbootTarget |