From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ma1-aaemail-dr-lapp02.apple.com (ma1-aaemail-dr-lapp02.apple.com [17.171.2.68]) by mx.groups.io with SMTP id smtpd.web12.1544.1571673214023726379 for ; Mon, 21 Oct 2019 08:53:34 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@apple.com header.s=20180706 header.b=B42rgED7; spf=pass (domain: apple.com, ip: 17.171.2.68, mailfrom: afish@apple.com) Received: from pps.filterd (ma1-aaemail-dr-lapp02.apple.com [127.0.0.1]) by ma1-aaemail-dr-lapp02.apple.com (8.16.0.27/8.16.0.27) with SMTP id x9LFqHG7038964; Mon, 21 Oct 2019 08:53:32 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apple.com; h=sender : from : content-type : mime-version : subject : date : references : to : in-reply-to : message-id; s=20180706; bh=23Lz5/0q5Zf2c48TApZ/+QsgEPmcu+6tcj85B0xcyME=; b=B42rgED72aXlrxL7otsUyRfpUOT8qIwNswW7bGr8Vfkqo62t9bRwJ3LMVGRoi9XBmAhF V73LHRm/yxlBNJzd2rHDLH31rjXkxuCbFndO0M8phkCpkt2ls/Mmvv3VRHeR8mM1l1oQ ESuF477Rnn8sGEBCt6AnbPAbvQIPt5tdNBjm+bqQlaVxId6f7kAtcZrzkxtMPQwZQSpP fAKUGWtiD2z60h0lEdYj6R0ID09OVW19tBle5EWC8eQSjU6N+EC/2jjl290sCIu2KOJd MhlD4WCVTchJbIrUppFyUjX42QGhlQrjyX2GZkwCGjVxD1IYuryJhrGGJFlAS9d5Ru2K 8g== Received: from mr2-mtap-s02.rno.apple.com (mr2-mtap-s02.rno.apple.com [17.179.226.134]) by ma1-aaemail-dr-lapp02.apple.com with ESMTP id 2vqy5rwj07-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Mon, 21 Oct 2019 08:53:32 -0700 Received: from nwk-mmpp-sz13.apple.com (nwk-mmpp-sz13.apple.com [17.128.115.216]) by mr2-mtap-s02.rno.apple.com (Oracle Communications Messaging Server 8.0.2.4.20190507 64bit (built May 7 2019)) with ESMTPS id <0PZQ00EIMET7UM40@mr2-mtap-s02.rno.apple.com>; Mon, 21 Oct 2019 08:53:31 -0700 (PDT) Received: from process_milters-daemon.nwk-mmpp-sz13.apple.com by nwk-mmpp-sz13.apple.com (Oracle Communications Messaging Server 8.0.2.4.20190507 64bit (built May 7 2019)) id <0PZQ00400EP1JD00@nwk-mmpp-sz13.apple.com>; Mon, 21 Oct 2019 08:53:31 -0700 (PDT) X-Va-A: X-Va-T-CD: ba2bd5d2198fea05ae885330048073aa X-Va-E-CD: 1bfbb3a15f2f048a42d2a8170b23bebd X-Va-R-CD: ab4333c96d9b7a7407833ec9539bc435 X-Va-CD: 0 X-Va-ID: 240bc14f-1662-4d5a-8617-9252b0449439 X-V-A: X-V-T-CD: ba2bd5d2198fea05ae885330048073aa X-V-E-CD: 1bfbb3a15f2f048a42d2a8170b23bebd X-V-R-CD: ab4333c96d9b7a7407833ec9539bc435 X-V-CD: 0 X-V-ID: 8c2b987c-1d27-49e8-811f-5d63ef61b849 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-10-21_04:,, signatures=0 Received: from [17.235.59.52] (unknown [17.235.59.52]) by nwk-mmpp-sz13.apple.com (Oracle Communications Messaging Server 8.0.2.4.20190507 64bit (built May 7 2019)) with ESMTPSA id <0PZQ00KVXET51F30@nwk-mmpp-sz13.apple.com>; Mon, 21 Oct 2019 08:53:30 -0700 (PDT) Sender: afish@apple.com From: "Andrew Fish" MIME-version: 1.0 (Mac OS X Mail 13.0 \(3594.4.17\)) Subject: Re: [edk2-devel] EDK2 UEFI Specification and Revision Date: Mon, 21 Oct 2019 08:53:29 -0700 References: <27874.1571645731992408464@groups.io> To: devel@edk2.groups.io, sergestus@yandex.ru In-reply-to: <27874.1571645731992408464@groups.io> Message-id: <780E0660-7D49-412B-B535-2491D8C408D9@apple.com> X-Mailer: Apple Mail (2.3594.4.17) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-10-21_04:,, signatures=0 Content-type: multipart/alternative; boundary="Apple-Mail=_C3CE4F0B-56CE-4F4C-AD34-CE101BAE484A" --Apple-Mail=_C3CE4F0B-56CE-4F4C-AD34-CE101BAE484A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii The header in the EFI_SYSTEM_TABLE (gST) carries the UEFI Specification ve= rsion. It is filled in by the DXE Core when it produces the EFI System Tabl= e.=20 $ git grep EFI_SYSTEM_TABLE_REVISION MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c:126: EFI_SYSTEM_TABLE_REVISION,= // Revision MdeModulePkg/Universal/SetupBrowserDxe/Setup.h:74:#define EFI_IFR_SPECIFIC= ATION_VERSION (UINT16) (((EFI_SYSTEM_TABLE_REVISION >> 16) << 8) | (((EFI_= SYSTEM_TABLE_REVISION & 0xFFFF) / 10) << 4) | ((EFI_SYSTEM_TABLE_REVISION &= 0xFFFF) % 10)) MdePkg/Include/Uefi/UefiSpec.h:1780:#define EFI_SYSTEM_TABLE_REVISION = EFI_2_70_SYSTEM_TABLE_REVISION MdePkg/Include/Uefi/UefiSpec.h:1781:#define EFI_SPECIFICATION_VERSION = EFI_SYSTEM_TABLE_REVISION $ git grep EFI_2_70_SYSTEM_TABLE_REVISION MdePkg/Include/Uefi/UefiSpec.h:1769:#define EFI_2_70_SYSTEM_TABLE_REVISION= ((2 << 16) | (70)) MdePkg/Include/Uefi/UefiSpec.h:1780:#define EFI_SYSTEM_TABLE_REVISION = EFI_2_70_SYSTEM_TABLE_REVISION Thanks, Andrew Fish > On Oct 21, 2019, at 1:15 AM, sergestus@yandex.ru wrote: >=20 > When runs "ver" command in EFI Shell command line it shows UEFI specific= ation and revision. The question is how to find out what UEFI specification= and revision does EDK2 support? >=20 --Apple-Mail=_C3CE4F0B-56CE-4F4C-AD34-CE101BAE484A Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
The header in the EFI_SYSTEM_TABLE (gST)=  carries the UEFI Specification version. It is filled in by the DXE C= ore when it produces the EFI System Table. 

<= /span>
$&n= bsp;git grep EFI_SYSTEM_TA= BLE_REVISION
MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c:126:    EFI_SYSTEM_TABLE_REVISION,          =                      = ;             // Revision
MdeModulePkg/Universa= l/SetupBrowserDxe/Setup.h:74:#d= efine EFI_IFR_SPECIFICATION_VERSION  (UINT16) (((EFI_SYSTEM_TABLE_REVISION >> 16) << 8) | (((= EFI_SYSTEM_TABLE_REVISION & 0xF= FFF) / 10) << 4) | ((EFI_SYSTEM_TABL= E_REVISION & 0xFFFF) % 10))
MdePkg/Include/Uefi/UefiSpec.h<= span style=3D"font-variant-ligatures: no-common-ligatures; color: #38b9c7" = class=3D"">:1780:#define EFI_SYSTEM_TABLE_REVISION       EFI_2_70_SYST= EM_TABLE_REVISION
MdePkg/Include/Uefi/UefiSpec.h:1781:#define EFI_SPECIFICATION_VERSION      = EFI_SYSTEM_TABLE_REVISION

git grep EFI_2_70_SYSTEM_TABLE_REVISION
= MdeP= kg/Include/Uefi/UefiSpec.h:1769:#define EFI_2_70_SYSTEM_TABLE_REVISION  ((2 << 16) | (70))
MdePkg/Include/Uefi/UefiSpec.h<= span style=3D"font-variant-ligatures: no-common-ligatures; color: #38b9c7" = class=3D"">:1780:#define EFI_SYSTEM_TABLE_REVISION=       EFI_2_70_SYSTEM_TABL= E_REVISION

Thanks,

Andrew Fish

On Oct 21, 2019, at 1:15 AM, sergestus@yandex.ru wrote:

When runs "ver" command in = EFI Shell command line it shows UEFI specification and revision. The questi= on is how to find out what UEFI specification and revision does EDK2 suppor= t?

--Apple-Mail=_C3CE4F0B-56CE-4F4C-AD34-CE101BAE484A--