On November 3, 2021 2:57 PM, Gerd Hoffmann wrote:
> > +++ b/MdeModulePkg/Core/DxeIplPeim/X64/DxeIplTdVmcall.nasm
> > @@ -0,0 +1,146 @@
> > +;------------------------------------------------------------------------------
> > +;*
> > +;* Copyright (c) 2020 - 2021, Intel Corporation. All rights reserved.<BR>
> > +;* SPDX-License-Identifier: BSD-2-Clause-Patent
> > +;*
> > +;*
> > +;------------------------------------------------------------------------------
> > +
> > +DEFAULT REL
> > +SECTION .text
> > +
> > +%define TDVMCALL_EXPOSE_REGS_MASK       0xffec
> > +%define TDVMCALL                        0x0
> > +%define EXIT_REASON_CPUID               0xa
> > +
> > +%macro tdcall 0
> > +    db 0x66,0x0f,0x01,0xcc
> > +%endmacro
> 
> Again, shouldn't this just call TdxLib instead of having its own copy?
> 
Sure. It will be updated in the next version.

Thanks
Min


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#83324): https://edk2.groups.io/g/devel/message/83324
Mute This Topic: https://groups.io/mt/86739887/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to