summaryrefslogtreecommitdiffstats
path: root/src/hwpf/plat_hw_access.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/hwpf/plat_hw_access.H')
-rw-r--r--src/hwpf/plat_hw_access.H14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/hwpf/plat_hw_access.H b/src/hwpf/plat_hw_access.H
index 16bbf0ce..7af79bd3 100644
--- a/src/hwpf/plat_hw_access.H
+++ b/src/hwpf/plat_hw_access.H
@@ -6,6 +6,7 @@
/* OpenPOWER sbe Project */
/* */
/* Contributors Listed Below - COPYRIGHT 2015,2017 */
+/* [+] International Business Machines Corp. */
/* */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); */
@@ -147,6 +148,19 @@ namespace fapi2
const uint32_t i_addr, uint64_t i_data);
///
+ /// @brief Plat implementation of putScomUnderMask
+ ///
+ /// @param [in] i_target Pointer to fapi2::Target as a void*
+ /// @param [in] i_addr The SCOM address
+ /// @param [in] i_data The data to write (after applying the mask)
+ /// @param [in] i_mask The data mask
+ ///
+ /// @return fapi2::ReturnCode. FAPI2_RC_SUCCESS if success, else error code.
+ fapi2::ReturnCode putscom_under_mask(const void *i_target,
+ uint32_t i_addr,
+ uint64_t i_data,
+ uint64_t i_mask);
+ ///
/// @brief Platform wrapper to retry scom for parity/timeout errors
///
/// @param [in] i_addr The SCOM address
OpenPOWER on IntegriCloud