Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Feb 2018 11:17:39 +0000 (UTC)
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r329517 - head/stand/efi/include
Message-ID:  <201802181117.w1IBHdP3089045@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802181117.w1IBHdP3089045>