public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "gaoliming" <gaoliming@byosoft.com.cn>
To: <devel@edk2.groups.io>, <roger.hsu@hpe.com>
Cc: "'Michael D Kinney'" <michael.d.kinney@intel.com>,
	"'Zhiguang Liu'" <zhiguang.liu@intel.com>,
	"'Abner Chang'" <abner.chang@hpe.com>
Subject: 回复: [edk2-devel] [PATCH 1/2] MdePkg/Include: Update SMBIOS type 0
Date: Mon, 25 Apr 2022 09:05:31 +0800	[thread overview]
Message-ID: <011001d85840$8fe3eca0$afabc5e0$@byosoft.com.cn> (raw)
In-Reply-To: <20220422065525.1364-1-roger.hsu@hpe.com>

Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>

> -----邮件原件-----
> 发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Hsu, Roger
> 发送时间: 2022年4月22日 14:55
> 收件人: devel@edk2.groups.io
> 抄送: Michael D Kinney <michael.d.kinney@intel.com>; Liming Gao
> <gaoliming@byosoft.com.cn>; Zhiguang Liu <zhiguang.liu@intel.com>; Abner
> Chang <abner.chang@hpe.com>
> 主题: [edk2-devel] [PATCH 1/2] MdePkg/Include: Update SMBIOS type 0
> 
> Update SMBIOS type 0 to support BIOS extended size.
> 
> Signed-off-by: Roger Hsu <roger.hsu@hpe.com>
> Cc: Michael D Kinney <michael.d.kinney@intel.com>
> Cc: Liming Gao <gaoliming@byosoft.com.cn>
> Cc: Zhiguang Liu <zhiguang.liu@intel.com>
> Cc: Abner Chang <abner.chang@hpe.com>
> ---
>  MdePkg/Include/IndustryStandard/SmBios.h | 13 ++++++++++++-
>  1 file changed, 12 insertions(+), 1 deletion(-)
> 
> 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 @@
> 
> 
>  Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.<BR>
> 
>  (C) Copyright 2015-2017 Hewlett Packard Enterprise Development LP<BR>
> 
> -(C) Copyright 2015 - 2019 Hewlett Packard Enterprise Development LP<BR>
> 
> +(C) Copyright 2015 - 2022 Hewlett Packard Enterprise Development LP<BR>
> 
>  SPDX-License-Identifier: BSD-2-Clause-Patent
> 
> 
> 
>  **/
> 
> @@ -293,6 +293,17 @@ typedef struct {
>    EXTENDED_BIOS_ROM_SIZE       ExtendedBiosSize;
> 
>  } SMBIOS_TABLE_TYPE0;
> 
> 
> 
> +///
> 
> +/// Extended BIOS ROM Size is added from SMBIOS 3.1. Add support to store
> different
> 
> +/// storage capacity unit (megabytes, gigabytes)
> 
> +///
> 
> +#define EXCEED_BIOS_ROM_SIZE 0xFF
> 
> +#define BIOS_ROM_SIZE_IN_GIGABYTES 1
> 
> +#define BIOS_ROM_SIZE_IN_MEGABYTES 0
> 
> +#define BYTES_IN_GIGABYTES (1024*1024*1024)
> 
> +#define BYTES_IN_MEGABYTES (1024*1024)
> 
> +#define BYTES_IN_KILOBYTES 1024
> 
> +
> 
>  ///
> 
>  ///  System Wake-up Type.
> 
>  ///
> 
> --
> 2.28.0.windows.1
> 
> 
> 
> -=-=-=-=-=-=
> 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]
> -=-=-=-=-=-=
> 




      reply	other threads:[~2022-04-25  1:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-22  6:55 [PATCH 1/2] MdePkg/Include: Update SMBIOS type 0 Hsu, Roger
2022-04-25  1:05 ` gaoliming [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='011001d85840$8fe3eca0$afabc5e0$@byosoft.com.cn' \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox