Is there Pull Request for this patch? > -----邮件原件----- > 发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Xiaoyao Li > 发送时间: 2024年6月27日 9:27 > 收件人: devel@edk2.groups.io > 抄送: xiaoyao...@intel.com > 主题: [edk2-devel] [PATCH] MdePkg/Tdx.h: Fix the order of NumVcpus and > MaxVcpus > > For TDCALL leaf TDG.VP.INFO, the bit 31:0 in R8 returns NUM_VCPUS and > bit 63:32 in R8 returns MAX_VCPUS. Current struct > TDCALL_INFO_RETURN_DATA defines them in wrong order. > > Signed-off-by: Xiaoyao Li <xiaoyao...@intel.com> > Cc: Jiewen Yao <jiewen....@intel.com> > Cc: Min Xu <min.m...@intel.com> > Cc: Gerd Hoffmann <kra...@redhat.com> > Cc: Laszlo Ersek <ler...@redhat.com> > --- > MdePkg/Include/IndustryStandard/Tdx.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/MdePkg/Include/IndustryStandard/Tdx.h > b/MdePkg/Include/IndustryStandard/Tdx.h > index 2662761883e5..17f1e8f4146a 100644 > --- a/MdePkg/Include/IndustryStandard/Tdx.h > +++ b/MdePkg/Include/IndustryStandard/Tdx.h > @@ -113,8 +113,8 @@ typedef struct { > typedef struct { > > UINT64 Gpaw; > > UINT64 Attributes; > > - UINT32 MaxVcpus; > > UINT32 NumVcpus; > > + UINT32 MaxVcpus; > > UINT64 Resv[3]; > > } TDCALL_INFO_RETURN_DATA; > > > > -- > 2.34.1 > > > > -=-=-=-=-=-= > Groups.io Links: You receive all messages sent to this group. > View/Reply Online (#119726): https://edk2.groups.io/g/devel/message/119726 > Mute This Topic: https://groups.io/mt/106918890/4905953 > Group Owner: devel+ow...@edk2.groups.io > Unsubscribe: https://edk2.groups.io/g/devel/unsub > [gaolim...@byosoft.com.cn] > -=-=-=-=-=-= >
-=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119767): https://edk2.groups.io/g/devel/message/119767 Mute This Topic: https://groups.io/mt/107012181/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-