mirror of https://github.com/acidanthera/audk.git
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:
parent
ad7e33255b
commit
f4400b241e
|
@ -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);
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue