]> git.proxmox.com Git - mirror_edk2.git/blame - ArmVirtPkg/Include/Library/ArmVirtMemInfoLib.h
ArmVirtPkg: introduce ArmVirtMemInfoLib library class
[mirror_edk2.git] / ArmVirtPkg / Include / Library / ArmVirtMemInfoLib.h
CommitLineData
77ca9182
AB
1/** @file\r
2\r
3 Copyright (c) 2011-2013, ARM Limited. All rights reserved.\r
4 Copyright (c) 2017, Linaro, Ltd. All rights reserved.\r
5\r
6 This program and the accompanying materials are licensed and made available\r
7 under the terms and conditions of the BSD License which accompanies this\r
8 distribution. The full text of the license may be found at\r
9 http://opensource.org/licenses/bsd-license.php\r
10\r
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13\r
14**/\r
15\r
16#ifndef _ARM_VIRT_MEMINFO_LIB_H_\r
17#define _ARM_VIRT_MEMINFO_LIB_H_\r
18\r
19#include <Base.h>\r
20#include <Library/ArmLib.h>\r
21\r
22/**\r
23 Return the Virtual Memory Map of your platform\r
24\r
25 This Virtual Memory Map is used by MemoryInitPei Module to initialize the MMU\r
26 on your platform.\r
27\r
28 @param[out] VirtualMemoryMap Array of ARM_MEMORY_REGION_DESCRIPTOR\r
29 describing a Physical-to-Virtual Memory\r
30 mapping. This array must be ended by a\r
31 zero-filled entry. The allocated memory\r
32 will not be freed.\r
33\r
34**/\r
35VOID\r
36EFIAPI\r
37ArmVirtGetMemoryMap (\r
38 OUT ARM_MEMORY_REGION_DESCRIPTOR **VirtualMemoryMap\r
39 );\r
40\r
41#endif\r