Remove the QemuFwCfgLib interface used to read the QEMU cmdline (-append argument) and the initrd size. Instead, use the synthetic filesystem QemuKernelLoaderFs which has three files: "kernel", "initrd", and "cmdline". Cc: Laszlo Ersek <lersek@redhat.com> Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: James Bottomley <jejb@linux.ibm.com> Cc: Tobin Feldman-Fitzthum <tobin@linux.ibm.com> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3457 Signed-off-by: Dov Murik <dovmurik@linux.ibm.com> Message-Id: <20210628105110.379951-5-dovmurik@linux.ibm.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Tested-by: Laszlo Ersek <lersek@redhat.com>
		
			
				
	
	
		
			40 lines
		
	
	
		
			934 B
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			934 B
		
	
	
	
		
			INI
		
	
	
	
	
	
## @file
 | 
						|
#  Generic implementation of QemuLoadImageLib library class interface.
 | 
						|
#
 | 
						|
#  Copyright (c) 2020, ARM Ltd. All rights reserved.<BR>
 | 
						|
#
 | 
						|
#  SPDX-License-Identifier: BSD-2-Clause-Patent
 | 
						|
#
 | 
						|
##
 | 
						|
 | 
						|
[Defines]
 | 
						|
  INF_VERSION                    = 1.27
 | 
						|
  BASE_NAME                      = GenericQemuLoadImageLib
 | 
						|
  FILE_GUID                      = 9e3e28da-c7b5-4f85-841a-84e6a9a1f1a0
 | 
						|
  MODULE_TYPE                    = BASE
 | 
						|
  VERSION_STRING                 = 1.0
 | 
						|
  LIBRARY_CLASS                  = QemuLoadImageLib|DXE_DRIVER
 | 
						|
 | 
						|
[Sources]
 | 
						|
  GenericQemuLoadImageLib.c
 | 
						|
 | 
						|
[Packages]
 | 
						|
  MdeModulePkg/MdeModulePkg.dec
 | 
						|
  MdePkg/MdePkg.dec
 | 
						|
  OvmfPkg/OvmfPkg.dec
 | 
						|
 | 
						|
[LibraryClasses]
 | 
						|
  DebugLib
 | 
						|
  FileHandleLib
 | 
						|
  MemoryAllocationLib
 | 
						|
  PrintLib
 | 
						|
  UefiBootServicesTableLib
 | 
						|
 | 
						|
[Protocols]
 | 
						|
  gEfiDevicePathProtocolGuid
 | 
						|
  gEfiLoadedImageProtocolGuid
 | 
						|
  gEfiSimpleFileSystemProtocolGuid
 | 
						|
 | 
						|
[Guids]
 | 
						|
  gQemuKernelLoaderFsMediaGuid
 |