TianoCore EDK2 master
|
#include <Uefi.h>
#include <Pi/PiMultiPhase.h>
#include <Library/ArmLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#include <Library/HobLib.h>
#include <Library/MemoryAllocationLib.h>
Go to the source code of this file.
Macros | |
#define | MAX_VIRTUAL_MEMORY_MAP_DESCRIPTORS 5 |
#define | MACH_VIRT_PERIPH_BASE 0x08000000 |
#define | MACH_VIRT_PERIPH_SIZE SIZE_128MB |
Functions | |
RETURN_STATUS EFIAPI | QemuVirtMemInfoLibConstructor (VOID) |
VOID | ArmVirtGetMemoryMap (OUT ARM_MEMORY_REGION_DESCRIPTOR **VirtualMemoryMap) |
Copyright (c) 2014-2017, Linaro Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file QemuVirtMemInfoLib.c.
#define MACH_VIRT_PERIPH_BASE 0x08000000 |
Definition at line 26 of file QemuVirtMemInfoLib.c.
#define MACH_VIRT_PERIPH_SIZE SIZE_128MB |
Definition at line 27 of file QemuVirtMemInfoLib.c.
#define MAX_VIRTUAL_MEMORY_MAP_DESCRIPTORS 5 |
Definition at line 18 of file QemuVirtMemInfoLib.c.
VOID ArmVirtGetMemoryMap | ( | OUT ARM_MEMORY_REGION_DESCRIPTOR ** | VirtualMemoryMap | ) |
Return the Virtual Memory Map of your platform
This Virtual Memory Map is used by MemoryInitPei Module to initialize the MMU on your platform.
[out] | VirtualMemoryMap | Array of ARM_MEMORY_REGION_DESCRIPTOR describing a Physical-to-Virtual Memory mapping. This array must be ended by a zero-filled entry. The allocated memory will not be freed. |
Definition at line 65 of file QemuVirtMemInfoLib.c.
RETURN_STATUS EFIAPI QemuVirtMemInfoLibConstructor | ( | VOID | ) |
Default library constructor that obtains the memory size from a PCD.
Definition at line 37 of file QemuVirtMemInfoLib.c.