Commit 35facfb
arm64: add CCA policy and VP context support (#106)
Add Arm CCA as a supported AArch64 isolation platform and define the
corresponding IGVM policy and VP context wire formats.
Introduce IGVM_VHT_CCA_POLICY, IGVM_VHS_CCA_POLICY, CCA policy attribute
bits, hash algorithm and LFA policy enums, and the AArch64 CCA VP
context
structure. Add parser, serializer, merge-mask fixup, and validation
support
for CCA policy headers, including reserved-field checks, ones/zeroes
mask
conflict detection, and validation that CCA policy compatibility masks
refer
to CCA platform headers.
Add AArch64 CCA VP context directive handling and round-trip tests for
CCA
IGVM files. Expose the new CCA definitions through cbindgen and add the
C API
error mapping for invalid CCA policy compatibility masks.
---------
Co-authored-by: Jiong Wang (Arm Ltd) <b-jionwang@microsoft.com>1 parent a706b19 commit 35facfb
5 files changed
Lines changed: 490 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| |||
164 | 165 | | |
165 | 166 | | |
166 | 167 | | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
167 | 171 | | |
168 | 172 | | |
169 | 173 | | |
| |||
0 commit comments