diff options
author | Yue Du <daviddu@us.ibm.com> | 2016-06-24 23:58:31 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-08-01 11:45:00 -0400 |
commit | 5dddd1788345907e1f6dd2c544d31b84026320fb (patch) | |
tree | 2489594a850462f196dae465a1de461d7b95f196 /src/import/chips/p9/procedures/hwp/cache/p9_hcd_cache_stopclocks.H | |
parent | 75d9008e5d01f4ead5d54cbe024a4634e981a5a3 (diff) | |
download | talos-hostboot-5dddd1788345907e1f6dd2c544d31b84026320fb.tar.gz talos-hostboot-5dddd1788345907e1f6dd2c544d31b84026320fb.zip |
CORE/CACHE: add Level1 cache/l2/core stopclocks procedures
Change-Id: I9c7bc5470e09fa456a68b59122be4ab94a6e8e12
Original-Change-Id: Id407ffa51ea9a7fb9a0056a7faaf1e33e4433e50
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26276
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Soma Bhanutej <soma.bhanu@in.ibm.com>
Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27581
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/cache/p9_hcd_cache_stopclocks.H')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/cache/p9_hcd_cache_stopclocks.H | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/src/import/chips/p9/procedures/hwp/cache/p9_hcd_cache_stopclocks.H b/src/import/chips/p9/procedures/hwp/cache/p9_hcd_cache_stopclocks.H new file mode 100644 index 000000000..50ee08a8b --- /dev/null +++ b/src/import/chips/p9/procedures/hwp/cache/p9_hcd_cache_stopclocks.H @@ -0,0 +1,60 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: chips/p9/procedures/hwp/cache/p9_hcd_cache_stopclocks.H $ */ +/* */ +/* IBM CONFIDENTIAL */ +/* */ +/* EKB Project */ +/* */ +/* COPYRIGHT 2015,2016 */ +/* [+] International Business Machines Corp. */ +/* */ +/* */ +/* 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. */ +/* */ +/* IBM_PROLOG_END_TAG */ +/// +/// @file p9_hcd_cache_stopclocks.H +/// @brief Quad Clock Stop +/// + +// *HWP HWP Owner : David Du <daviddu@us.ibm.com> +// *HWP Backup HWP Owner : Greg Still <stillgs@us.ibm.com> +// *HWP FW Owner : Sangeetha T S <sangeet2@in.ibm.com> +// *HWP Team : PM +// *HWP Consumed by : HB:PREV +// *HWP Level : 2 + +#ifndef __P9_HCD_CACHE_STOPCLOCKS_H__ +#define __P9_HCD_CACHE_STOPCLOCKS_H__ + +#include <fapi2.H> +#include <p9_hcd_common.H> + +/// @typedef p9_hcd_cache_stopclocks_FP_t +/// function pointer typedef definition for HWP call support +typedef fapi2::ReturnCode (*p9_hcd_cache_stopclocks_FP_t) ( + const fapi2::Target<fapi2::TARGET_TYPE_EQ>&, + const p9hcd::P9_HCD_CLK_CTRL_CONSTANTS, + const p9hcd::P9_HCD_EX_CTRL_CONSTANTS); + +extern "C" +{ + +/// @brief Quad Clock Stop +/// @param [in] i_target TARGET_TYPE_EQ target +/// @param [in] i_skip_regions select clk regions to skip on stopclocks +/// @param [in] i_skip_ex select ex, odd and/or even, to skip on stopclocks +/// @return FAPI2_RC_SUCCESS if success, else error code + fapi2::ReturnCode + p9_hcd_cache_stopclocks( + const fapi2::Target<fapi2::TARGET_TYPE_EQ>& i_target, + const p9hcd::P9_HCD_CLK_CTRL_CONSTANTS i_select_regions, + const p9hcd::P9_HCD_EX_CTRL_CONSTANTS i_select_ex); + +} + +#endif // __P9_HCD_CACHE_STOPCLOCKS_H__ |