mirror of https://github.com/acidanthera/audk.git
MdeModulePkg/S3SaveStateDxe: Change function parameter types
Change parameter Opcode from UINT16 to UINTN in BootScriptWrite and BootScriptInsert. https://bugzilla.tianocore.org/show_bug.cgi?id=1517 Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Hao Wu <hao.a.wu@intel.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Star Zeng <star.zeng@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
9843305c14
commit
5bdcfe3385
|
@ -75,7 +75,7 @@ EFI_STATUS
|
|||
EFIAPI
|
||||
BootScriptWrite (
|
||||
IN CONST EFI_S3_SAVE_STATE_PROTOCOL *This,
|
||||
IN UINT16 OpCode,
|
||||
IN UINTN OpCode,
|
||||
...
|
||||
);
|
||||
/**
|
||||
|
@ -112,7 +112,7 @@ BootScriptInsert (
|
|||
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,
|
||||
...
|
||||
);
|
||||
/**
|
||||
|
|
|
@ -542,7 +542,7 @@ EFI_STATUS
|
|||
EFIAPI
|
||||
BootScriptWrite (
|
||||
IN CONST EFI_S3_SAVE_STATE_PROTOCOL *This,
|
||||
IN UINT16 OpCode,
|
||||
IN UINTN OpCode,
|
||||
...
|
||||
)
|
||||
{
|
||||
|
@ -697,7 +697,7 @@ BootScriptInsert (
|
|||
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