mirror of https://github.com/acidanthera/audk.git
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>
This commit is contained in:
parent
0fa92d5839
commit
9843305c14
|
@ -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,
|
||||
...
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue