mirror of https://github.com/acidanthera/audk.git
OvmfPkg: Use PcdOvmfWorkAreaBase instead of PcdSevEsWorkAreaBase
It is an typo error that HobList pointer should be stored at PcdOvmfWorkAreaBase, not PcdSevEsWorkAreaBase. Cc: Erdem Aktas <erdemaktas@google.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: James Bottomley <jejb@linux.ibm.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: Min Xu <min.m.xu@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
This commit is contained in:
parent
6676162f64
commit
16d97fa601
|
@ -27,7 +27,7 @@ PrePeiGetHobList (
|
|||
{
|
||||
TDX_WORK_AREA *TdxWorkArea;
|
||||
|
||||
TdxWorkArea = (TDX_WORK_AREA *)(UINTN)FixedPcdGet32 (PcdSevEsWorkAreaBase);
|
||||
TdxWorkArea = (TDX_WORK_AREA *)(UINTN)FixedPcdGet32 (PcdOvmfWorkAreaBase);
|
||||
ASSERT (TdxWorkArea != NULL);
|
||||
ASSERT (TdxWorkArea->SecTdxWorkArea.HobList != 0);
|
||||
|
||||
|
@ -48,7 +48,7 @@ PrePeiSetHobList (
|
|||
{
|
||||
TDX_WORK_AREA *TdxWorkArea;
|
||||
|
||||
TdxWorkArea = (TDX_WORK_AREA *)(UINTN)FixedPcdGet32 (PcdSevEsWorkAreaBase);
|
||||
TdxWorkArea = (TDX_WORK_AREA *)(UINTN)FixedPcdGet32 (PcdOvmfWorkAreaBase);
|
||||
ASSERT (TdxWorkArea != NULL);
|
||||
|
||||
TdxWorkArea->SecTdxWorkArea.HobList = (UINTN)HobList;
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
UefiCpuPkg/UefiCpuPkg.dec
|
||||
|
||||
[Pcd]
|
||||
gUefiCpuPkgTokenSpaceGuid.PcdSevEsWorkAreaBase
|
||||
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfWorkAreaBase
|
||||
|
||||
[LibraryClasses]
|
||||
PcdLib
|
||||
|
|
Loading…
Reference in New Issue