Skip to content

Commit

Permalink
SysCall/AARCH64: Enabled interrupts in SysCall handlers.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Krichanov committed Dec 17, 2024
1 parent 7783942 commit ebe2f80
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions MdeModulePkg/Core/Dxe/SysCall/AARCH64/InitializeAARCH64.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ SysCallBootService (
EFI_STATUS Status;
EFI_PHYSICAL_ADDRESS Physical;

ArmEnableInterrupts ();

Status = CoreAllocatePages (
AllocateAnyPages,
EfiRing3MemoryType,
Expand All @@ -76,6 +78,8 @@ SysCallBootService (

CoreFreePages (Physical, EFI_SIZE_TO_PAGES (9 * sizeof (UINTN)));

ArmDisableInterrupts ();

return Status;
}

Expand Down

0 comments on commit ebe2f80

Please sign in to comment.