TianoCore EDK2 master
Loading...
Searching...
No Matches
SmmCommunicationBufferDxe.c File Reference

Go to the source code of this file.

Macros

#define DEFAULT_COMMON_PI_SMM_COMMUNIATION_REGION_PAGES   4
 

Functions

EFI_STATUS EFIAPI SmmCommunicationBufferEntryPoint (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 

Detailed Description

A driver allocates common SMM communication buffer in EfiReservedMemoryType.

This driver allocates common SMM communication buffer in EfiReservedMemoryType, then it publishes the information to EFI configuration table with gEdkiiPiSmmCommunicationRegionTableGuid. Any other driver or application can get the table and know the common communication buffer.

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

Definition in file SmmCommunicationBufferDxe.c.

Macro Definition Documentation

◆ DEFAULT_COMMON_PI_SMM_COMMUNIATION_REGION_PAGES

#define DEFAULT_COMMON_PI_SMM_COMMUNIATION_REGION_PAGES   4

Definition at line 27 of file SmmCommunicationBufferDxe.c.

Function Documentation

◆ SmmCommunicationBufferEntryPoint()

EFI_STATUS EFIAPI SmmCommunicationBufferEntryPoint ( IN EFI_HANDLE  ImageHandle,
IN EFI_SYSTEM_TABLE SystemTable 
)

Entry Point for SMM communication buffer driver.

Parameters
[in]ImageHandleImage handle of this driver.
[in]SystemTableA Pointer to the EFI System Table.
Return values
EFI_SUCEESS
Returns
Others Some error occurs.

Definition at line 40 of file SmmCommunicationBufferDxe.c.