diff options
| author | Dan Crowell <dcrowell@us.ibm.com> | 2016-04-08 21:03:51 -0500 |
|---|---|---|
| committer | Stephen Cprek <smcprek@us.ibm.com> | 2016-04-21 13:51:32 -0500 |
| commit | 76f1c48130a060fbe83c851fce2474c17b2df9b2 (patch) | |
| tree | e258515dcbdab5817603c9d290befe2324df7d59 /src/usr/hwpf/plugins | |
| parent | 3967f43b9478d7e6b58180dd0b331e61412997cd (diff) | |
| download | blackbird-hostboot-76f1c48130a060fbe83c851fce2474c17b2df9b2.tar.gz blackbird-hostboot-76f1c48130a060fbe83c851fce2474c17b2df9b2.zip | |
Removing some more old fapi1 and hwp code
Deleted all of the old fapi1 code
Moved potentially reuseable occ code to a new dir
Deleted a variety of p8 hwp files
Change-Id: I8b6ab72fef3f1413d919bdd21bc88f2c4f59c5c3
RTC: 146345
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23075
Tested-by: Jenkins Server
Tested-by: FSP CI Jenkins
Reviewed-by: Matt Derksen <v2cibmd@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf/plugins')
| -rw-r--r-- | src/usr/hwpf/plugins/HWPF_COMP_ID_Parse.C | 32 | ||||
| -rw-r--r-- | src/usr/hwpf/plugins/fapiPlatUdParserHwp.H | 129 | ||||
| -rw-r--r-- | src/usr/hwpf/plugins/hwpfUdParserFactory.H | 69 | ||||
| -rw-r--r-- | src/usr/hwpf/plugins/hwpistepud.H | 99 |
4 files changed, 0 insertions, 329 deletions
diff --git a/src/usr/hwpf/plugins/HWPF_COMP_ID_Parse.C b/src/usr/hwpf/plugins/HWPF_COMP_ID_Parse.C deleted file mode 100644 index 39ab188a2..000000000 --- a/src/usr/hwpf/plugins/HWPF_COMP_ID_Parse.C +++ /dev/null @@ -1,32 +0,0 @@ -/* IBM_PROLOG_BEGIN_TAG */ -/* This is an automatically generated prolog. */ -/* */ -/* $Source: src/usr/hwpf/plugins/HWPF_COMP_ID_Parse.C $ */ -/* */ -/* OpenPOWER HostBoot Project */ -/* */ -/* COPYRIGHT International Business Machines Corp. 2012,2014 */ -/* */ -/* 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 HWPF_COMP_ID_Parse.C - * - * HWPF user data parser - */ -#include "errludparser.H" -#include "hwpfUdParserFactory.H" - -ERRL_MAKE_UD_PARSER(fapi::HwpfUserDetailsParserFactory, hbfw::HWPF_COMP_ID) - diff --git a/src/usr/hwpf/plugins/fapiPlatUdParserHwp.H b/src/usr/hwpf/plugins/fapiPlatUdParserHwp.H deleted file mode 100644 index 211bcd065..000000000 --- a/src/usr/hwpf/plugins/fapiPlatUdParserHwp.H +++ /dev/null @@ -1,129 +0,0 @@ -/* IBM_PROLOG_BEGIN_TAG */ -/* This is an automatically generated prolog. */ -/* */ -/* $Source: src/usr/hwpf/plugins/fapiPlatUdParserHwp.H $ */ -/* */ -/* OpenPOWER HostBoot Project */ -/* */ -/* COPYRIGHT International Business Machines Corp. 2013,2014 */ -/* */ -/* 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 */ -#ifndef FAPIPLATUDPARSERHWP_H -#define FAPIPLATUDPARSERHWP_H - -/** - * @file fapiPlatUdParserHwp.H - * - * Defines ErrlUserDetailsParser subclasses to parse the different types of HWP - * FFDC added as user detail data to an error log. - * - * Note that there are no corresponding ErrlUserDetails subclasses to create - * the user detail data because it is created by the platform neutral - * fapi::ReturnCode - */ -#include "errluserdetails.H" -#include "fapiPlatHwpErrParser.H" - -namespace fapi -{ - -/** - * @class PlatUserDetailsParserHwpRcValue - * - * Parses the HWP RcValue in an error log. - */ -class PlatUserDetailsParserHwpRcValue : public ERRORLOG::ErrlUserDetailsParser -{ -public: - /** - * @brief Constructor - */ - PlatUserDetailsParserHwpRcValue() {} - - /** - * @brief Destructor - */ - virtual ~PlatUserDetailsParserHwpRcValue() {} - - /** - * @brief Parses the HWP RcValue in an error log. - * - * @param i_version Version of the data - * @param i_parse ErrlUsrParser object for outputting information - * @param i_pBuffer Pointer to buffer containing detail data - * @param i_buflen Length of the buffer - */ - virtual void parse(errlver_t i_version, - ErrlUsrParser & i_parser, - void * i_pBuffer, - const uint32_t i_buflen) const - { - // Call a FAPI generated function to parse the return code - fapiParseHwpRc(i_parser, i_pBuffer, i_buflen); - } - -private: - // Disabled - PlatUserDetailsParserHwpRcValue(const PlatUserDetailsParserHwpRcValue &); - PlatUserDetailsParserHwpRcValue & operator=( - const PlatUserDetailsParserHwpRcValue &); -}; - -/** - * @class PlatUserDetailsParserHwpTarget - * - * Parses HWP FFDC in an error log. - */ -class PlatUserDetailsParserHwpFfdc : public ERRORLOG::ErrlUserDetailsParser -{ -public: - /** - * @brief Constructor - */ - PlatUserDetailsParserHwpFfdc() {} - - /** - * @brief Destructor - */ - virtual ~PlatUserDetailsParserHwpFfdc() {} - - /** - * @brief Parses HWP FFDC in an error log. - * - * @param i_version Version of the data - * @param i_parse ErrlUsrParser object for outputting information - * @param i_pBuffer Pointer to buffer containing detail data - * @param i_buflen Length of the buffer - */ - virtual void parse(errlver_t i_version, - ErrlUsrParser & i_parser, - void * i_pBuffer, - const uint32_t i_buflen) const - { - // Call a FAPI generated function to parse the FFDC - fapiParseHwpFfdc(i_parser, i_pBuffer, i_buflen); - } - -private: - // Disabled - PlatUserDetailsParserHwpFfdc(const PlatUserDetailsParserHwpFfdc &); - PlatUserDetailsParserHwpFfdc & operator=( - const PlatUserDetailsParserHwpFfdc &); -}; - -} - -#endif - diff --git a/src/usr/hwpf/plugins/hwpfUdParserFactory.H b/src/usr/hwpf/plugins/hwpfUdParserFactory.H deleted file mode 100644 index 4a9083ab6..000000000 --- a/src/usr/hwpf/plugins/hwpfUdParserFactory.H +++ /dev/null @@ -1,69 +0,0 @@ -/* IBM_PROLOG_BEGIN_TAG */ -/* This is an automatically generated prolog. */ -/* */ -/* $Source: src/usr/hwpf/plugins/hwpfUdParserFactory.H $ */ -/* */ -/* OpenPOWER HostBoot Project */ -/* */ -/* COPYRIGHT International Business Machines Corp. 2013,2014 */ -/* */ -/* 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 */ -#ifndef HWPFUDPARSERFACTORY_H -#define HWPFUDPARSERFACTORY_H - -/** - * @file fapiPlatHwpUdDecode.H - * - * Defines the PlatUserDetailsParserFactory class - */ -#include "errludparserfactory.H" -#include "fapiPlatUdParserHwp.H" -#include "hwpistepud.H" - -namespace fapi -{ - -/** - * @class Hwpf UserDetailsParserFactory - * - * This factory produces ErrlUserDetailsParser objects to parse the specified - * HWPF user detail data. - */ -class HwpfUserDetailsParserFactory : public ERRORLOG::ErrlUserDetailsParserFactory -{ -public: - - /** - * @brief Constructor - */ - HwpfUserDetailsParserFactory() - { - registerParser<PlatUserDetailsParserHwpRcValue>(HWPF_UDT_HWP_RCVALUE); - registerParser<PlatUserDetailsParserHwpFfdc>(HWPF_UDT_HWP_FFDC); - registerParser<ISTEP_ERROR::HwpUserDetailsParserIstep> - (HWPF_UDT_STEP_ERROR_DETAILS); - } - -private: - // Disabled - HwpfUserDetailsParserFactory(const HwpfUserDetailsParserFactory &); - HwpfUserDetailsParserFactory & operator=( - const HwpfUserDetailsParserFactory &); -}; - -} - -#endif - diff --git a/src/usr/hwpf/plugins/hwpistepud.H b/src/usr/hwpf/plugins/hwpistepud.H deleted file mode 100644 index f688b9067..000000000 --- a/src/usr/hwpf/plugins/hwpistepud.H +++ /dev/null @@ -1,99 +0,0 @@ -/* IBM_PROLOG_BEGIN_TAG */ -/* This is an automatically generated prolog. */ -/* */ -/* $Source: src/usr/hwpf/plugins/hwpistepud.H $ */ -/* */ -/* OpenPOWER HostBoot Project */ -/* */ -/* COPYRIGHT International Business Machines Corp. 2012,2014 */ -/* */ -/* 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 */ -#ifndef INITSVC_UDSTEP_H -#define INITSVC_UDSTEP_H - -/** - * @file initsvcudistep.H - * - * Defines the HwpUserDetailsParserIstep class that parses - * IStep FFDC user detail in an error log - */ - -#include "errluserdetails.H" - -namespace ISTEP_ERROR -{ - /** - * @struct IStepUserDetailsIstepData - * - * Defines the user detail data - */ - struct HwpUserDetailsIstepErrorData - { - uint32_t eid; - uint32_t reasoncode; - }; - - /** - * @class HwpUserDetailsParserIstep - * - * Parses Istep user detail in an error log - */ - class HwpUserDetailsParserIstep : public ERRORLOG::ErrlUserDetailsParser - { - public: - /** - * @brief Constructor - */ - HwpUserDetailsParserIstep() {} - - /** - * @brief Destructor - */ - virtual ~HwpUserDetailsParserIstep() {} - - /** - * @brief Parses Istep user detail data from an error log - * - * @param i_version Version of the data - * @param i_parse ErrlUsrParser object for outputting - * information - * @param i_pBuffer Pointer to buffer containing detail data - * @param i_buflen Length of the buffer - */ - virtual void parse(errlver_t i_version, - ErrlUsrParser & i_parser, - void * i_pBuffer, - const uint32_t i_buflen) const - { - HwpUserDetailsIstepErrorData * l_pData = - static_cast<HwpUserDetailsIstepErrorData *>(i_pBuffer); - - i_parser.PrintNumber("See error log ID:","0x%X", - ntohl(l_pData->eid)); - - i_parser.PrintNumber("Reasoncode:","0x%X", - ntohl(l_pData->reasoncode) ); - } - - private: - // Disabled - HwpUserDetailsParserIstep(const HwpUserDetailsParserIstep &); - HwpUserDetailsParserIstep & operator=( - const HwpUserDetailsParserIstep &); - }; -} - -#endif - |

