tianocore / edk2

EDK II
https://github.com/tianocore/tianocore.github.io/wiki/EDK-II
Other
4.38k stars 2.4k forks source link

Use Consistent MM Communicate Header Width #5858

Closed makubacki closed 5 days ago

makubacki commented 6 days ago

Description

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3398 REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3430

These changes update references to the MessageLength field of EFI_MM_COMMUNICATE_HEADER to use consistent integer width.

This structure can be used for both PEI and DXE MM communication.

Thus, for a system that supports PEI MM launch with a 32-bit PEI environment and a 64-bit MM environment, the current EFI_MM_COMMUNICATE_HEADER definition will cause structure parse error due to the use of UINTN.

Marked as breaking due to a change in the definition of EFI_MM_COMMUNICATE_HEADER.

How This Was Tested

Integration Instructions