From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: devel@edk2.groups.io, michael.a.kubacki@intel.com
Cc: Dandan Bi <dandan.bi@intel.com>,
Liming Gao <liming.gao@intel.com>,
Jian J Wang <jian.j.wang@intel.com>,
Hao A Wu <hao.a.wu@intel.com>
Subject: Re: [edk2-devel] [PATCH V2 2/2] MdeModulePkg PeiCore: Improve comment semantics
Date: Thu, 28 Nov 2019 14:06:15 +0100 [thread overview]
Message-ID: <d9c47ab8-4e77-bba8-e36a-dd79c7869ee0@redhat.com> (raw)
In-Reply-To: <20191127195747.3192-3-michael.a.kubacki@intel.com>
On 11/27/19 8:57 PM, Kubacki, Michael A via Groups.Io wrote:
> This patch clarifies wording in several PeiCore comments to improve
> reading comprehension.
>
> Cc: Dandan Bi <dandan.bi@intel.com>
> Cc: Liming Gao <liming.gao@intel.com>
> Cc: Jian J Wang <jian.j.wang@intel.com>
> Cc: Hao A Wu <hao.a.wu@intel.com>
> Signed-off-by: Michael Kubacki <michael.a.kubacki@intel.com>
> ---
> MdeModulePkg/Core/Pei/FwVol/FwVol.h | 9 ++++----
> MdeModulePkg/Core/Pei/PeiMain.h | 11 +++++----
> MdeModulePkg/Core/Pei/Dependency/Dependency.c | 4 ++--
> MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c | 4 ++--
> MdeModulePkg/Core/Pei/FwVol/FwVol.c | 24 +++++++++++---------
> MdeModulePkg/Core/Pei/Memory/MemoryServices.c | 4 ++--
> 6 files changed, 30 insertions(+), 26 deletions(-)
>
[...]
> diff --git a/MdeModulePkg/Core/Pei/Memory/MemoryServices.c b/MdeModulePkg/Core/Pei/Memory/MemoryServices.c
> index 838a003baa..e713e6811a 100644
> --- a/MdeModulePkg/Core/Pei/Memory/MemoryServices.c
> +++ b/MdeModulePkg/Core/Pei/Memory/MemoryServices.c
> @@ -759,7 +759,7 @@ PeiFreePages (
> /**
>
> Pool allocation service. Before permanent memory is discovered, the pool will
> - be allocated the heap in the temporary memory. Generally, the size of heap in temporary
> + be allocated in the heap in temporary memory. Generally, the size of the heap in temporary
> memory does not exceed to 64K, so the biggest pool size could be allocated is
"does not exceed 64K" here too?
> 64K.
>
> @@ -789,7 +789,7 @@ PeiAllocatePool (
> //
>
> //
> - // Generally, the size of heap in temporary memory does not exceed to 64K,
> + // Generally, the size of heap in temporary memory does not exceed 64K,
> // HobLength is multiples of 8 bytes, so the maximum size of pool is 0xFFF8 - sizeof (EFI_HOB_MEMORY_POOL)
> //
> if (Size > (0xFFF8 - sizeof (EFI_HOB_MEMORY_POOL))) {
>
next prev parent reply other threads:[~2019-11-28 13:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-27 19:57 [PATCH V2 0/2] MdeModulePkg PeiCore: Fix grammatical errors Kubacki, Michael A
2019-11-27 19:57 ` [PATCH V2 1/2] MdeModulePkg PeiCore: Fix typos Kubacki, Michael A
2019-11-28 13:02 ` [edk2-devel] " Philippe Mathieu-Daudé
2019-11-27 19:57 ` [PATCH V2 2/2] MdeModulePkg PeiCore: Improve comment semantics Kubacki, Michael A
2019-11-28 13:06 ` Philippe Mathieu-Daudé [this message]
2019-11-28 6:57 ` [PATCH V2 0/2] MdeModulePkg PeiCore: Fix grammatical errors Wang, Jian J
2019-12-11 6:38 ` 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=d9c47ab8-4e77-bba8-e36a-dd79c7869ee0@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