]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNullMem.c
ArmPlatformPkg/patches: Update the 'PendingPatches' on the latest BaseTools syncup
[mirror_edk2.git] / ArmPlatformPkg / Library / ArmPlatformLibNull / ArmPlatformLibNullMem.c
1 /** @file
2 *
3 * Copyright (c) 2011, ARM Limited. All rights reserved.
4 *
5 * This program and the accompanying materials
6 * are licensed and made available under the terms and conditions of the BSD License
7 * which accompanies this distribution. The full text of the license may be found at
8 * http://opensource.org/licenses/bsd-license.php
9 *
10 * THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 *
13 **/
14
15 #include <Library/ArmPlatformLib.h>
16 #include <Library/DebugLib.h>
17
18 /**
19 Return the Virtual Memory Map of your platform
20
21 This Virtual Memory Map is used by MemoryInitPei Module to initialize the MMU on your platform.
22
23 @param[out] VirtualMemoryMap Array of ARM_MEMORY_REGION_DESCRIPTOR describing a Physical-to-
24 Virtual Memory mapping. This array must be ended by a zero-filled
25 entry
26
27 **/
28 VOID
29 ArmPlatformGetVirtualMemoryMap (
30 IN ARM_MEMORY_REGION_DESCRIPTOR** VirtualMemoryMap
31 )
32 {
33 ASSERT(0);
34 }
35
36 /**
37 Return the EFI Memory Map of your platform
38
39 This EFI Memory Map of the System Memory is used by MemoryInitPei module to create the Resource
40 Descriptor HOBs used by DXE core.
41
42 @param[out] EfiMemoryMap Array of ARM_SYSTEM_MEMORY_REGION_DESCRIPTOR describing an
43 EFI Memory region. This array must be ended by a zero-filled entry
44
45 **/
46 EFI_STATUS
47 ArmPlatformGetAdditionalSystemMemory (
48 OUT ARM_SYSTEM_MEMORY_REGION_DESCRIPTOR** EfiMemoryMap
49 )
50 {
51 return EFI_UNSUPPORTED;
52 }