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