]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.c
MdeModulePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdeModulePkg / Library / SmmCorePlatformHookLibNull / SmmCorePlatformHookLibNull.c
CommitLineData
495797c5 1/** @file\r
2 Null instance of SmmCorePlatformHookLibNull.\r
3\r
d1102dba 4 Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>\r
9d510e61 5 SPDX-License-Identifier: BSD-2-Clause-Patent\r
495797c5 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
d1102dba 13\r
495797c5 14 This function performs platform specific tasks before invoking registered SMI handlers.\r
d1102dba 15\r
495797c5 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
d1102dba 32\r
495797c5 33 This function performs platform specific tasks after invoking registered SMI handlers.\r
d1102dba 34\r
495797c5 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