svn commit: r329517 - head/stand/efi/include

Emmanuel Vadot manu at FreeBSD.org
Sun Feb 18 11:17:40 UTC 2018


Author: manu
Date: Sun Feb 18 11:17:39 2018
New Revision: 329517
URL: https://svnweb.freebsd.org/changeset/base/329517

Log:
  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

Modified:
  head/stand/efi/include/efidevp.h

Modified: head/stand/efi/include/efidevp.h
==============================================================================
--- head/stand/efi/include/efidevp.h	Sun Feb 18 09:52:30 2018	(r329516)
+++ head/stand/efi/include/efidevp.h	Sun Feb 18 11:17:39 2018	(r329517)
@@ -31,6 +31,8 @@ Revision History
 // Device Path structures - Section C
 //
 
+#pragma pack(1)
+
 typedef struct _EFI_DEVICE_PATH {
         UINT8                           Type;
         UINT8                           SubType;
@@ -450,5 +452,7 @@ typedef struct _EFI_DEVICE_PATH_TO_TEXT_PROTOCOL {
 	EFI_DEVICE_PATH_TO_TEXT_NODE ConvertDeviceNodeToText;
 	EFI_DEVICE_PATH_TO_TEXT_PATH ConvertDevicePathToText;
 } EFI_DEVICE_PATH_TO_TEXT_PROTOCOL;
+
+#pragma pack()
 
 #endif


More information about the svn-src-all mailing list