public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Gao, Liming" <liming.gao@intel.com>
To: "Zhang, Shenglei" <shenglei.zhang@intel.com>,
	"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Cc: "Kinney, Michael D" <michael.d.kinney@intel.com>
Subject: Re: [PATCH 1/3] MdePkg: Change structure parameter types
Date: Thu, 14 Feb 2019 00:06:26 +0000	[thread overview]
Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E3DDA68@SHSMSX104.ccr.corp.intel.com> (raw)
In-Reply-To: <20190213065137.11296-2-shenglei.zhang@intel.com>

The change is good. Please update header comments to describe the change in PI 1.7. 

With this change, Reviewed-by: Liming Gao <liming.gao@intel.com>

>-----Original Message-----
>From: Zhang, Shenglei
>Sent: Wednesday, February 13, 2019 2:52 PM
>To: edk2-devel@lists.01.org
>Cc: Kinney, Michael D <michael.d.kinney@intel.com>; Gao, Liming
><liming.gao@intel.com>
>Subject: [PATCH 1/3] MdePkg: Change structure parameter types
>
>Change parameter Opcode from UINT16 to UINTN
>in EFI_S3_SAVE_STATE_WRITE and EFI_S3_SAVE_STATE_INSERT.
>https://bugzilla.tianocore.org/show_bug.cgi?id=1517
>
>Cc: Michael D Kinney <michael.d.kinney@intel.com>
>Cc: Liming Gao <liming.gao@intel.com>
>Contributed-under: TianoCore Contribution Agreement 1.1
>Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com>
>---
> MdePkg/Include/Protocol/S3SaveState.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
>diff --git a/MdePkg/Include/Protocol/S3SaveState.h
>b/MdePkg/Include/Protocol/S3SaveState.h
>index 9e7b4050f6..1563527148 100644
>--- a/MdePkg/Include/Protocol/S3SaveState.h
>+++ b/MdePkg/Include/Protocol/S3SaveState.h
>@@ -52,7 +52,7 @@ typedef
> EFI_STATUS
> (EFIAPI *EFI_S3_SAVE_STATE_WRITE)(
>    IN CONST EFI_S3_SAVE_STATE_PROTOCOL  *This,
>-   IN       UINT16                      OpCode,
>+   IN       UINTN                       OpCode,
>    ...
> );
>
>@@ -98,7 +98,7 @@ EFI_STATUS
>    IN CONST EFI_S3_SAVE_STATE_PROTOCOL  *This,
>    IN       BOOLEAN                     BeforeOrAfter,
>    IN OUT   EFI_S3_BOOT_SCRIPT_POSITION *Position       OPTIONAL,
>-   IN       UINT16                      OpCode,
>+   IN       UINTN                       OpCode,
>    ...
> );
>
>--
>2.18.0.windows.1



  reply	other threads:[~2019-02-14  0:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-13  6:51 [PATCH 0/3] Change parameters' type in MdePkg and MdeModulePkg Shenglei Zhang
2019-02-13  6:51 ` [PATCH 1/3] MdePkg: Change structure parameter types Shenglei Zhang
2019-02-14  0:06   ` Gao, Liming [this message]
2019-02-13  6:51 ` [PATCH 2/3] MdeModulePkg/S3SaveStateDxe: Change function " Shenglei Zhang
2019-02-14  0:06   ` Gao, Liming
2019-02-13  6:51 ` [PATCH 3/3] MdeModulePkg/SmmS3SaveStateDxe: " Shenglei Zhang
2019-02-14  0:06   ` Gao, Liming

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=4A89E2EF3DFEDB4C8BFDE51014F606A14E3DDA68@SHSMSX104.ccr.corp.intel.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