TianoCore EDK2 master
|
Go to the source code of this file.
Data Structures | |
struct | EFI_MM_COMMUNICATE_HEADER |
struct | _EFI_MM_COMMUNICATION_PROTOCOL |
Macros | |
#define | EFI_MM_COMMUNICATION_PROTOCOL_GUID |
Typedefs | |
typedef struct _EFI_MM_COMMUNICATION_PROTOCOL | EFI_MM_COMMUNICATION_PROTOCOL |
typedef EFI_STATUS(EFIAPI * | EFI_MM_COMMUNICATE) (IN CONST EFI_MM_COMMUNICATION_PROTOCOL *This, IN OUT VOID *CommBuffer, IN OUT UINTN *CommSize OPTIONAL) |
Variables | |
EFI_GUID | gEfiMmCommunicationProtocolGuid |
EFI MM Communication Protocol as defined in the PI 1.5 specification.
This protocol provides a means of communicating between drivers outside of MM and MMI handlers inside of MM.
Copyright (c) 2017, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file MmCommunication.h.
#define EFI_MM_COMMUNICATION_PROTOCOL_GUID |
Definition at line 38 of file MmCommunication.h.
typedef EFI_STATUS(EFIAPI * EFI_MM_COMMUNICATE) (IN CONST EFI_MM_COMMUNICATION_PROTOCOL *This, IN OUT VOID *CommBuffer, IN OUT UINTN *CommSize OPTIONAL) |
Communicates with a registered handler.
This function provides a service to send and receive messages from a registered UEFI service.
[in] | This | The EFI_MM_COMMUNICATION_PROTOCOL instance. |
[in] | CommBuffer | A pointer to the buffer to convey into MMRAM. |
[in] | CommSize | The size of the data buffer being passed in. On exit, the size of data being returned. Zero if the handler does not wish to reply with any data. This parameter is optional and may be NULL. |
EFI_SUCCESS | The message was successfully posted. |
EFI_INVALID_PARAMETER | The CommBuffer was NULL. |
EFI_BAD_BUFFER_SIZE | The buffer is too large for the MM implementation. If this error is returned, the MessageLength field in the CommBuffer header or the integer pointed by CommSize, are updated to reflect the maximum payload size the implementation can accommodate. |
EFI_ACCESS_DENIED | The CommunicateBuffer parameter or CommSize parameter, if not omitted, are in address range that cannot be accessed by the MM environment. |
Definition at line 69 of file MmCommunication.h.
typedef struct _EFI_MM_COMMUNICATION_PROTOCOL EFI_MM_COMMUNICATION_PROTOCOL |
Definition at line 43 of file MmCommunication.h.