From: "Laszlo Ersek" <lersek@redhat.com>
To: devel@edk2.groups.io, zhichao.gao@intel.com
Cc: Michael D Kinney <michael.d.kinney@intel.com>,
Liming Gao <liming.gao@intel.com>
Subject: Re: [edk2-devel] [PATCH v4 15/15] MdePkg/UefiRuntimeLib: Change the comment
Date: Mon, 12 Aug 2019 16:01:37 +0200 [thread overview]
Message-ID: <7d3e6732-0b39-3c61-ed8e-f6953cc3445f@redhat.com> (raw)
In-Reply-To: <20190812030758.10324-16-zhichao.gao@intel.com>
Hi,
On 08/12/19 05:07, Gao, Zhichao wrote:
> Change the comment of EfiResetSystem base on the
> UEFI spec 2.8
>
> Cc: Michael D Kinney <michael.d.kinney@intel.com>
> Cc: Liming Gao <liming.gao@intel.com>
> Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
> ---
> MdePkg/Library/UefiRuntimeLib/RuntimeLib.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/MdePkg/Library/UefiRuntimeLib/RuntimeLib.c b/MdePkg/Library/UefiRuntimeLib/RuntimeLib.c
> index 933e0099ceed..28cbf493b665 100644
> --- a/MdePkg/Library/UefiRuntimeLib/RuntimeLib.c
> +++ b/MdePkg/Library/UefiRuntimeLib/RuntimeLib.c
> @@ -218,10 +218,10 @@ EfiGoneVirtual (
> @param DataSizeThe size, in bytes, of ResetData.
> @param ResetData For a ResetType of EfiResetCold, EfiResetWarm, or EfiResetShutdown the data buffer starts with a
> Null-terminated Unicode string, optionally followed by additional binary data. The string is a
> - description that the caller may use to further indicate the reason for the system reset. ResetData
> - is only valid if ResetStatus is something other then EFI_SUCCESS. This pointer must be a physical
> - address. For a ResetType of EfiRestUpdate the data buffer also starts with a Null-terminated string
> - that is followed by a physical VOID * to an EFI_CAPSULE_HEADER.
> + description that the caller may use to further indicate the reason for the system reset. This
> + pointer must be a physical address. For a ResetType of EfiResetPlatformSpecific the data buffer
> + also starts with a Null-terminated string that is followed by an EFI_GUID that describes the
> + specific type of reset to perform.
>
> **/
> VOID
>
given that UefiRuntimeLib is a single-instance library class -- that is,
my understanding is that we never plan to introduce a different instance
for this class --, I would suggest fusing the following two patches into
one:
- [PATCH v4 14/15] MdePkg/UefiRuntimeLib.h: Change the comment
- [PATCH v4 15/15] MdePkg/UefiRuntimeLib: Change the comment
Also, can we please use a better (more specific) subject line?
Obviously I'm not an MdePkg maintainer (or even reviewer), so I defer to
Liming and Mike.
Thanks
Laszlo
next prev parent reply other threads:[~2019-08-12 14:01 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-12 3:07 [PATCH v4 00/15] MdeModulePkg: Transfer reset data Gao, Zhichao
2019-08-12 3:07 ` [PATCH v4 01/15] MdeModulePkg: Add guids for capsule update Gao, Zhichao
2019-08-12 3:07 ` [PATCH v4 02/15] MdeModulePkg: Add ResetUtilityLib to dsc file Gao, Zhichao
2019-08-12 3:07 ` [PATCH v4 03/15] ArmVirtPkg/ArmVirtQemu.dsc: " Gao, Zhichao
2019-08-12 13:49 ` Laszlo Ersek
2019-08-12 13:54 ` Laszlo Ersek
2019-08-12 3:07 ` [PATCH v4 04/15] ArmVritPkg/ArmVirtQemuKernel.dsc: " Gao, Zhichao
2019-08-12 3:07 ` [PATCH v4 05/15] ArmVirtPkg/ArmVirtXen.dsc: " Gao, Zhichao
2019-08-12 3:07 ` [PATCH v4 06/15] EmulatorPkg/EmulatorPkg.dsc: " Gao, Zhichao
2019-08-12 3:07 ` [PATCH v4 07/15] OvmfPkg/OvmfPkgIa32.dsc: " Gao, Zhichao
2019-08-12 3:07 ` [PATCH v4 08/15] OvmfPkg/OvmfPkgIa32X64.dsc: " Gao, Zhichao
2019-08-12 13:56 ` Laszlo Ersek
2019-08-12 3:07 ` [PATCH v4 09/15] OvmfPkg/OvmfPkgX64.dsc: " Gao, Zhichao
2019-08-12 3:07 ` [PATCH v4 10/15] UefiPayloadPkg/UefiPayloadPkgIa32.dsc: " Gao, Zhichao
2019-08-12 15:27 ` Guo Dong
2019-08-12 3:07 ` [PATCH v4 11/15] UefiPayloadPkg: Add ResetUtilityLib to UefiPayloadPkgIa32X64.dsc Gao, Zhichao
2019-08-12 15:28 ` Guo Dong
2019-08-12 3:07 ` [PATCH v4 12/15] MdeModulePkg/CapsuleRuntimeDxe: Transfer reset data Gao, Zhichao
2019-08-12 3:07 ` [PATCH v4 13/15] MdeModulePkg/CapsuleLib: " Gao, Zhichao
2019-08-12 3:07 ` [PATCH v4 14/15] MdePkg/UefiRuntimeLib.h: Change the comment Gao, Zhichao
2019-08-12 3:07 ` [PATCH v4 15/15] MdePkg/UefiRuntimeLib: " Gao, Zhichao
2019-08-12 14:01 ` Laszlo Ersek [this message]
2019-08-12 5:10 ` [edk2-devel] [PATCH v4 00/15] MdeModulePkg: Transfer reset data Liming Gao
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=7d3e6732-0b39-3c61-ed8e-f6953cc3445f@redhat.com \
--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