]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.c
MdeModulePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdeModulePkg / Library / SmmCorePlatformHookLibNull / SmmCorePlatformHookLibNull.c
... / ...
CommitLineData
1/** @file\r
2 Null instance of SmmCorePlatformHookLibNull.\r
3\r
4 Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>\r
5 SPDX-License-Identifier: BSD-2-Clause-Patent\r
6\r
7**/\r
8\r
9#include <Library/SmmCorePlatformHookLib.h>\r
10\r
11/**\r
12 Performs platform specific tasks before invoking registered SMI handlers.\r
13\r
14 This function performs platform specific tasks before invoking registered SMI handlers.\r
15\r
16 @retval EFI_SUCCESS The platform hook completes successfully.\r
17 @retval Other values The paltform hook cannot complete due to some error.\r
18\r
19**/\r
20EFI_STATUS\r
21EFIAPI\r
22PlatformHookBeforeSmmDispatch (\r
23 VOID\r
24 )\r
25{\r
26 return EFI_SUCCESS;\r
27}\r
28\r
29\r
30/**\r
31 Performs platform specific tasks after invoking registered SMI handlers.\r
32\r
33 This function performs platform specific tasks after invoking registered SMI handlers.\r
34\r
35 @retval EFI_SUCCESS The platform hook completes successfully.\r
36 @retval Other values The paltform hook cannot complete due to some error.\r
37\r
38**/\r
39EFI_STATUS\r
40EFIAPI\r
41PlatformHookAfterSmmDispatch (\r
42 VOID\r
43 )\r
44{\r
45 return EFI_SUCCESS;\r
46}\r