From fd9e9848ac8ebd349e1fe2c15a46c56566a106c7 Mon Sep 17 00:00:00 2001 From: Oliver Smith-Denny Date: Sun, 27 Oct 2024 09:01:07 -0700 Subject: OvmfPkg: Make ResetVector USER_DEFINED Following the change in UefiCpuPkg, this moves OvmfPkg's ResetVectors to USER_DEFINED modules to prevent any NULL libraries from being linked against them, allowing for expected behavior from the ResetVector and for simpler implementation of NULL libraries applied globally. Signed-off-by: Oliver Smith-Denny --- OvmfPkg/Bhyve/BhyveX64.fdf | 2 +- OvmfPkg/Bhyve/ResetVector/ResetVector.inf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'OvmfPkg/Bhyve') diff --git a/OvmfPkg/Bhyve/BhyveX64.fdf b/OvmfPkg/Bhyve/BhyveX64.fdf index 497c6753ce..0556815781 100644 --- a/OvmfPkg/Bhyve/BhyveX64.fdf +++ b/OvmfPkg/Bhyve/BhyveX64.fdf @@ -454,7 +454,7 @@ FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 { RAW ASL |.aml } -[Rule.Common.SEC.RESET_VECTOR] +[Rule.Common.USER_DEFINED.RESET_VECTOR] FILE RAW = $(NAMED_GUID) { RAW BIN Align = 16 |.bin } diff --git a/OvmfPkg/Bhyve/ResetVector/ResetVector.inf b/OvmfPkg/Bhyve/ResetVector/ResetVector.inf index 772dda5404..cd1cd18006 100644 --- a/OvmfPkg/Bhyve/ResetVector/ResetVector.inf +++ b/OvmfPkg/Bhyve/ResetVector/ResetVector.inf @@ -12,7 +12,7 @@ INF_VERSION = 1.29 BASE_NAME = ResetVector FILE_GUID = 1BA0062E-C779-4582-8566-336AE8F78F09 - MODULE_TYPE = SEC + MODULE_TYPE = USER_DEFINED VERSION_STRING = 1.1 # -- cgit v1.2.3