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