diff options
author | Prachi Gupta <pragupta@us.ibm.com> | 2015-10-14 13:23:26 -0500 |
---|---|---|
committer | Patrick Williams <iawillia@us.ibm.com> | 2015-12-11 15:30:26 -0600 |
commit | a4ccd3d722669446c136632b6b501c0748ca3be3 (patch) | |
tree | 8721885a550276781b44cf52f896d468995293bd /src/usr/isteps/hwpistepud.C | |
parent | 3187da27c464de6422ecb1bc12a085fc5b31f610 (diff) | |
download | talos-hostboot-a4ccd3d722669446c136632b6b501c0748ca3be3.tar.gz talos-hostboot-a4ccd3d722669446c136632b6b501c0748ca3be3.zip |
P9 Isteps: Created directory structure for istep 6/7 wrappers
Change-Id: I8ac216444270b1ea5a2fd550f4e1ea8861de7c4d
RTC:137652
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/21458
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/isteps/hwpistepud.C')
-rw-r--r-- | src/usr/isteps/hwpistepud.C | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/src/usr/isteps/hwpistepud.C b/src/usr/isteps/hwpistepud.C new file mode 100644 index 000000000..8bed5a84f --- /dev/null +++ b/src/usr/isteps/hwpistepud.C @@ -0,0 +1,59 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/usr/isteps/hwpistepud.C $ */ +/* */ +/* OpenPOWER HostBoot Project */ +/* */ +/* Contributors Listed Below - COPYRIGHT 2015 */ +/* [+] International Business Machines Corp. */ +/* */ +/* */ +/* Licensed under the Apache License, Version 2.0 (the "License"); */ +/* you may not use this file except in compliance with the License. */ +/* You may obtain a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */ +/* implied. See the License for the specific language governing */ +/* permissions and limitations under the License. */ +/* */ +/* IBM_PROLOG_END_TAG */ +/** + * @file hwpudistep.C + * + * @brief Implementation of HwpSvcUserDetailsIstep + */ +#include <hbotcompid.H> +#include <isteps/hwpistepud.H> +#include <hwpf/hwpf_reasoncodes.H> + +using namespace ISTEP_ERROR; + +//------------------------------------------------------------------------------ +HwpUserDetailsIstep::HwpUserDetailsIstep( errlHndl_t i_err ) +{ + HwpUserDetailsIstepErrorData * l_pBuf = + reinterpret_cast<HwpUserDetailsIstepErrorData *>( + reallocUsrBuf(sizeof(HwpUserDetailsIstepErrorData))); + + l_pBuf->eid = i_err->eid(); + + l_pBuf->reasoncode = i_err->reasonCode(); + + // Set up ErrlUserDetails instance variables + iv_CompId = HWPF_COMP_ID; + iv_Version = 1; + iv_SubSection = fapi::HWPF_UDT_STEP_ERROR_DETAILS; +} + +//------------------------------------------------------------------------------ +HwpUserDetailsIstep::~HwpUserDetailsIstep() +{ + +} + + |