audk/StandaloneMmPkg/Library/StandaloneMmProtectionLib/ProtectionNull.c

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

50 lines
807 B
C
Raw Normal View History

#include <Base.h>
EFI_STATUS
SetMemoryRegionNoExec (
IN EFI_PHYSICAL_ADDRESS BaseAddress,
IN UINT64 Length
)
{
(VOID) BaseAddress;
(VOID) Length;
return RETURN_SUCCESS;
}
EFI_STATUS
ClearMemoryRegionNoExec (
IN EFI_PHYSICAL_ADDRESS BaseAddress,
IN UINT64 Length
)
{
(VOID) BaseAddress;
(VOID) Length;
return RETURN_SUCCESS;
}
EFI_STATUS
SetMemoryRegionReadOnly (
IN EFI_PHYSICAL_ADDRESS BaseAddress,
IN UINT64 Length
)
{
(VOID) BaseAddress;
(VOID) Length;
return RETURN_SUCCESS;
}
EFI_STATUS
ClearMemoryRegionReadOnly (
IN EFI_PHYSICAL_ADDRESS BaseAddress,
IN UINT64 Length
)
{
(VOID) BaseAddress;
(VOID) Length;
return RETURN_SUCCESS;
}