From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by mx.groups.io with SMTP id smtpd.web08.24323.1650848735153054689 for ; Sun, 24 Apr 2022 18:05:35 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: byosoft.com.cn, ip: 58.240.74.242, mailfrom: gaoliming@byosoft.com.cn) Received: from DESKTOPS6D0PVI ([101.224.116.119]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Mon, 25 Apr 2022 09:05:31 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-Originating-IP: 101.224.116.119 X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming" To: , Cc: "'Michael D Kinney'" , "'Zhiguang Liu'" , "'Abner Chang'" References: <20220422065525.1364-1-roger.hsu@hpe.com> In-Reply-To: <20220422065525.1364-1-roger.hsu@hpe.com> Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gW1BBVENIIDEvMl0gTWRlUGtnL0luY2x1ZGU6IFVwZGF0ZSBTTUJJT1MgdHlwZSAw?= Date: Mon, 25 Apr 2022 09:05:31 +0800 Message-ID: <011001d85840$8fe3eca0$afabc5e0$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQIM2yUUCraj7QD3QLZbzSrb1bJD5qyWytEQ Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn Reviewed-by: Liming Gao > -----=D3=CA=BC=FE=D4=AD=BC=FE----- > =B7=A2=BC=FE=C8=CB: devel@edk2.groups.io = =B4=FA=B1=ED Hsu, Roger > =B7=A2=CB=CD=CA=B1=BC=E4: 2022=C4=EA4=D4=C222=C8=D5 14:55 > =CA=D5=BC=FE=C8=CB: devel@edk2.groups.io > =B3=AD=CB=CD: Michael D Kinney ; Liming = Gao > ; Zhiguang Liu ; = Abner > Chang > =D6=F7=CC=E2: [edk2-devel] [PATCH 1/2] MdePkg/Include: Update SMBIOS = type 0 >=20 > Update SMBIOS type 0 to support BIOS extended size. >=20 > Signed-off-by: Roger Hsu > Cc: Michael D Kinney > Cc: Liming Gao > Cc: Zhiguang Liu > Cc: Abner Chang > --- > MdePkg/Include/IndustryStandard/SmBios.h | 13 ++++++++++++- > 1 file changed, 12 insertions(+), 1 deletion(-) >=20 > diff --git a/MdePkg/Include/IndustryStandard/SmBios.h > b/MdePkg/Include/IndustryStandard/SmBios.h > index 828ea6d753..baa0fc96b8 100644 > --- a/MdePkg/Include/IndustryStandard/SmBios.h > +++ b/MdePkg/Include/IndustryStandard/SmBios.h > @@ -3,7 +3,7 @@ >=20 >=20 > Copyright (c) 2006 - 2021, Intel Corporation. All rights = reserved.
>=20 > (C) Copyright 2015-2017 Hewlett Packard Enterprise Development LP
>=20 > -(C) Copyright 2015 - 2019 Hewlett Packard Enterprise Development = LP
>=20 > +(C) Copyright 2015 - 2022 Hewlett Packard Enterprise Development = LP
>=20 > SPDX-License-Identifier: BSD-2-Clause-Patent >=20 >=20 >=20 > **/ >=20 > @@ -293,6 +293,17 @@ typedef struct { > EXTENDED_BIOS_ROM_SIZE ExtendedBiosSize; >=20 > } SMBIOS_TABLE_TYPE0; >=20 >=20 >=20 > +/// >=20 > +/// Extended BIOS ROM Size is added from SMBIOS 3.1. Add support to = store > different >=20 > +/// storage capacity unit (megabytes, gigabytes) >=20 > +/// >=20 > +#define EXCEED_BIOS_ROM_SIZE 0xFF >=20 > +#define BIOS_ROM_SIZE_IN_GIGABYTES 1 >=20 > +#define BIOS_ROM_SIZE_IN_MEGABYTES 0 >=20 > +#define BYTES_IN_GIGABYTES (1024*1024*1024) >=20 > +#define BYTES_IN_MEGABYTES (1024*1024) >=20 > +#define BYTES_IN_KILOBYTES 1024 >=20 > + >=20 > /// >=20 > /// System Wake-up Type. >=20 > /// >=20 > -- > 2.28.0.windows.1 >=20 >=20 >=20 > -=3D-=3D-=3D-=3D-=3D-=3D > Groups.io Links: You receive all messages sent to this group. > View/Reply Online (#89231): = https://edk2.groups.io/g/devel/message/89231 > Mute This Topic: https://groups.io/mt/90628976/4905953 > Group Owner: devel+owner@edk2.groups.io > Unsubscribe: https://edk2.groups.io/g/devel/unsub > [gaoliming@byosoft.com.cn] > -=3D-=3D-=3D-=3D-=3D-=3D >=20