]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/PlatformDxe/Platform.c
OvmfPkg: introduce empty PlatformDxe
[mirror_edk2.git] / OvmfPkg / PlatformDxe / Platform.c
CommitLineData
d945a8ba
LE
1/** @file\r
2 This driver effectuates OVMF's platform configuration settings and exposes\r
3 them via HII.\r
4\r
5 Copyright (C) 2014, Red Hat, Inc.\r
6 Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
7\r
8 This program and the accompanying materials are licensed and made available\r
9 under the terms and conditions of the BSD License which accompanies this\r
10 distribution. The full text of the license may be found at\r
11 http://opensource.org/licenses/bsd-license.php\r
12\r
13 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT\r
14 WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
15**/\r
16\r
17#include <Library/DebugLib.h>\r
18#include <Library/UefiBootServicesTableLib.h>\r
19\r
20/**\r
21 Entry point for this driver.\r
22\r
23 @param[in] ImageHandle Image handle of this driver.\r
24 @param[in] SystemTable Pointer to SystemTable.\r
25\r
26 @retval EFI_SUCESS Driver has loaded successfully.\r
27\r
28**/\r
29EFI_STATUS\r
30EFIAPI\r
31PlatformInit (\r
32 IN EFI_HANDLE ImageHandle,\r
33 IN EFI_SYSTEM_TABLE *SystemTable\r
34 )\r
35{\r
36 return EFI_SUCCESS;\r
37}\r
38\r
39/**\r
40 Unload the driver.\r
41\r
42 @param[in] ImageHandle Handle that identifies the image to evict.\r
43\r
44 @retval EFI_SUCCESS The image has been unloaded.\r
45**/\r
46EFI_STATUS\r
47EFIAPI\r
48PlatformUnload (\r
49 IN EFI_HANDLE ImageHandle\r
50 )\r
51{\r
52 return EFI_SUCCESS;\r
53}\r