Remove all blanks lines to avoid build errors.
[mirror_edk2.git] / MdeModulePkg / Library / EdkFvbServiceLib / EntryPoint.c
CommitLineData
94774441 1/**@file\r
2 Entry Point Source file.\r
3\r
4 This file contains the user entry point\r
5\r
6 Copyright (c) 2006 - 2007, Intel Corporation\r
7 All rights reserved. This program and the accompanying materials\r
8 are licensed and made available under the terms and conditions of the BSD License\r
9 which accompanies this distribution. The full text of the license may be found at\r
10 http://opensource.org/licenses/bsd-license.php\r
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13**/\r
14\r
15//\r
16// Include common header file for this module.\r
17//\r
18#include "CommonHeader.h"\r
19\r
20//\r
21// Event for Exit Boot Services Callback\r
22//\r
23STATIC EFI_EVENT mExitBootServicesEvent = NULL;\r
24\r
25/**\r
26 The user Entry Point for module EdkFvbServiceLib. The user code starts with this function.\r
27\r
28 @param[in] ImageHandle The firmware allocated handle for the EFI image.\r
29 @param[in] SystemTable A pointer to the EFI System Table.\r
30\r
31 @retval EFI_SUCCESS The entry point is executed successfully.\r
32 @retval other Some error occurs when executing this entry point.\r
33\r
34**/\r
35EFI_STATUS\r
36EFIAPI\r
37InitializeEdkFvbServiceLib(\r
38 IN EFI_HANDLE ImageHandle,\r
39 IN EFI_SYSTEM_TABLE *SystemTable\r
40 )\r
41{\r
42 EFI_STATUS Status;\r
43\r
44 Status = gBS->CreateEvent (\r
45 EVT_SIGNAL_EXIT_BOOT_SERVICES,\r
46 TPL_NOTIFY,\r
47 FvbVirtualAddressChangeNotifyEvent,\r
48 NULL,\r
49 &mExitBootServicesEvent\r
50 );\r
51 ASSERT_EFI_ERROR (Status);\r
52\r
53 return Status;\r
54}\r