summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/AmdSev
diff options
context:
space:
mode:
authorOliver Smith-Denny <osde@microsoft.com>2024-10-27 09:01:07 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-11-13 21:01:46 +0000
commitfd9e9848ac8ebd349e1fe2c15a46c56566a106c7 (patch)
treee42bc39fb35238381386d05552dd604dcb584dd1 /OvmfPkg/AmdSev
parentf0390f7bf14c1f5fe1205dc12185896150c70756 (diff)
downloadedk2-fd9e9848ac8ebd349e1fe2c15a46c56566a106c7.tar.gz
edk2-fd9e9848ac8ebd349e1fe2c15a46c56566a106c7.tar.bz2
edk2-fd9e9848ac8ebd349e1fe2c15a46c56566a106c7.zip
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 <osde@linux.microsoft.com>
Diffstat (limited to 'OvmfPkg/AmdSev')
-rw-r--r--OvmfPkg/AmdSev/AmdSevX64.fdf2
1 files changed, 1 insertions, 1 deletions
diff --git a/OvmfPkg/AmdSev/AmdSevX64.fdf b/OvmfPkg/AmdSev/AmdSevX64.fdf
index 70e6434b09..42178701fc 100644
--- a/OvmfPkg/AmdSev/AmdSevX64.fdf
+++ b/OvmfPkg/AmdSev/AmdSevX64.fdf
@@ -436,7 +436,7 @@ FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
}
-[Rule.Common.SEC.RESET_VECTOR]
+[Rule.Common.USER_DEFINED.RESET_VECTOR]
FILE RAW = $(NAMED_GUID) {
RAW BIN Align = 16 |.bin
}