[edk2-devel] [PATCH V2 03/10] OvmfPkg: Add TdxWorkArea definition
Gerd Hoffmann
kraxel at redhat.com
Fri Jan 28 10:21:30 UTC 2022
Hi,
> > > +typedef struct _TDX_WORK_AREA {
> > > + CONFIDENTIAL_COMPUTING_WORK_AREA_HEADER Header;
> > > + SEC_TDX_WORK_AREA SecTdxWorkArea;
> > > +} TDX_WORK_AREA;
> > > +
> > > typedef union {
> > > CONFIDENTIAL_COMPUTING_WORK_AREA_HEADER Header;
> > > SEV_WORK_AREA SevWorkArea;
> > > + TDX_WORK_AREA TdxWorkArea;
> > > } OVMF_WORK_AREA;
> >
> > Now you have the CONFIDENTIAL_COMPUTING_WORK_AREA_HEADER
> > twice ...
> OVMF_WORK_AREA is an union. TDX_WORK_AREA is a struct. So there is one CONFIDENTIAL_COMPUTING_WORK_AREA_HEADER.
Ah, right. Scratch the comment then.
Acked-by: Gerd Hoffmann <kraxel at redhat.com>
take care,
Gerd
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#86150): https://edk2.groups.io/g/devel/message/86150
Mute This Topic: https://groups.io/mt/88666801/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list