88*/
99/* *****************************************************************************/
1010/*
11- * Copyright (c) 2020-2023 Arm Limited. All rights reserved.
11+ * Copyright (c) 2020-2026 Arm Limited. All rights reserved.
1212 *
1313 * SPDX-License-Identifier: Apache-2.0
1414 */
@@ -153,19 +153,26 @@ class RteConstants
153153
154154 static constexpr const char * YAML_ON = " on" ;
155155 static constexpr const char * YAML_OFF = " off" ;
156+ static constexpr const char * YAML_PRESENT = " present" ;
157+ static constexpr const char * YAML_NONE = " none" ;
156158 static constexpr const char * YAML_FPU_DP = " dp" ;
157159 static constexpr const char * YAML_FPU_SP = " sp" ;
158160 static constexpr const char * YAML_MVE_FP = " fp" ;
159161 static constexpr const char * YAML_MVE_INT = " int" ;
160162 static constexpr const char * YAML_ENDIAN_BIG = " big" ;
161163 static constexpr const char * YAML_ENDIAN_LITTLE = " little" ;
164+ static constexpr const char * YAML_ENDIAN_CONFIG = " configurable" ;
162165 static constexpr const char * YAML_BP_BTI = " bti" ;
163166 static constexpr const char * YAML_BP_BTI_SIGNRET = " bti-signret" ;
164167 static constexpr const char * YAML_TZ_SECURE = " secure" ;
165168 static constexpr const char * YAML_TZ_SECURE_ONLY = " secure-only" ;
166169 static constexpr const char * YAML_TZ_NON_SECURE = " non-secure" ;
167170
171+ static constexpr const char * RTE_DCLOCK = " Dclock" ;
172+ static constexpr const char * RTE_DCORE = " Dcore" ;
173+ static constexpr const char * RTE_DCORE_VERSION = " DcoreVersion" ;
168174 static constexpr const char * RTE_DFPU = " Dfpu" ;
175+ static constexpr const char * RTE_DMPU = " Dmpu" ;
169176 static constexpr const char * RTE_DDSP = " Ddsp" ;
170177 static constexpr const char * RTE_DMVE = " Dmve" ;
171178 static constexpr const char * RTE_DENDIAN = " Dendian" ;
@@ -174,9 +181,14 @@ class RteConstants
174181 static constexpr const char * RTE_DBRANCHPROT = " DbranchProt" ;
175182 static constexpr const char * RTE_DPACBTI = " Dpacbti" ;
176183
184+ static constexpr const char * RTE_PNAME = " Pname" ;
185+ static constexpr const char * RTE_PUNITS = " Punits" ;
186+
177187 static constexpr const char * RTE_DP_FPU = " DP_FPU" ;
178188 static constexpr const char * RTE_SP_FPU = " SP_FPU" ;
179189 static constexpr const char * RTE_NO_FPU = " NO_FPU" ;
190+ static constexpr const char * RTE_MPU = " MPU" ;
191+ static constexpr const char * RTE_NO_MPU = " NO_MPU" ;
180192 static constexpr const char * RTE_DSP = " DSP" ;
181193 static constexpr const char * RTE_NO_DSP = " NO_DSP" ;
182194 static constexpr const char * RTE_MVE = " MVE" ;
@@ -194,19 +206,22 @@ class RteConstants
194206 static constexpr const char * RTE_BTI = " BTI" ;
195207 static constexpr const char * RTE_BTI_SIGNRET = " BTI_SIGNRET" ;
196208 static constexpr const char * RTE_NO_BRANCHPROT = " NO_BRANCHPROT" ;
209+ static constexpr const char * RTE_PACBTI = " PACBTI" ;
197210 static constexpr const char * RTE_NO_PACBTI = " NO_PACBTI" ;
198211
199212 static const StrMap DeviceAttributesKeys;
200213 static const StrPairVecMap DeviceAttributesValues;
214+ static const StrPairVecMap ProcessorCapabilities;
201215
202216 /* *
203217 * @brief get equivalent device attribute
204218 * @param key device attribute rte key
205219 * @param value device attribute value (rte or yaml)
220+ * @param map of device attributes/capabilities
206221 * @return rte or yaml equivalent device value
207222 */
208- static const std::string& GetDeviceAttribute (const std::string& key, const std::string& value);
209-
223+ static const std::string& GetDeviceAttribute (const std::string& key, const std::string& value,
224+ const StrPairVecMap& attr = DeviceAttributesValues);
210225};
211226
212227#endif // RteConstants_H
0 commit comments