Re: [PATCH V3 1/1] UefiCpuPkg: Extend measurement of microcode patches to TPM


Ni, Ray
 

+
+ //
+ // The order matters when packing all applied microcode patches to a single binary blob.
+ // Therefore it is a must to do sorting before packing.
+ // NOTE: We assumed that the order of address of every microcode patch in RAM is the same
+ // with the order of those in the Microcode Firmware Volume in FLASH. If any future updates
+ // made this assumption untenable, then needs a new solution to measure microcode patches.
+ //
Can you explain the above comments?
If you only measure the microcode which will be applied to CPU, why do you care about the order?

Join devel@edk2.groups.io to automatically receive all group messages.