oxidecomputer / amd-apcb

AMD Generic Encapsulated Software Architecture Platform Security Processor Configuration Block manipulation library
Mozilla Public License 2.0
13 stars 1 forks source link

Tokens should automatically be sorted by key #51

Closed daym closed 2 years ago

daym commented 2 years ago

AMD requires that the Tokens in an Entry are sorted by key (and otherwise the boot process will hang before the x86 is released from reset).

Currently, this is neither checked (on validate) nor automatically sorted (on deserialize).

It would be better if we did both.