mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
MdeModulePkg: Update MM buffer structs alignment
In general, for all HOB related content, the HOB structures must be designed so that natural alignment across all execution modes and byte-packed alignment are the same. Ensure ReturnStatus is aligned on 64 bit to achieve the same. Signed-off-by: Dhaval Sharma <dhaval@rivosinc.com>
This commit is contained in:
parent
c5e3a840b9
commit
fdede2e1ea
1 changed files with 3 additions and 0 deletions
|
|
@ -47,6 +47,9 @@ typedef struct {
|
|||
///
|
||||
BOOLEAN IsCommBufferValid;
|
||||
|
||||
/// For padding purpose
|
||||
UINT8 Reserved[7];
|
||||
|
||||
///
|
||||
/// The return status when returning from MM to non-MM.
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue