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:
Emmanuel Vadot 2018-02-18 11:17:39 +00:00
parent 78d7441913
commit ff727b9a1d

View file

@ -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