Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jun 2020 17:47:41 +0000 (UTC)
From:      Mitchell Horne <mhorne@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r362730 - stable/12/stand/efi/gptboot
Message-ID:  <202006281747.05SHlfHN099507@repo.freebsd.org>

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



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