mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-29 00:24:07 +02:00
MdePkg/IpmiNetFnGroupExtension.h: Enforce structure alignment
The natural aligmenent seems to be failed on some cases. So, this patch intends to add the pack(1) to ensure the structure aligned with a one-byte boundary. Signed-off-by: Nhi Pham <nhi@os.amperecomputing.com>
This commit is contained in:
parent
e41e728c16
commit
bacee5113e
@ -4,6 +4,12 @@
|
||||
Copyright (c) 1999 - 2015, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2024, Ampere Computing LLC. All rights reserved.<BR>
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
@par Revision Reference:
|
||||
- Arm Server Base Manageability Requirements (SBMR) Specification
|
||||
Revision 2.0d, Section F
|
||||
https://developer.arm.com/documentation/den0069
|
||||
|
||||
**/
|
||||
|
||||
#ifndef _IPMI_NET_FN_GROUP_EXTENSION_H_
|
||||
@ -27,6 +33,7 @@
|
||||
/// https://developer.arm.com/documentation/den0069
|
||||
///
|
||||
|
||||
#pragma pack(1)
|
||||
//
|
||||
// Definitions for send progress code command
|
||||
//
|
||||
@ -85,5 +92,6 @@ typedef struct {
|
||||
UINT8 DefiningBody;
|
||||
IPMI_GROUP_EXTENSION_BOOT_PROGRESS_CODE_FORMAT BootProgressCode;
|
||||
} IPMI_GROUP_EXTENSION_BOOT_PROGRESS_CODE_GET_RESPONSE;
|
||||
#pragma pack()
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user