OvmfPkg: Handle Cloud Hypervisor host bridge
Handle things differently when the detected host bridge matches the Cloud Hypervisor PCI host bridge identifier. Reviewed-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> Signed-off-by: Rob Bradford <robert.bradford@intel.com> Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
		
				
					committed by
					
						![mergify[bot]](/avatar/e3df20cd7a67969c41a65f03bea54961?size=40) mergify[bot]
						mergify[bot]
					
				
			
			
				
	
			
			
			
						parent
						
							e81a81e584
						
					
				
				
					commit
					9afcd48a94
				
			| @@ -53,6 +53,8 @@ AcpiTimerLibConstructor ( | ||||
|       AcpiCtlReg = POWER_MGMT_REGISTER_Q35 (ICH9_ACPI_CNTL); | ||||
|       AcpiEnBit  = ICH9_ACPI_CNTL_ACPI_EN; | ||||
|       break; | ||||
|     case CLOUDHV_DEVICE_ID: | ||||
|       return RETURN_SUCCESS; | ||||
|     default: | ||||
|       DEBUG (( | ||||
|         DEBUG_ERROR, | ||||
| @@ -111,6 +113,8 @@ InternalAcpiGetTimerTick ( | ||||
|     case INTEL_Q35_MCH_DEVICE_ID: | ||||
|       Pmba = POWER_MGMT_REGISTER_Q35 (ICH9_PMBASE); | ||||
|       break; | ||||
|     case CLOUDHV_DEVICE_ID: | ||||
|       return IoRead32 (CLOUDHV_ACPI_TIMER_IO_ADDRESS); | ||||
|     default: | ||||
|       DEBUG (( | ||||
|         DEBUG_ERROR, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user