TianoCore EDK2 master
|
#include <Base.h>
#include <Pi/PiMmCis.h>
#include <Library/DebugLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/HobLib.h>
#include <Protocol/DebugSupport.h>
#include <Guid/ZeroGuid.h>
#include <Guid/MmramMemoryReserve.h>
#include <StandaloneMmCpu.h>
Go to the source code of this file.
Functions | |
EFI_STATUS | GetGuidedHobData (IN VOID *HobList, IN CONST EFI_GUID *HobGuid, OUT VOID **HobData) |
EFI_STATUS | StandaloneMmCpuInitialize (IN EFI_HANDLE ImageHandle, IN EFI_MM_SYSTEM_TABLE *SystemTable) |
Variables | |
EFI_GUID | gEfiStandaloneMmNonSecureBufferGuid |
EFI_GUID | gEfiMmCpuDriverEpDescriptorGuid |
EFI_MM_SYSTEM_TABLE * | mMmst = NULL |
STATIC EFI_HANDLE | mMmCpuHandle = NULL |
Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.
Copyright (c) 2016 HP Development Company, L.P. Copyright (c) 2016 - 2021, Arm Limited. All rights reserved. Copyright (c) 2023, Ventana Micro System Inc. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file StandaloneMmCpu.c.
Returns the HOB data for the matching HOB GUID.
[in] | HobList | Pointer to the HOB list. |
[in] | HobGuid | The GUID for the HOB. |
[out] | HobData | Pointer to the HOB data. |
EFI_SUCCESS | The function completed successfully. |
EFI_INVALID_PARAMETER | Invalid parameter. |
EFI_NOT_FOUND | Could not find HOB with matching GUID. |
Definition at line 55 of file StandaloneMmCpu.c.
EFI_STATUS StandaloneMmCpuInitialize | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_MM_SYSTEM_TABLE * | SystemTable | ||
) |
Entry point for the Standalone MM CPU driver.
[in] | ImageHandle | Unused. Not actual image handle. |
[in] | SystemTable | Pointer to MM System table. |
EFI_SUCCESS | The function completed successfully. |
EFI_INVALID_PARAMETER | Invalid parameter. |
EFI_OUT_OF_RESOURCES | Out of resources. |
EFI_NOT_FOUND | Failed to find the HOB for the CPU driver endpoint descriptor. |
Definition at line 92 of file StandaloneMmCpu.c.
STATIC EFI_HANDLE mMmCpuHandle = NULL |
Definition at line 42 of file StandaloneMmCpu.c.
EFI_MM_SYSTEM_TABLE* mMmst = NULL |
Definition at line 37 of file StandaloneMmCpu.c.