]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.c
MdeModulePkg: Clean up source files
[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
495797c5 5 This program and the accompanying materials\r
6 are licensed and made available under the terms and conditions of the BSD License\r
7 which accompanies this distribution. The full text of the license may be found at\r
8 http://opensource.org/licenses/bsd-license.php\r
9\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
15#include <Library/SmmCorePlatformHookLib.h>\r
16\r
17/**\r
18 Performs platform specific tasks before invoking registered SMI handlers.\r
d1102dba 19\r
495797c5 20 This function performs platform specific tasks before invoking registered SMI handlers.\r
d1102dba 21\r
495797c5 22 @retval EFI_SUCCESS The platform hook completes successfully.\r
23 @retval Other values The paltform hook cannot complete due to some error.\r
24\r
25**/\r
26EFI_STATUS\r
27EFIAPI\r
28PlatformHookBeforeSmmDispatch (\r
29 VOID\r
30 )\r
31{\r
32 return EFI_SUCCESS;\r
33}\r
34\r
35\r
36/**\r
37 Performs platform specific tasks after invoking registered SMI handlers.\r
d1102dba 38\r
495797c5 39 This function performs platform specific tasks after invoking registered SMI handlers.\r
d1102dba 40\r
495797c5 41 @retval EFI_SUCCESS The platform hook completes successfully.\r
42 @retval Other values The paltform hook cannot complete due to some error.\r
43\r
44**/\r
45EFI_STATUS\r
46EFIAPI\r
47PlatformHookAfterSmmDispatch (\r
48 VOID\r
49 )\r
50{\r
51 return EFI_SUCCESS;\r
52}\r