diff options
author | Shenglei Zhang <shenglei.zhang@intel.com> | 2019-01-25 15:52:46 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2019-02-14 15:38:44 +0800 |
commit | 9843305c145f320580f6720e1f1e7ea92e704431 (patch) | |
tree | 348e9277f37b5c64d792ef1321f6dc6524f3a716 /MdePkg | |
parent | 0fa92d5839cddeb63a7e4583fdbca49b16599e3a (diff) | |
download | edk2-9843305c145f320580f6720e1f1e7ea92e704431.tar.gz edk2-9843305c145f320580f6720e1f1e7ea92e704431.tar.bz2 edk2-9843305c145f320580f6720e1f1e7ea92e704431.zip |
MdePkg: Change function parameter type
Change type of parameter Opcode from UINT16 to UINTN
in EFI_S3_SAVE_STATE_WRITE and EFI_S3_SAVE_STATE_INSERT.
According to PI 1.6(Errata A), the type of Opcode in
EFI_S3_SAVE_STATE_WRITE and EFI_S3_SAVE_STATE_INSERT should
be UINTN not UINT16.
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>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'MdePkg')
-rw-r--r-- | MdePkg/Include/Protocol/S3SaveState.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/MdePkg/Include/Protocol/S3SaveState.h b/MdePkg/Include/Protocol/S3SaveState.h index 9e7b4050f6..7de08ce84d 100644 --- a/MdePkg/Include/Protocol/S3SaveState.h +++ b/MdePkg/Include/Protocol/S3SaveState.h @@ -1,11 +1,11 @@ /** @file
- S3 Save State Protocol as defined in PI1.2 Specification VOLUME 5 Standard.
+ S3 Save State Protocol as defined in PI 1.6(Errata A) Specification VOLUME 5 Standard.
This protocol is used by DXE PI module to store or record various IO operations
to be replayed during an S3 resume.
This protocol is not required for all platforms.
- Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2009 - 2019, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -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,
...
);
|