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