]>
Commit | Line | Data |
---|---|---|
eed947be AG |
1 | /** @file\r |
2 | \r | |
3 | Copyright (c) 2018, ARM Ltd. All rights reserved.\r | |
4 | \r | |
5 | This program and the accompanying materials\r | |
6 | are licensed and made available under the terms and conditions of the BSD License\r | |
7 | which accompanies this distribution. The full text of the license may be found at\r | |
8 | http://opensource.org/licenses/bsd-license.php\r | |
9 | \r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
12 | \r | |
13 | **/\r | |
14 | \r | |
15 | #ifndef __STANDALONEMM_MMU_LIB__\r | |
16 | #define __STANDALONEMM_MMU_LIB__\r | |
17 | \r | |
18 | EFI_STATUS\r | |
19 | ArmSetMemoryRegionNoExec (\r | |
20 | IN EFI_PHYSICAL_ADDRESS BaseAddress,\r | |
21 | IN UINT64 Length\r | |
22 | );\r | |
23 | \r | |
24 | EFI_STATUS\r | |
25 | ArmClearMemoryRegionNoExec (\r | |
26 | IN EFI_PHYSICAL_ADDRESS BaseAddress,\r | |
27 | IN UINT64 Length\r | |
28 | );\r | |
29 | \r | |
30 | EFI_STATUS\r | |
31 | ArmSetMemoryRegionReadOnly (\r | |
32 | IN EFI_PHYSICAL_ADDRESS BaseAddress,\r | |
33 | IN UINT64 Length\r | |
34 | );\r | |
35 | \r | |
36 | EFI_STATUS\r | |
37 | ArmClearMemoryRegionReadOnly (\r | |
38 | IN EFI_PHYSICAL_ADDRESS BaseAddress,\r | |
39 | IN UINT64 Length\r | |
40 | );\r | |
41 | \r | |
42 | #endif /* __STANDALONEMM_MMU_LIB__ */\r |