From 94489f26e87189928e8ba3bae05419ac6f0771cb Mon Sep 17 00:00:00 2001 From: Greg Still Date: Mon, 1 Jun 2015 18:23:01 -0500 Subject: Make attributes work with resync Change-Id: I9754c4559bba1ca228b168463c312c4d3ab6309a --- hwpf/plat/include/target_types.H | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) (limited to 'hwpf') diff --git a/hwpf/plat/include/target_types.H b/hwpf/plat/include/target_types.H index a5d9526b..19465982 100644 --- a/hwpf/plat/include/target_types.H +++ b/hwpf/plat/include/target_types.H @@ -36,6 +36,7 @@ /// FAPI namespace namespace fapi2 { + /// /// @enum fapi::TargetType /// @brief Types, kinds, of targets @@ -51,15 +52,10 @@ namespace fapi2 TARGET_TYPE_EX = 0x02, ///< Ex type TARGET_TYPE_CORE = 0x04, ///< Core type TARGET_TYPE_EQ = 0x08, ///< EQ type - TARGET_TYPE_PERV = 0x10, ///< Pervasive type - TARGET_TYPE_EQ_MC_WRITE = 0x20, ///< EQ Multicast Type - TARGET_TYPE_EQ_MC_READAND = 0x21, ///< EQ Multicast Read AND Type - TARGET_TYPE_EQ_MC_READOR = 0x22, ///< EQ Multicast Read OR Type - TARGET_TYPE_CORE_MC_WRITE = 0x23, ///< Core Multicast Type - TARGET_TYPE_CORE_MC_READAND = 0x24, ///< Core Multicast Read AND Type - TARGET_TYPE_CORE_MC_READOR = 0x25, ///< Core Multicast Read OR Type - TARGET_TYPE_CME_CORE0 = 0x40, ///< CME Core0 (CME only) - TARGET_TYPE_CME_CORE1 = 0x41, ///< CME Core1 (CME only) + TARGET_TYPE_MCS = 0x10, ///< MCS type + TARGET_TYPE_PERV = 0x20, ///< Pervasive type + TARGET_TYPE_MCAST = 0x80, ///< Multicast type + TARGET_TYPE_ALL = 0xFF, ///< Any/All types @@ -101,10 +97,18 @@ namespace fapi2 }; - /** - * @brief Typedef used when passing multiple TargetType values - */ - typedef uint8_t TargetTypes_t; + // Mappings to target types found in the error xml files + TARGET_TYPE_EX_CHIPLET = TARGET_TYPE_EX, +// TARGET_TYPE_MBA_CHIPLET = TARGET_TYPE_MBA, +// TARGET_TYPE_MCS_CHIPLET = TARGET_TYPE_MCS, +// TARGET_TYPE_XBUS_ENDPOINT = TARGET_TYPE_XBUS, +// TARGET_TYPE_ABUS_ENDPOINT = TARGET_TYPE_ABUS, + }; + + /// + /// @brief Typedef used when passing multiple TargetType values + /// + typedef uint8_t TargetTypes_t; /// @cond constexpr TargetType operator|(TargetType x, TargetType y) -- cgit v1.2.1