mirror of
https://github.com/utmapp/edk2.git
synced 2026-12-01 07:53:33 -10:00
This change added support of StandaloneMm for StatusCodeHandler. It adds a new instance of StatusCodeHandler of MM_STANDALONE type, and abstracts the driver entrypoint into separate files, replaced gSmst with gMmst, and switched to MM version of RscHandlerProtocol. Cc: Jian J Wang <[email protected]> Cc: Hao A Wu <[email protected]> Cc: Dandan Bi <[email protected]> Cc: Liming Gao <[email protected]> Cc: Jiewen Yao <[email protected]> Signed-off-by: Kun Qin <[email protected]> Reviewed-by: Hao A Wu <[email protected]>
32 lines
805 B
C
32 lines
805 B
C
/** @file
|
|
Abstraction layer that contains Standalone MM specific implementation for
|
|
Status Code Handler Driver.
|
|
|
|
Copyright (c) Microsoft Corporation.
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
**/
|
|
|
|
#include "StatusCodeHandlerMm.h"
|
|
|
|
/**
|
|
Entry point of Standalone MM Status Code Driver.
|
|
|
|
This function is the entry point of Standalone MM Status Code Driver.
|
|
|
|
@param ImageHandle The firmware allocated handle for the EFI image.
|
|
@param SystemTable A pointer to the EFI MM System Table.
|
|
|
|
@retval EFI_SUCCESS The entry point is executed successfully.
|
|
|
|
**/
|
|
EFI_STATUS
|
|
EFIAPI
|
|
StatusCodeHandlerStandaloneMmEntry (
|
|
IN EFI_HANDLE ImageHandle,
|
|
IN EFI_MM_SYSTEM_TABLE *SystemTable
|
|
)
|
|
{
|
|
return StatusCodeHandlerCommonEntry ();
|
|
}
|