From ddc08cabafaaf7c967d9f922fa961706a31efdbc Mon Sep 17 00:00:00 2001 From: Edgaru089 Date: Mon, 11 Oct 2021 23:22:22 +0800 Subject: [PATCH] main: align Buffer to 4K boundary --- main.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.h b/main.h index a8a4f90..cb8fbd0 100644 --- a/main.h +++ b/main.h @@ -38,7 +38,7 @@ extern SIMPLE_TEXT_OUTPUT_INTERFACE *efiStdout, *efiStderr; extern SIMPLE_INPUT_INTERFACE * efiStdin; #define HELOS_BUFFER_SIZE 16384 -extern char Buffer[HELOS_BUFFER_SIZE]; // general-purpose buffer, user saved (volatile), not used in interrupt handlers +extern char Buffer[HELOS_BUFFER_SIZE] ALIGN(4096); // general-purpose buffer, user saved (volatile), not used in interrupt handlers extern const char link_TextStart[], link_TextEnd[];