UefiPayloadPkg/PchSmiDispatchSmm: Add missing EFIAPI modifiers

Added missing EFIAPI modifier to SmmSwDispatcher function which passed into gSmst->SmiHandlerRegister routine.

Signed-off-by: Savva Mitrofanov <sk.mitrofanov@ispras.ru>
Reviewed-by: Vitaly Cheptsov <cheptsov@ispras.ru>
This commit is contained in:
Savva Mitrofanov 2022-02-24 18:01:11 +06:00 committed by Mikhail Krichanov
parent ad7e33255b
commit f4400b241e
1 changed files with 2 additions and 1 deletions

View File

@ -87,6 +87,7 @@ FindContextByDispatchHandle (
**/
EFI_STATUS
EFIAPI
SmmSwDispatcher (
IN EFI_HANDLE DispatchHandle,
IN CONST VOID *RegisterContext,
@ -436,7 +437,7 @@ PchSmiDispatchEntryPoint (
//
// Register a SMM handler to handle subsequent SW SMIs.
//
Status = gSmst->SmiHandlerRegister ((EFI_MM_HANDLER_ENTRY_POINT)SmmSwDispatcher, NULL, &DispatchHandle);
Status = gSmst->SmiHandlerRegister (SmmSwDispatcher, NULL, &DispatchHandle);
ASSERT_EFI_ERROR (Status);
//