mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-24 14:14:31 +02:00
OvmfPkg/Library: Impl SmmCpuPlatformHookBeforeMmiHandler func
This patch is to add SmmCpuPlatformHookBeforeMmiHandler func for OVMF. Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com>
This commit is contained in:
parent
7d4da670ea
commit
e34460c8b2
@ -2,7 +2,7 @@
|
||||
SMM CPU Platform Hook library instance for QEMU.
|
||||
|
||||
Copyright (c) 2020, Red Hat, Inc.
|
||||
Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2006 - 2024, Intel Corporation. All rights reserved.<BR>
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
**/
|
||||
@ -113,3 +113,21 @@ GetPlatformPageTableAttribute (
|
||||
{
|
||||
return EFI_UNSUPPORTED;
|
||||
}
|
||||
|
||||
/**
|
||||
SMM CPU Platform Hook before executing MMI Handler.
|
||||
|
||||
This function can be used to perform the platform specific items before executing MMI Handler.
|
||||
|
||||
@retval EFI_SUCCESS The smm cpu platform hook before executing MMI Handler is executed successfully.
|
||||
@retval EFI_UNSUPPORTED The smm cpu platform hook before executing MMI Handler is unsupported.
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
SmmCpuPlatformHookBeforeMmiHandler (
|
||||
VOID
|
||||
)
|
||||
{
|
||||
return EFI_UNSUPPORTED;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user