riscv-non-isa / riscv-ap-tee

This repo holds the work area and revisions of the non-ISA specification created by the RISC-V AP-TEE TG. This specification defines the programming interfaces (ABI) to support the Confidential VM Extension (CoVE) confidential computing architecture for RISC-V application-processor platforms.
https://jira.riscv.org/browse/RVG-76
Creative Commons Attribution 4.0 International
49 stars 19 forks source link

Specify layout of `msmt_regs` #86

Open steven-bellock opened 2 weeks ago

steven-bellock commented 2 weeks ago

Given

/* Number of initial measurement registers */
uint_8 initial_measurements;
/* Number of runtime measurement registers */
uint_8 runtime_measurements;
/* Array of all measurement register descriptors */
MeasurementRegisterDescriptor[MAX_MEASUREMENT_REGISTERS] msmt_regs;

specify the layout of msmt_regs. In particular is the size of the array always MAX_MEASUREMENT_REGISTERS or does the size depend on the values of initial_measurements and runtime_measurements.