mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-24 22:24:37 +02:00
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
|
EFI_STATUS
|
||||||
|
EFIAPI
|
||||||
SmmSwDispatcher (
|
SmmSwDispatcher (
|
||||||
IN EFI_HANDLE DispatchHandle,
|
IN EFI_HANDLE DispatchHandle,
|
||||||
IN CONST VOID *RegisterContext,
|
IN CONST VOID *RegisterContext,
|
||||||
@ -436,7 +437,7 @@ PchSmiDispatchEntryPoint (
|
|||||||
//
|
//
|
||||||
// Register a SMM handler to handle subsequent SW SMIs.
|
// 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);
|
ASSERT_EFI_ERROR (Status);
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user