mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-29 16:44:10 +02:00
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.li@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Min Xu <min.m.xu@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
parent
ed9a64af1b
commit
9389b9a208
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user