From 4c5a9bdd3e556f9fe24a29bbd9bae32faf4e25be Mon Sep 17 00:00:00 2001 From: Mitchell Horne Date: Sun, 28 Jun 2020 17:47:41 +0000 Subject: [PATCH] MFC r361754: gptboot.efi: align secbuf to 4K --- stand/efi/gptboot/proto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stand/efi/gptboot/proto.c b/stand/efi/gptboot/proto.c index e5831370840..38ccb5023c1 100644 --- a/stand/efi/gptboot/proto.c +++ b/stand/efi/gptboot/proto.c @@ -42,7 +42,7 @@ __FBSDID("$FreeBSD$"); #include "gpt.h" #include 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; -- 2.45.0