1## @file 2# Rewrite the BootOrder NvVar based on QEMU's "bootorder" fw_cfg file. 3# 4# Copyright (C) 2012 - 2014, Red Hat, Inc. 5# Copyright (c) 2007 - 2016, Intel Corporation. All rights reserved.<BR> 6# 7# This program and the accompanying materials are licensed and made available 8# under the terms and conditions of the BSD License which accompanies this 9# distribution. The full text of the license may be found at 10# http://opensource.org/licenses/bsd-license.php 11# 12# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 13# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR 14# IMPLIED. 15# 16## 17 18[Defines] 19 INF_VERSION = 0x00010005 20 BASE_NAME = QemuBootOrderLib 21 FILE_GUID = 1D677A58-C753-4AF1-B552-EFE142DF8F57 22 MODULE_TYPE = DXE_DRIVER 23 VERSION_STRING = 1.0 24 LIBRARY_CLASS = QemuBootOrderLib|DXE_DRIVER 25 26# 27# The following information is for reference only and not required by the build 28# tools. 29# 30# VALID_ARCHITECTURES = IA32 X64 IPF EBC ARM AARCH64 31# 32 33[Sources] 34 QemuBootOrderLib.c 35 ExtraRootBusMap.c 36 37[Packages] 38 MdePkg/MdePkg.dec 39 MdeModulePkg/MdeModulePkg.dec 40 OvmfPkg/OvmfPkg.dec 41 42[LibraryClasses] 43 QemuFwCfgLib 44 DebugLib 45 MemoryAllocationLib 46 UefiBootManagerLib 47 UefiBootServicesTableLib 48 UefiRuntimeServicesTableLib 49 BaseLib 50 PrintLib 51 DevicePathLib 52 BaseMemoryLib 53 OrderedCollectionLib 54 55[Guids] 56 gEfiGlobalVariableGuid 57 gVirtioMmioTransportGuid 58 59[FeaturePcd] 60 gUefiOvmfPkgTokenSpaceGuid.PcdQemuBootOrderPciTranslation 61 gUefiOvmfPkgTokenSpaceGuid.PcdQemuBootOrderMmioTranslation 62 63[Pcd] 64 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut 65 66[Protocols] 67 gEfiDevicePathProtocolGuid ## CONSUMES 68 gEfiPciRootBridgeIoProtocolGuid ## CONSUMES 69