/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_hcd_core_gptr_time_initf.c $ */ /* */ /* OpenPOWER HCODE Project */ /* */ /* COPYRIGHT 2015,2017 */ /* [+] 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 */ #include "plat_ring_traverse.h" #include "p9_cme_stop_exit_marks.h" #include "p9_ringid_cme_enums.h" inline __attribute__((always_inline)) void p9_hcd_core_gptr_time_initf(uint32_t core) { PK_TRACE("Scan ec_gptr ring core value %d", core); putRing(core, CME_SCOM_EQ, ec_gptr); PK_TRACE("Scan ec_time ring core value %d", core); putRing(core, CME_SCOM_EQ, ec_time); }