]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Include/Library/SmmCorePlatformHookLib.h
MdeModulePkg/FaultTolerantWriteDxe: implement standalone MM version
[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
LG
5Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>\r
6This program and the accompanying materials are licensed and made available under\r
7the terms and conditions of the BSD License that accompanies this distribution.\r
495797c5 8The full text of the license may be found at\r
d1102dba 9http://opensource.org/licenses/bsd-license.php.\r
495797c5 10\r
d1102dba 11THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
495797c5 12WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13\r
14**/\r
15\r
16#ifndef __SMM_CORE_PLATFORM_HOOK_LIB__\r
17#define __SMM_CORE_PLATFORM_HOOK_LIB__\r
18\r
19/**\r
20 Performs platform specific tasks before invoking registered SMI handlers.\r
d1102dba 21\r
495797c5 22 This function performs platform specific tasks before invoking registered SMI handlers.\r
d1102dba 23\r
495797c5 24 @retval EFI_SUCCESS The platform hook completes successfully.\r
25 @retval Other values The paltform hook cannot complete due to some error.\r
26\r
27**/\r
28EFI_STATUS\r
29EFIAPI\r
30PlatformHookBeforeSmmDispatch (\r
31 VOID\r
32 );\r
33\r
34\r
35/**\r
36 Performs platform specific tasks after invoking registered SMI handlers.\r
d1102dba 37\r
495797c5 38 This function performs platform specific tasks after invoking registered SMI handlers.\r
d1102dba 39\r
495797c5 40 @retval EFI_SUCCESS The platform hook completes successfully.\r
41 @retval Other values The paltform hook cannot complete due to some error.\r
42\r
43**/\r
44EFI_STATUS\r
45EFIAPI\r
46PlatformHookAfterSmmDispatch (\r
47 VOID\r
48 );\r
d1102dba 49\r
495797c5 50#endif\r