mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-28 12:25:19 +01:00
7c0aa811ec
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
45 lines
1.1 KiB
C
45 lines
1.1 KiB
C
/** @file
|
|
Smm Core Platform Hook Library. This library class defines a set of platform
|
|
hooks called by the SMM Core.
|
|
|
|
Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
**/
|
|
|
|
#ifndef __SMM_CORE_PLATFORM_HOOK_LIB__
|
|
#define __SMM_CORE_PLATFORM_HOOK_LIB__
|
|
|
|
/**
|
|
Performs platform specific tasks before invoking registered SMI handlers.
|
|
|
|
This function performs platform specific tasks before invoking registered SMI handlers.
|
|
|
|
@retval EFI_SUCCESS The platform hook completes successfully.
|
|
@retval Other values The paltform hook cannot complete due to some error.
|
|
|
|
**/
|
|
EFI_STATUS
|
|
EFIAPI
|
|
PlatformHookBeforeSmmDispatch (
|
|
VOID
|
|
);
|
|
|
|
|
|
/**
|
|
Performs platform specific tasks after invoking registered SMI handlers.
|
|
|
|
This function performs platform specific tasks after invoking registered SMI handlers.
|
|
|
|
@retval EFI_SUCCESS The platform hook completes successfully.
|
|
@retval Other values The paltform hook cannot complete due to some error.
|
|
|
|
**/
|
|
EFI_STATUS
|
|
EFIAPI
|
|
PlatformHookAfterSmmDispatch (
|
|
VOID
|
|
);
|
|
|
|
#endif
|