]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.c
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[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 Performs platform specific tasks after invoking registered SMI handlers.
31
32 This function performs platform specific tasks after invoking registered SMI handlers.
33
34 @retval EFI_SUCCESS The platform hook completes successfully.
35 @retval Other values The paltform hook cannot complete due to some error.
36
37 **/
38 EFI_STATUS
39 EFIAPI
40 PlatformHookAfterSmmDispatch (
41 VOID
42 )
43 {
44 return EFI_SUCCESS;
45 }