]> git.proxmox.com Git - mirror_edk2.git/blame - ArmVirtPkg/Include/Library/ArmVirtMemInfoLib.h
ArmVirtPkg: Replace BSD License with BSD+Patent License
[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
9792fb0e 6 SPDX-License-Identifier: BSD-2-Clause-Patent\r
77ca9182
AB
7\r
8**/\r
9\r
10#ifndef _ARM_VIRT_MEMINFO_LIB_H_\r
11#define _ARM_VIRT_MEMINFO_LIB_H_\r
12\r
13#include <Base.h>\r
14#include <Library/ArmLib.h>\r
15\r
16/**\r
17 Return the Virtual Memory Map of your platform\r
18\r
19 This Virtual Memory Map is used by MemoryInitPei Module to initialize the MMU\r
20 on your platform.\r
21\r
22 @param[out] VirtualMemoryMap Array of ARM_MEMORY_REGION_DESCRIPTOR\r
23 describing a Physical-to-Virtual Memory\r
24 mapping. This array must be ended by a\r
25 zero-filled entry. The allocated memory\r
26 will not be freed.\r
27\r
28**/\r
29VOID\r
30EFIAPI\r
31ArmVirtGetMemoryMap (\r
32 OUT ARM_MEMORY_REGION_DESCRIPTOR **VirtualMemoryMap\r
33 );\r
34\r
35#endif\r