mirror of https://github.com/acidanthera/audk.git
MdeModulePkg/SmmS3SaveStateDxe: 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
5bdcfe3385
commit
69544d224e
|
@ -58,7 +58,7 @@ EFI_STATUS
|
|||
EFIAPI
|
||||
BootScriptWrite (
|
||||
IN CONST EFI_S3_SAVE_STATE_PROTOCOL *This,
|
||||
IN UINT16 OpCode,
|
||||
IN UINTN OpCode,
|
||||
...
|
||||
);
|
||||
/**
|
||||
|
@ -95,7 +95,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,
|
||||
...
|
||||
);
|
||||
/**
|
||||
|
|
|
@ -540,7 +540,7 @@ EFI_STATUS
|
|||
EFIAPI
|
||||
BootScriptWrite (
|
||||
IN CONST EFI_S3_SAVE_STATE_PROTOCOL *This,
|
||||
IN UINT16 OpCode,
|
||||
IN UINTN OpCode,
|
||||
...
|
||||
)
|
||||
{
|
||||
|
@ -695,7 +695,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