audk/OvmfPkg/Bhyve/PlatformPei
Corvin Köhne 238690a30d OvmfPkg/Bhyve: use a proper PCI IO range
Bhyve uses an io port range of [ 0x2000, 0x10000 ] [1]. At the moment,
EDKII is using a subset of this range [ 0xC000, 0x10000 ] [2]. Even
though the EDKII range doesn't exceed the bhyve range, it's causing
issues on some guests like OpenBSD [3]. We don't know why it's causing
issues yet. However, using the same IO port range in EDKII fixes the
issue and is a good idea anyway.

[1] 82ea0132c8/usr.sbin/bhyve/pci_emul.c (L133-L134)
[2] fb044b7fe8/OvmfPkg/Bhyve/PlatformPei/Platform.c (L156-L157)
[3] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274389

Signed-off-by: Corvin Köhne <corvink@FreeBSD.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Rebecca Cran <rebecca@bsdio.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Jiewen Yao <jiewen.yao@intel.com>
2023-12-07 16:59:09 +00:00
..
AmdSev.c OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
ClearCache.c OvmfPkg: Update code to be more C11 compliant by using __func__ 2023-04-10 14:19:57 +00:00
Cmos.c OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Cmos.h OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
FeatureControl.c Add BhyvePkg, to support the bhyve hypervisor 2020-07-31 13:03:10 +00:00
Fv.c OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
MemDetect.c OvmfPkg: Update code to be more C11 compliant by using __func__ 2023-04-10 14:19:57 +00:00
Platform.c OvmfPkg/Bhyve: use a proper PCI IO range 2023-12-07 16:59:09 +00:00
Platform.h OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PlatformPei.inf OvmfPkg/Bhyve: build platform info HOB 2023-08-18 12:24:35 +00:00