diff options
author | Toomas Soome <tsoome@me.com> | 2018-02-18 09:35:16 +0200 |
---|---|---|
committer | Hans Rosenfeld <hans.rosenfeld@joyent.com> | 2018-04-23 18:15:38 +0200 |
commit | 7703357b1908c4facec10ab54f76be175f414516 (patch) | |
tree | f8e308617bbcf3b9b3b9e952076610712e297d7c | |
parent | df477c0afa111b5205c872dab36dbfde391656de (diff) | |
download | illumos-joyent-7703357b1908c4facec10ab54f76be175f414516.tar.gz |
9126 efi: Do not pad the efi devpath structure
Reviewed by: Yuri Pankov <yuripv@yuripv.net>
Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
-rw-r--r-- | usr/src/boot/sys/boot/efi/include/efidevp.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/src/boot/sys/boot/efi/include/efidevp.h b/usr/src/boot/sys/boot/efi/include/efidevp.h index 8adfbf490e..51ebd624e4 100644 --- a/usr/src/boot/sys/boot/efi/include/efidevp.h +++ b/usr/src/boot/sys/boot/efi/include/efidevp.h @@ -30,6 +30,8 @@ Revision History // Device Path structures - Section C // +#pragma pack(1) + typedef struct _EFI_DEVICE_PATH { UINT8 Type; UINT8 SubType; @@ -456,4 +458,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 |