svn commit: r362730 - stable/12/stand/efi/gptboot

Mitchell Horne mhorne at FreeBSD.org
Sun Jun 28 17:47:41 UTC 2020


Author: mhorne
Date: Sun Jun 28 17:47:41 2020
New Revision: 362730
URL: https://svnweb.freebsd.org/changeset/base/362730

Log:
  MFC r361754:
  
  gptboot.efi: align secbuf to 4K

Modified:
  stable/12/stand/efi/gptboot/proto.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/stand/efi/gptboot/proto.c
==============================================================================
--- stable/12/stand/efi/gptboot/proto.c	Sun Jun 28 17:45:13 2020	(r362729)
+++ stable/12/stand/efi/gptboot/proto.c	Sun Jun 28 17:47:41 2020	(r362730)
@@ -42,7 +42,7 @@ __FBSDID("$FreeBSD$");
 #include "gpt.h"
 #include <sys/gpt.h>
 static const uuid_t freebsd_ufs_uuid = GPT_ENT_TYPE_FREEBSD_UFS;
-static char secbuf[4096];
+static char secbuf[4096] __aligned(4096);
 static struct dsk dsk;
 static dev_info_t *devices = NULL;
 static dev_info_t *raw_device = NULL;


More information about the svn-src-all mailing list