TianoCore EDK2 master
|
#include "StandaloneMmMemLibInternal.h"
Go to the source code of this file.
Functions | |
VOID | MmMemLibCalculateMaximumSupportAddress (VOID) |
VOID | MmMemLibInitializeValidNonMmramRanges (VOID) |
VOID | MmMemLibFreeValidNonMmramRanges (VOID) |
BOOLEAN | MmMemLibIsValidNonMmramRange (IN EFI_PHYSICAL_ADDRESS Buffer, IN UINT64 Length) |
Variables | |
EFI_PHYSICAL_ADDRESS | mMmMemLibInternalMaximumSupportAddress |
Internal ARCH Specific file of MM memory check library.
MM memory check library implementation. This library consumes MM_ACCESS_PROTOCOL to get MMRAM information. In order to use this library instance, the platform should produce all MMRAM range via MM_ACCESS_PROTOCOL, including the range for firmware (like MM Core and MM driver) and/or specific dedicated hardware.
Copyright (c) 2015 - 2024, Intel Corporation. All rights reserved.
Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file ArmStandaloneMmMemLibInternal.c.
VOID MmMemLibCalculateMaximumSupportAddress | ( | VOID | ) |
Calculate and save the maximum support address.
Definition at line 26 of file ArmStandaloneMmMemLibInternal.c.
VOID MmMemLibFreeValidNonMmramRanges | ( | VOID | ) |
Deinitialize cached non-Mmram Ranges.
Definition at line 52 of file ArmStandaloneMmMemLibInternal.c.
VOID MmMemLibInitializeValidNonMmramRanges | ( | VOID | ) |
Initialize valid non-Mmram Ranges from Resource HOB.
Definition at line 40 of file ArmStandaloneMmMemLibInternal.c.
BOOLEAN MmMemLibIsValidNonMmramRange | ( | IN EFI_PHYSICAL_ADDRESS | Buffer, |
IN UINT64 | Length | ||
) |
This function check if the buffer is valid non-MMRAM memory range.
[in] | Buffer | The buffer start address to be checked. |
[in] | Length | The buffer length to be checked. |
TRUE | This buffer is valid non-MMRAM memory range. |
FALSE | This buffer is not valid non-MMRAM memory range. |
Definition at line 69 of file ArmStandaloneMmMemLibInternal.c.
|
extern |
Definition at line 21 of file StandaloneMmMemLib.c.