TianoCore EDK2 master
|
#include <PiPei.h>
#include <Register/Intel/Msr.h>
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/DebugLib.h>
#include <Library/PcdLib.h>
#include <Library/HobLib.h>
#include <Library/PeiServicesLib.h>
#include <Library/FspCommonLib.h>
#include <FspGlobalData.h>
#include <FspEas.h>
Go to the source code of this file.
Functions | |
EFI_HOB_RESOURCE_DESCRIPTOR *EFIAPI | FspGetResourceDescriptorByOwner (IN EFI_GUID *OwnerGuid) |
VOID EFIAPI | FspGetSystemMemorySize (IN OUT UINT64 *LowMemoryLength, IN OUT UINT64 *HighMemoryLength) |
VOID EFIAPI | ReadTemporaryRamSize (IN UINT32 TemporaryRamBase, OUT UINT32 *TemporaryRamSize) |
Copyright (c) 2014 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file FspPlatformMemory.c.
EFI_HOB_RESOURCE_DESCRIPTOR *EFIAPI FspGetResourceDescriptorByOwner | ( | IN EFI_GUID * | OwnerGuid | ) |
Get system memory resource descriptor by owner.
[in] | OwnerGuid | resource owner guid |
Definition at line 28 of file FspPlatformMemory.c.
VOID EFIAPI FspGetSystemMemorySize | ( | IN OUT UINT64 * | LowMemoryLength, |
IN OUT UINT64 * | HighMemoryLength | ||
) |
Get system memory from HOB.
[in,out] | LowMemoryLength | less than 4G memory length |
[in,out] | HighMemoryLength | greater than 4G memory length |
Definition at line 65 of file FspPlatformMemory.c.
Calculate TemporaryRam Size using Base address.
[in] | TemporaryRamBase | the address of target memory |
[out] | TemporaryRamSize | the size of target memory |
Definition at line 132 of file FspPlatformMemory.c.