summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf
blob: c7ec041cb706b9be5c56c05c2ead48c048bdcf88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
## @file
#  X86 specific implementation of QemuLoadImageLib library class interface
#  with support for loading mixed mode images and non-EFI stub images
#
#  Note that this implementation reads the cmdline (and possibly kernel, setup
#  data, and initrd in the legacy boot mode) from fw_cfg directly.
#
#  Copyright (c) 2020, ARM Ltd. All rights reserved.<BR>
#
#  SPDX-License-Identifier: BSD-2-Clause-Patent
#
##

[Defines]
  INF_VERSION                    = 1.27
  BASE_NAME                      = X86QemuLoadImageLib
  FILE_GUID                      = 2304df80-e21d-4170-9c3c-113c878f7ac0
  MODULE_TYPE                    = BASE
  VERSION_STRING                 = 1.0
  LIBRARY_CLASS                  = QemuLoadImageLib|DXE_DRIVER

[Sources]
  X86QemuLoadImageLib.c

[Packages]
  MdeModulePkg/MdeModulePkg.dec
  MdePkg/MdePkg.dec
  OvmfPkg/OvmfPkg.dec

[LibraryClasses]
  DebugLib
  MemoryAllocationLib
  LoadLinuxLib
  PrintLib
  QemuFwCfgLib
  ReportStatusCodeLib
  UefiBootServicesTableLib

[Protocols]
  gEfiDevicePathProtocolGuid
  gEfiLoadedImageProtocolGuid
  gOvmfLoadedX86LinuxKernelProtocolGuid

[Guids]
  gQemuKernelLoaderFsMediaGuid