EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index
Functions

OvmfPkg/PlatformPei/MemDetect.c File Reference

#include <PiPei.h>
#include <Library/DebugLib.h>
#include <Library/HobLib.h>
#include <Library/IoLib.h>
#include <Library/PcdLib.h>
#include <Library/PeimEntryPoint.h>
#include <Library/ResourcePublicationLib.h>
#include <Library/MtrrLib.h>
#include "Platform.h"
#include "Cmos.h"

Go to the source code of this file.

Functions

STATIC UINTN GetSystemMemorySizeBelow4gb ()
STATIC UINT64 GetSystemMemorySizeAbove4gb ()
EFI_PHYSICAL_ADDRESS MemDetect ()

Detailed Description

Memory Detection for Virtual Machines.

Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

Module Name:

MemDetect.c

Definition in file MemDetect.c.


Function Documentation

STATIC UINT64 GetSystemMemorySizeAbove4gb ( )

Definition at line 64 of file MemDetect.c.

STATIC UINTN GetSystemMemorySizeBelow4gb ( )

Definition at line 40 of file MemDetect.c.

EFI_PHYSICAL_ADDRESS MemDetect ( )

Peform Memory Detection

Returns:
EFI_SUCCESS The PEIM initialized successfully.

Definition at line 94 of file MemDetect.c.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines