From ebe2f8089c8b66f45adc4760168ca01addad0992 Mon Sep 17 00:00:00 2001 From: Mikhail Krichanov Date: Tue, 17 Dec 2024 16:16:17 +0300 Subject: [PATCH] SysCall/AARCH64: Enabled interrupts in SysCall handlers. --- MdeModulePkg/Core/Dxe/SysCall/AARCH64/InitializeAARCH64.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/MdeModulePkg/Core/Dxe/SysCall/AARCH64/InitializeAARCH64.c b/MdeModulePkg/Core/Dxe/SysCall/AARCH64/InitializeAARCH64.c index c9bf740fc3..42ea8ac88f 100644 --- a/MdeModulePkg/Core/Dxe/SysCall/AARCH64/InitializeAARCH64.c +++ b/MdeModulePkg/Core/Dxe/SysCall/AARCH64/InitializeAARCH64.c @@ -54,6 +54,8 @@ SysCallBootService ( EFI_STATUS Status; EFI_PHYSICAL_ADDRESS Physical; + ArmEnableInterrupts (); + Status = CoreAllocatePages ( AllocateAnyPages, EfiRing3MemoryType, @@ -76,6 +78,8 @@ SysCallBootService ( CoreFreePages (Physical, EFI_SIZE_TO_PAGES (9 * sizeof (UINTN))); + ArmDisableInterrupts (); + return Status; }