main: align Buffer to 4K boundary

This commit is contained in:
Edgaru089 2021-10-11 23:22:22 +08:00
parent 4b59394238
commit ddc08cabaf

2
main.h
View File

@ -38,7 +38,7 @@ extern SIMPLE_TEXT_OUTPUT_INTERFACE *efiStdout, *efiStderr;
extern SIMPLE_INPUT_INTERFACE * efiStdin; extern SIMPLE_INPUT_INTERFACE * efiStdin;
#define HELOS_BUFFER_SIZE 16384 #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[]; extern const char link_TextStart[], link_TextEnd[];