TianoCore EDK2 master
Loading...
Searching...
No Matches
StandaloneMmMemLibInternal.h File Reference
#include <PiMm.h>
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.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)
 

Detailed Description

Internal header for StandaloneMmMemLib.

Copyright (c) 2024, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file StandaloneMmMemLibInternal.h.

Function Documentation

◆ MmMemLibCalculateMaximumSupportAddress()

VOID MmMemLibCalculateMaximumSupportAddress ( VOID  )

Calculate and save the maximum support address.

Definition at line 26 of file ArmStandaloneMmMemLibInternal.c.

◆ MmMemLibFreeValidNonMmramRanges()

VOID MmMemLibFreeValidNonMmramRanges ( VOID  )

Deinitialize cached non-Mmram Ranges.

Definition at line 52 of file ArmStandaloneMmMemLibInternal.c.

◆ MmMemLibInitializeValidNonMmramRanges()

VOID MmMemLibInitializeValidNonMmramRanges ( VOID  )

Initialize valid non-Mmram Ranges from Resource HOB.

Definition at line 40 of file ArmStandaloneMmMemLibInternal.c.

◆ MmMemLibIsValidNonMmramRange()

BOOLEAN MmMemLibIsValidNonMmramRange ( IN EFI_PHYSICAL_ADDRESS  Buffer,
IN UINT64  Length 
)

This function check if the buffer is valid non-MMRAM memory range.

Parameters
[in]BufferThe buffer start address to be checked.
[in]LengthThe buffer length to be checked.
Return values
TRUEThis buffer is valid non-MMRAM memory range.
FALSEThis buffer is not valid non-MMRAM memory range.

Definition at line 69 of file ArmStandaloneMmMemLibInternal.c.