2020-02-28 14:58:14 +01:00
|
|
|
## @file
|
|
|
|
# DXE driver to expose the 'kernel', 'initrd' and 'cmdline' blobs
|
|
|
|
# provided by QEMU as files in an abstract file system
|
|
|
|
#
|
|
|
|
# Copyright (C) 2014-2016, Red Hat, Inc.
|
|
|
|
# Copyright (C) 2020, Arm, Limited.
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
##
|
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 1.27
|
|
|
|
BASE_NAME = QemuKernelLoaderFsDxe
|
|
|
|
FILE_GUID = 806040ca-dad9-4978-a3b4-2d2ab0c8a48f
|
|
|
|
MODULE_TYPE = DXE_DRIVER
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
ENTRY_POINT = QemuKernelLoaderFsDxeEntrypoint
|
|
|
|
|
|
|
|
[Sources]
|
|
|
|
QemuKernelLoaderFsDxe.c
|
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
OvmfPkg/OvmfPkg.dec
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
BaseLib
|
|
|
|
BaseMemoryLib
|
|
|
|
DebugLib
|
2020-02-29 13:59:52 +01:00
|
|
|
DevicePathLib
|
2020-02-28 14:58:14 +01:00
|
|
|
MemoryAllocationLib
|
|
|
|
QemuFwCfgLib
|
|
|
|
UefiBootServicesTableLib
|
|
|
|
UefiDriverEntryPoint
|
|
|
|
UefiRuntimeServicesTableLib
|
|
|
|
|
|
|
|
[Guids]
|
|
|
|
gEfiFileInfoGuid
|
|
|
|
gEfiFileSystemInfoGuid
|
|
|
|
gEfiFileSystemVolumeLabelInfoIdGuid
|
|
|
|
gQemuKernelLoaderFsMediaGuid
|
|
|
|
|
|
|
|
[Protocols]
|
|
|
|
gEfiDevicePathProtocolGuid ## PRODUCES
|
2020-02-29 13:59:52 +01:00
|
|
|
gEfiLoadFile2ProtocolGuid ## PRODUCES
|
2020-02-28 14:58:14 +01:00
|
|
|
gEfiSimpleFileSystemProtocolGuid ## PRODUCES
|
|
|
|
|
|
|
|
[Depex]
|
|
|
|
gEfiRealTimeClockArchProtocolGuid
|