SysCall/ARM: Added TODO comments.

This commit is contained in:
Mikhail Krichanov 2024-07-11 11:45:07 +03:00
parent ab600336fb
commit 65f3047224

View File

@ -96,12 +96,19 @@ InitializeMsr (
IN UINTN NumberOfEntries IN UINTN NumberOfEntries
) )
{ {
//
// TODO: EFI_CONFIGURATION_TABLE, HOB_DATA, Uart are accessible to User.
// Fix PageTable initialization.
//
if (ArmHasPan ()) { if (ArmHasPan ()) {
// //
// Enable Privileged Access Never feature. // Enable Privileged Access Never feature.
// //
ArmSetPan (); ArmSetPan ();
} else { } else {
//
// TODO: Refactoring.
//
DEBUG ((DEBUG_ERROR, "Core: Failed to initialize MSRs for Ring3.\n")); DEBUG ((DEBUG_ERROR, "Core: Failed to initialize MSRs for Ring3.\n"));
// ASSERT (FALSE); // ASSERT (FALSE);
} }
@ -109,6 +116,9 @@ InitializeMsr (
InitializeSysCallHandler (SysCallBootService); InitializeSysCallHandler (SysCallBootService);
} }
//
// TODO: Refactoring.
//
VOID VOID
EFIAPI EFIAPI
DisableSMAP ( DisableSMAP (