]> git.proxmox.com Git - mirror_edk2.git/commit - OvmfPkg/Bhyve/BhyveX64.dsc
OvmfPkg/Bhyve: use static PCI32Base address
authorCorvin Köhne <c.koehne@beckhoff.com>
Mon, 5 Jul 2021 11:08:42 +0000 (13:08 +0200)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 5 Jul 2021 12:12:00 +0000 (12:12 +0000)
commit44ced03798d3af47577af3e7a865be33383766d0
tree022bfbba98da7158c9b7aa90e7ec136f93161235
parent1e0c441c922d92dae736f1b47df05373490045ae
OvmfPkg/Bhyve: use static PCI32Base address

It's neccessary to allocate a Graphics Stolen Memory area to enable
GPU-Passthrough for integrated Intel GPUs. Therefore, use a new
memory layout with a static Pci32Baseaddress.

Old layout:
[...        , lowmemlimit] RAM
[lowmemlimit, 0xE000 0000] PCI Space
New layout:
[...        , lowmemlimit] RAM
[lowmemlimit, gsmbase    ] Memory hole (may be absent)
[gsmbase    , 0xC000 0000] GSM (may be absent)
[0xC000 0000, 0xE000 0000] PCI Space

Reviewed-by: Peter Grehan <grehan@freebsd.org>
Acked-by: Rebecca Cran <rebecca@bsdio.com>
Signed-off-by: Corvin Köhne <c.koehne@beckhoff.com>
Message-Id: <20210705110842.14088-2-c.koehne@beckhoff.com>
OvmfPkg/Bhyve/BhyveX64.dsc
OvmfPkg/Bhyve/PlatformPei/Platform.c