audk/OvmfPkg/Bhyve
Rebecca Cran 73b604bb1e OvmfPkg/Bhyve: Copy Real16ToFlat32.asm and enable cache in CR0
Copy UefiCpuPkg/ResetVector/Vtf0/Ia16/Real16ToFlat32.asm to
OvmfPkg/Bhyve/ResetVector/Ia16, with one change, as has also been
made in XenResetVector:

  - SEC_DEFAULT_CR0: enable cache (bit 30 or CD set to 0)

With the CD bit set to 1, this has the downside on AMD systems of
actually running with the cache disabled, which slows the entire system
to a crawl.
There's no need for this bit to be set in virtualized
environments.

This patch reapplies the change from the freebsd uefi-edk2 repo at
08c00f4e8d

Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
Reviewed-by: Peter Grehan <grehan@freebsd.org>
Acked-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20201124005733.18107-4-rebecca@bsdio.com>
2020-11-27 16:48:47 +00:00
..
AcpiPlatformDxe OvmfPkg: fix DEC spec violation introduced by Bhyve addition 2020-08-01 20:38:55 +00:00
AcpiTables OvmfPkg: fix DEC spec violation introduced by Bhyve addition 2020-08-01 20:38:55 +00:00
BhyveRfbDxe OvmfPkg: Fix spelling mistake for occurred 2020-08-19 00:54:23 +00:00
PlatformPei OvmfPkg/Bhyve: Add support for the AMD host bridge 2020-11-27 16:48:47 +00:00
ResetVector OvmfPkg/Bhyve: Copy Real16ToFlat32.asm and enable cache in CR0 2020-11-27 16:48:47 +00:00
SmbiosPlatformDxe
BhyveDefines.fdf.inc OvmfPkg/Bhyve: rename files to remove 'Pkg' infix 2020-08-24 17:57:07 +00:00
BhyveX64.dsc OvmfPkg/Bhyve: Add VariablePolicy engine to Bhyve 2020-11-27 16:48:47 +00:00
BhyveX64.fdf OvmfPkg/Bhyve: fix build breakage after SEV-ES changes 2020-11-13 23:16:39 +00:00
FvmainCompactScratchEnd.fdf.inc
License.txt
VarStore.fdf.inc