TianoCore EDK2 master
|
#include "PiSmmCpuCommon.h"
Go to the source code of this file.
Functions | |
EFI_PHYSICAL_ADDRESS | GetSmmProfileData (IN OUT UINT64 *Size) |
BOOLEAN | IsNonMmramLoggingAddress (IN UINT64 Address) |
BOOLEAN | IsSmmCommBufferForbiddenAddress (IN UINT64 Address) |
VOID | BuildMemoryMapFromResDescHobs (OUT MM_CPU_MEMORY_REGION **MemoryRegion, OUT UINTN *MemoryRegionCount) |
VOID | CreateExtendedProtectionRange (OUT MM_CPU_MEMORY_REGION **MemoryRegion, OUT UINTN *MemoryRegionCount) |
VOID | CreateNonMmramMemMap (IN UINT8 PhysicalAddressBits, OUT MM_CPU_MEMORY_REGION **MemoryRegion, OUT UINTN *MemoryRegionCount) |
Copyright (c) 2024, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file NonMmramMapStandaloneMm.c.
VOID BuildMemoryMapFromResDescHobs | ( | OUT MM_CPU_MEMORY_REGION ** | MemoryRegion, |
OUT UINTN * | MemoryRegionCount | ||
) |
Build Memory Region from ResourceDescriptor HOBs by excluding Logging attribute range.
[out] | MemoryRegion | Returned Non-Mmram Memory regions. |
[out] | MemoryRegionCount | A pointer to the number of Memory regions. |
Definition at line 120 of file NonMmramMapStandaloneMm.c.
VOID CreateExtendedProtectionRange | ( | OUT MM_CPU_MEMORY_REGION ** | MemoryRegion, |
OUT UINTN * | MemoryRegionCount | ||
) |
Build extended protection MemoryRegion.
The caller is responsible for freeing MemoryRegion via FreePool().
[out] | MemoryRegion | Returned Non-Mmram Memory regions. |
[out] | MemoryRegionCount | A pointer to the number of Memory regions. |
Definition at line 188 of file NonMmramMapStandaloneMm.c.
VOID CreateNonMmramMemMap | ( | IN UINT8 | PhysicalAddressBits, |
OUT MM_CPU_MEMORY_REGION ** | MemoryRegion, | ||
OUT UINTN * | MemoryRegionCount | ||
) |
Create the Non-Mmram Memory Region within the ResourceDescriptor HOBs without Logging attribute.
The caller is responsible for freeing MemoryRegion via FreePool().
[in] | PhysicalAddressBits | The bits of physical address to map. |
[out] | MemoryRegion | Returned Non-Mmram Memory regions. |
[out] | MemoryRegionCount | A pointer to the number of Memory regions. |
Definition at line 207 of file NonMmramMapStandaloneMm.c.
EFI_PHYSICAL_ADDRESS GetSmmProfileData | ( | IN OUT UINT64 * | Size | ) |
Get SmmProfileData.
[in,out] | Size | Return Size of SmmProfileData. 0 means the gMmProfileDataHobGuid does not exist. |
Definition at line 20 of file NonMmramMapStandaloneMm.c.
BOOLEAN IsNonMmramLoggingAddress | ( | IN UINT64 | Address | ) |
Return if the Address is the NonMmram logging Address.
[in] | Address | the address to be checked |
Definition at line 62 of file NonMmramMapStandaloneMm.c.
BOOLEAN IsSmmCommBufferForbiddenAddress | ( | IN UINT64 | Address | ) |
Return if the Address is forbidden as SMM communication buffer.
[in] | Address | the address to be checked |
Definition at line 94 of file NonMmramMapStandaloneMm.c.