3 Copyright (c) 2011-2013, ARM Limited. All rights reserved.
4 Copyright (c) 2017, Linaro, Ltd. All rights reserved.
6 This program and the accompanying materials are licensed and made available
7 under the terms and conditions of the BSD License which accompanies this
8 distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 #ifndef _ARM_VIRT_MEMINFO_LIB_H_
17 #define _ARM_VIRT_MEMINFO_LIB_H_
20 #include <Library/ArmLib.h>
23 Return the Virtual Memory Map of your platform
25 This Virtual Memory Map is used by MemoryInitPei Module to initialize the MMU
28 @param[out] VirtualMemoryMap Array of ARM_MEMORY_REGION_DESCRIPTOR
29 describing a Physical-to-Virtual Memory
30 mapping. This array must be ended by a
31 zero-filled entry. The allocated memory
38 OUT ARM_MEMORY_REGION_DESCRIPTOR
**VirtualMemoryMap