一键导入
new-cpu-feature
Add support for a new A-profile architectural CPU feature that adds functionality at EL3.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Add support for a new A-profile architectural CPU feature that adds functionality at EL3.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | new-cpu-feature |
| description | Add support for a new A-profile architectural CPU feature that adds functionality at EL3. |
| license | BSD-3-Clause |
| compatibility | requires the machine readable A class repository |
Start by reading:
docs/architecture_features.rstTreat docs/architecture_features.rst as the status ledger and the generic
upstream checklist. Adapt it to the current tree before editing anything.
Keep in mind that FEAT_ABC stands for the feature you're implementing.
Ask the user for the path to a local copy of the XML of the Architecture. Also ask for the PDF of the Arm ARM. Use them for searching the architecture.
Ask the user for the path to the local copy of TFTF. Add a test for any functionality that has EL3 involvement like a trap to an instruction. Add the test like for other CPU features in the cpu-extensions test group. If the feature requires it, register it with tftf/tests/runtime_services/arm_arch_svc/smccc_feature_availability.c.
Ask the user for the path to the local copy of the CI scripts. If the feature is
always optional, add it to the list in model/base-aemva-common.sh. To determine
if a feature is always optional you can assume that EL2 and EL3 and AArch64 are
always implemented. If the feature has a dependency on other features that are
already enabled do not enable it. Use the command FVP_Base_RevC-2xAEMvA -l to
determine what flag to give to the model.