]>
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 | |
d1102dba LG |
5 | Copyright (c) 2011 - 2018, 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 | |
495797c5 | 8 | The full text of the license may be found at\r |
d1102dba | 9 | http://opensource.org/licenses/bsd-license.php.\r |
495797c5 | 10 | \r |
d1102dba | 11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r |
495797c5 | 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 | |
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 | |
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 | |
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 | |
44 | EFI_STATUS\r | |
45 | EFIAPI\r | |
46 | PlatformHookAfterSmmDispatch (\r | |
47 | VOID\r | |
48 | );\r | |
d1102dba | 49 | \r |
495797c5 | 50 | #endif\r |