mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
efi: Do not pad the efi devpath structure
This solve problem when booting with efi on armv7 Reviewed by: imp, tsoome MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D14415
This commit is contained in:
parent
78d7441913
commit
ff727b9a1d
1 changed files with 4 additions and 0 deletions
|
|
@ -31,6 +31,8 @@ Revision History
|
|||
// Device Path structures - Section C
|
||||
//
|
||||
|
||||
#pragma pack(1)
|
||||
|
||||
typedef struct _EFI_DEVICE_PATH {
|
||||
UINT8 Type;
|
||||
UINT8 SubType;
|
||||
|
|
@ -451,4 +453,6 @@ typedef struct _EFI_DEVICE_PATH_TO_TEXT_PROTOCOL {
|
|||
EFI_DEVICE_PATH_TO_TEXT_PATH ConvertDevicePathToText;
|
||||
} EFI_DEVICE_PATH_TO_TEXT_PROTOCOL;
|
||||
|
||||
#pragma pack()
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue