MdePkg[all]
1.08
|
Data Structures | |
struct | _EFI_MM_BASE_PROTOCOL |
Macros | |
#define | EFI_MM_BASE_PROTOCOL_GUID |
Typedefs | |
typedef struct _EFI_MM_BASE_PROTOCOL | EFI_MM_BASE_PROTOCOL |
typedef EFI_STATUS(EFIAPI * | EFI_MM_INSIDE_OUT )(IN CONST EFI_MM_BASE_PROTOCOL *This, OUT BOOLEAN *InMmram) |
typedef EFI_STATUS(EFIAPI * | EFI_MM_GET_MMST_LOCATION )(IN CONST EFI_MM_BASE_PROTOCOL *This, IN OUT EFI_MM_SYSTEM_TABLE **Mmst) |
Variables | |
EFI_GUID | gEfiMmBaseProtocolGuid |
EFI MM Base Protocol as defined in the PI 1.5 specification.
This protocol is utilized by all MM drivers to locate the MM infrastructure services and determine whether the driver is being invoked inside MMRAM or outside of MMRAM.
Copyright (c) 2017, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
#define EFI_MM_BASE_PROTOCOL_GUID |
typedef struct _EFI_MM_BASE_PROTOCOL EFI_MM_BASE_PROTOCOL |
typedef EFI_STATUS(EFIAPI * EFI_MM_GET_MMST_LOCATION)(IN CONST EFI_MM_BASE_PROTOCOL *This, IN OUT EFI_MM_SYSTEM_TABLE **Mmst) |
Returns the location of the Management Mode Service Table (MMST).
This function returns the location of the Management Mode Service Table (MMST). The use of the API is such that a driver can discover the location of the MMST in its entry point and then cache it in some driver global variable so that the MMST can be invoked in subsequent handlers.
[in] | This | The EFI_MM_BASE_PROTOCOL instance. |
[in,out] | Mmst | On return, points to a pointer to the Management Mode Service Table (MMST). |
EFI_SUCCESS | The operation was successful. |
EFI_INVALID_PARAMETER | Mmst was invalid. |
EFI_UNSUPPORTED | Not in MM. |
typedef EFI_STATUS(EFIAPI * EFI_MM_INSIDE_OUT)(IN CONST EFI_MM_BASE_PROTOCOL *This, OUT BOOLEAN *InMmram) |
Service to indicate whether the driver is currently executing in the MM Initialization phase.
This service is used to indicate whether the driver is currently executing in the MM Initialization phase. For MM drivers, this will return TRUE in InMmram while inside the driver's entry point and otherwise FALSE. For combination MM/DXE drivers, this will return FALSE in the DXE launch. For the MM launch, it behaves as an MM driver.
[in] | This | The EFI_MM_BASE_PROTOCOL instance. |
[out] | InMmram | Pointer to a Boolean which, on return, indicates that the driver is currently executing inside of MMRAM (TRUE) or outside of MMRAM (FALSE). |
EFI_SUCCESS | The call returned successfully. |
EFI_INVALID_PARAMETER | InMmram was NULL. |
EFI_GUID gEfiMmBaseProtocolGuid |