TianoCore EDK2 master
Loading...
Searching...
No Matches
KvmtoolVirtMemInfoLib.c File Reference
#include <Base.h>
#include <Library/ArmLib.h>
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#include <Library/MemoryAllocationLib.h>

Go to the source code of this file.

Macros

#define MAX_VIRTUAL_MEMORY_MAP_DESCRIPTORS   5
 

Functions

VOID ArmVirtGetMemoryMap (OUT ARM_MEMORY_REGION_DESCRIPTOR **VirtualMemoryMap)
 

Detailed Description

Kvmtool virtual memory map library.

Copyright (c) 2018 - 2020, ARM Limited. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file KvmtoolVirtMemInfoLib.c.

Macro Definition Documentation

◆ MAX_VIRTUAL_MEMORY_MAP_DESCRIPTORS

#define MAX_VIRTUAL_MEMORY_MAP_DESCRIPTORS   5

Definition at line 18 of file KvmtoolVirtMemInfoLib.c.

Function Documentation

◆ ArmVirtGetMemoryMap()

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.

Parameters
[out]VirtualMemoryMapArray 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 34 of file KvmtoolVirtMemInfoLib.c.