mirror of
https://github.com/acidanthera/audk.git
synced 2025-08-18 08:08:09 +02:00
31 lines
637 B
C
31 lines
637 B
C
// FIXME: docs
|
|
|
|
#ifndef STANDALONE_MM_PROTECTION_LIB_H_
|
|
#define STANDALONE_MM_PROTECTION_LIB_H_
|
|
|
|
EFI_STATUS
|
|
SetMemoryRegionNoExec (
|
|
IN EFI_PHYSICAL_ADDRESS BaseAddress,
|
|
IN UINT64 Length
|
|
);
|
|
|
|
EFI_STATUS
|
|
ClearMemoryRegionNoExec (
|
|
IN EFI_PHYSICAL_ADDRESS BaseAddress,
|
|
IN UINT64 Length
|
|
);
|
|
|
|
EFI_STATUS
|
|
SetMemoryRegionReadOnly (
|
|
IN EFI_PHYSICAL_ADDRESS BaseAddress,
|
|
IN UINT64 Length
|
|
);
|
|
|
|
EFI_STATUS
|
|
ClearMemoryRegionReadOnly (
|
|
IN EFI_PHYSICAL_ADDRESS BaseAddress,
|
|
IN UINT64 Length
|
|
);
|
|
|
|
#endif // STANDALONE_MM_PROTECTION_LIB_H_
|