mirror of
				https://gitlab.com/qemu-project/edk2.git
				synced 2025-10-30 07:56:39 +08:00 
			
		
		
		
	ArmVirtPkg: Add support for fw_cfg for EFI Shell
Signed-off-by: Luigi Leonardi <leonardi@redhat.com>
This commit is contained in:
		 Luigi Leonardi
					Luigi Leonardi
				
			
				
					committed by
					
						![mergify[bot]](/assets/img/avatar_default.png) mergify[bot]
						mergify[bot]
					
				
			
			
				
	
			
			
			![mergify[bot]](/assets/img/avatar_default.png) mergify[bot]
						mergify[bot]
					
				
			
						parent
						
							7862dcb802
						
					
				
				
					commit
					f79218f4dd
				
			| @ -963,6 +963,7 @@ PlatformBootManagerAfterConsole ( | ||||
| { | ||||
|   RETURN_STATUS  Status; | ||||
|   BOOLEAN        Uninstall; | ||||
|   BOOLEAN        ShellEnabled; | ||||
|  | ||||
|   // | ||||
|   // Show the splash screen. | ||||
| @ -988,6 +989,15 @@ PlatformBootManagerAfterConsole ( | ||||
|     UninstallEfiMemoryAttributesProtocol (); | ||||
|   } | ||||
|  | ||||
|   Status = QemuFwCfgParseBool ( | ||||
|              "opt/org.tianocore/EFIShellSupport", | ||||
|              &ShellEnabled | ||||
|              ); | ||||
|  | ||||
|   if (RETURN_ERROR (Status)) { | ||||
|     ShellEnabled = TRUE; | ||||
|   } | ||||
|  | ||||
|   // | ||||
|   // Process QEMU's -kernel command line option. The kernel booted this way | ||||
|   // will receive ACPI tables: in PlatformBootManagerBeforeConsole(), we | ||||
| @ -1020,7 +1030,7 @@ PlatformBootManagerAfterConsole ( | ||||
|     &gUefiShellFileGuid, | ||||
|     L"EFI Internal Shell", | ||||
|     LOAD_OPTION_ACTIVE, | ||||
|     TRUE | ||||
|     ShellEnabled | ||||
|     ); | ||||
|  | ||||
|   RemoveStaleFvFileOptions (); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user