]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Include/Library/SmmCorePlatformHookLib.h
MdeModulePkg: Add match2 opcode support in SetupBrowserDxe and sample code in DriverS...
[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
5Copyright (c) 2011, 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
8The full text of the license may be found at\r
9http://opensource.org/licenses/bsd-license.php. \r
10\r
11THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
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
21 \r
22 This function performs platform specific tasks before invoking registered SMI handlers.\r
23 \r
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
37 \r
38 This function performs platform specific tasks after invoking registered SMI handlers.\r
39 \r
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
49 \r
50#endif\r