]>
Commit | Line | Data |
---|---|---|
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 | |
5 | Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\r | |
6 | This program and the accompanying materials are licensed and made available under \r | |
7 | the terms and conditions of the BSD License that accompanies this distribution. \r | |
8 | The full text of the license may be found at\r | |
9 | http://opensource.org/licenses/bsd-license.php. \r | |
10 | \r | |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
12 | WITHOUT 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 | |
28 | EFI_STATUS\r | |
29 | EFIAPI\r | |
30 | PlatformHookBeforeSmmDispatch (\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 | |
44 | EFI_STATUS\r | |
45 | EFIAPI\r | |
46 | PlatformHookAfterSmmDispatch (\r | |
47 | VOID\r | |
48 | );\r | |
49 | \r | |
50 | #endif\r |