/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/ecc/ecc_traits_explorer.C $ */ /* */ /* OpenPOWER HostBoot Project */ /* */ /* Contributors Listed Below - COPYRIGHT 2019 */ /* [+] 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 ecc_traits_explorer.C /// @brief Traits class for the MC ECC syndrome registers /// // *HWP HWP Owner: Matthew Hickman // *HWP HWP Backup: Louis Stermole // *HWP Team: Memory // *HWP Level: 3 // *HWP Consumed by: FSP:HB #include #include #include #include namespace mss { // we need these declarations here in order for the linker to see the definitions // in the eccTraits class constexpr const uint64_t eccTraits::MAINLINE_NCE_REGS[]; constexpr const uint64_t eccTraits::MAINLINE_RCE_REGS[]; constexpr const uint64_t eccTraits::MAINLINE_MPE_REGS[]; constexpr const uint64_t eccTraits::MAINLINE_UE_REGS[]; constexpr const uint64_t eccTraits::MAINLINE_AUE_REGS[]; constexpr const uint64_t eccTraits::ERROR_VECTOR_REGS[]; constexpr const uint8_t eccTraits::symbol2galois[]; constexpr const uint8_t eccTraits::symbol2dq[]; // Definition of the symbol error count registers for Explorer const std::vector< uint64_t > eccTraits::SYMBOL_COUNT_REG = { EXPLR_MCBIST_MBSSYMEC0Q, EXPLR_MCBIST_MBSSYMEC1Q, EXPLR_MCBIST_MBSSYMEC2Q, EXPLR_MCBIST_MBSSYMEC3Q, EXPLR_MCBIST_MBSSYMEC4Q, EXPLR_MCBIST_MBSSYMEC5Q, EXPLR_MCBIST_MBSSYMEC6Q, EXPLR_MCBIST_MBSSYMEC7Q, EXPLR_MCBIST_MBSSYMEC8Q, EXPLR_MCBIST_MBSSYMEC9Q, }; } // close namespace mss