chipsalliance / caliptra-sw

Caliptra software (ROM, FMC, runtime firmware), and libraries/tools needed to build and test
Apache License 2.0
96 stars 44 forks source link

Add alignment check to PersistentData structure. #1774

Closed clundin25 closed 1 week ago

clundin25 commented 2 weeks ago

We should also check that the address after the PersistentData struct is DATA_ORG. Currently we are mostly checking that the struct sizes add up.

clundin25 commented 1 week ago

Closing this in favor of https://github.com/chipsalliance/caliptra-sw/pull/1722, which includes this check (amongst other changes).