mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-23 13:44:33 +02:00
SysCall/ARM: Added TODO comments.
This commit is contained in:
parent
ab600336fb
commit
65f3047224
@ -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 (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user