]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Include/Library/SmmCorePlatformHookLib.h
MdeModulePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdeModulePkg / Include / Library / SmmCorePlatformHookLib.h
CommitLineData
495797c5 1/** @file\r
2 Smm Core Platform Hook Library. This library class defines a set of platform\r
3 hooks called by the SMM Core.\r
4\r
d1102dba 5Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>\r
9d510e61 6SPDX-License-Identifier: BSD-2-Clause-Patent\r
495797c5 7\r
8**/\r
9\r
10#ifndef __SMM_CORE_PLATFORM_HOOK_LIB__\r
11#define __SMM_CORE_PLATFORM_HOOK_LIB__\r
12\r
13/**\r
14 Performs platform specific tasks before invoking registered SMI handlers.\r
d1102dba 15\r
495797c5 16 This function performs platform specific tasks before invoking registered SMI handlers.\r
d1102dba 17\r
495797c5 18 @retval EFI_SUCCESS The platform hook completes successfully.\r
19 @retval Other values The paltform hook cannot complete due to some error.\r
20\r
21**/\r
22EFI_STATUS\r
23EFIAPI\r
24PlatformHookBeforeSmmDispatch (\r
25 VOID\r
26 );\r
27\r
28\r
29/**\r
30 Performs platform specific tasks after invoking registered SMI handlers.\r
d1102dba 31\r
495797c5 32 This function performs platform specific tasks after invoking registered SMI handlers.\r
d1102dba 33\r
495797c5 34 @retval EFI_SUCCESS The platform hook completes successfully.\r
35 @retval Other values The paltform hook cannot complete due to some error.\r
36\r
37**/\r
38EFI_STATUS\r
39EFIAPI\r
40PlatformHookAfterSmmDispatch (\r
41 VOID\r
42 );\r
d1102dba 43\r
495797c5 44#endif\r