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]
parent
e81a81e584
commit
9afcd48a94
36
OvmfPkg/Include/IndustryStandard/CloudHv.h
Normal file
36
OvmfPkg/Include/IndustryStandard/CloudHv.h
Normal file
@@ -0,0 +1,36 @@
|
||||
/** @file
|
||||
Various defines related to Cloud Hypervisor
|
||||
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
**/
|
||||
|
||||
#ifndef __CLOUDHV_H__
|
||||
#define __CLOUDHV_H__
|
||||
|
||||
//
|
||||
// Host Bridge Device ID
|
||||
//
|
||||
#define CLOUDHV_DEVICE_ID 0x0d57
|
||||
|
||||
//
|
||||
// ACPI timer address
|
||||
//
|
||||
#define CLOUDHV_ACPI_TIMER_IO_ADDRESS 0xb008
|
||||
|
||||
//
|
||||
// ACPI shutdown device address
|
||||
//
|
||||
#define CLOUDHV_ACPI_SHUTDOWN_IO_ADDRESS 0x03c0
|
||||
|
||||
//
|
||||
// 32-bit MMIO memory hole base address
|
||||
//
|
||||
#define CLOUDHV_MMIO_HOLE_ADDRESS 0xc0000000
|
||||
|
||||
//
|
||||
// 32-bit MMIO memory hole size
|
||||
//
|
||||
#define CLOUDHV_MMIO_HOLE_SIZE 0x38000000
|
||||
|
||||
#endif // __CLOUDHV_H__
|
@@ -16,6 +16,7 @@
|
||||
#include <IndustryStandard/I440FxPiix4.h>
|
||||
#include <IndustryStandard/Bhyve.h>
|
||||
#include <IndustryStandard/Microvm.h>
|
||||
#include <IndustryStandard/CloudHv.h>
|
||||
|
||||
//
|
||||
// OVMF Host Bridge DID Address
|
||||
|
Reference in New Issue
Block a user