Acidanthera UEFI Development Kit based on EDK II edk2-stable202311
Go to file
Ruiyu Ni 0a274516ff MdeModulePkg/S3SaveState: Extract arguments in correct order
EFI_BOOT_SCRIPT_WRITE() interface is a var-arg interface.

Spec defines the order of parameters for
EFI_BOOT_SCRIPT_PCI_CONFIG2_WRITE_OPCODE as below:

  typedef
  EFI_STATUS
  (EFIAPI *EFI_BOOT_SCRIPT_WRITE) (
    IN CONST EFI_S3_SAVE_STATE_PROTOCOL *This,
    IN UINT16 OpCode,
    IN EFI_BOOT_SCRIPT_WIDTH Width,
    IN UINT16 Segment,
    IN UINT64 Address,
    IN UINTN Count,
    IN VOID *Buffer
  );

But implementation assumes Segment is in the very end, after Buffer.
Similar spec/implementation gaps are also found for
EFI_BOOT_SCRIPT_PCI_CONFIG2_READ_WRITE_OPCODE.

The patch fixes the implementation to extract the arguments in
correct order.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
2017-10-10 13:23:10 +08:00
AppPkg
ArmPkg ArmPkg/ArmSvcLib: Add ArmSvcLib implementation. 2017-10-06 22:35:41 +01:00
ArmPlatformPkg ArmPlatformPkg: Add PCD for SBSA Watchdog Count 2017-10-06 15:15:22 +01:00
ArmVirtPkg
BaseTools BaseTools: Fix a bug to use module's Name attribute as compare 2017-10-10 10:32:07 +08:00
BeagleBoardPkg
Conf
CorebootModulePkg
CorebootPayloadPkg
CryptoPkg CryptoPkg: Add new API to retrieve commonName of X.509 certificate 2017-09-25 00:06:41 +08:00
DuetPkg
EdkCompatibilityPkg
EdkShellBinPkg
EdkShellPkg
EmbeddedPkg EmbeddedPkg: Introduce HardwareInterrupt2 protocol 2017-10-05 21:23:34 +01:00
EmulatorPkg
FatBinPkg
FatPkg
IntelFrameworkModulePkg IntelFrameworkModulePkg FwVolDxe: Support FFS_ATTRIB_DATA_ALIGNMENT_2 2017-09-26 18:01:11 +08:00
IntelFrameworkPkg
IntelFsp2Pkg
IntelFsp2WrapperPkg
IntelFspPkg
IntelFspWrapperPkg
IntelSiliconPkg IntelSiliconPkg/VTdPmrPei: Add EndOfPei callback for S3 2017-09-23 16:14:30 +08:00
MdeModulePkg MdeModulePkg/S3SaveState: Extract arguments in correct order 2017-10-10 13:23:10 +08:00
MdePkg MdePkg/IndustryStandard/Pci23: add vendor-specific capability header 2017-10-03 16:07:25 +02:00
NetworkPkg NetworkPkg/HttpDxe: Clarify the usage of HttpConfigData in HTTP protocol 2017-09-29 09:02:08 +08:00
Nt32Pkg
Omap35xxPkg
OptionRomPkg
OvmfPkg OvmfPkg/PciHotPlugInitDxe: translate QEMU's resource reservation hints 2017-10-03 16:07:39 +02:00
PcAtChipsetPkg
PerformancePkg
QuarkPlatformPkg
QuarkSocPkg
SecurityPkg SecurityPkg/SecureBootConfigImpl.c: Secure Boot DBX UI Enhancement 2017-09-28 15:02:00 +08:00
ShellBinPkg
ShellPkg ShellPkg/disconnect: '-r' is not optional when disconnecting all 2017-09-29 15:19:10 +08:00
SignedCapsulePkg
SourceLevelDebugPkg
StdLib
StdLibPrivateInternalFiles
UefiCpuPkg UefiCpuPkg/PiSmmCpuDxeSmm: Add check to void use null pointer. 2017-10-09 14:52:46 +08:00
UnixPkg
Vlv2DeviceRefCodePkg
Vlv2TbltDevicePkg
.gitignore
BuildNotes2.txt
Contributions.txt
Edk2Setup.bat
License.txt
Maintainers.txt Maintainers.txt: add Xen reviewer for ArmVirtPkg 2017-09-26 23:23:50 +01:00
Readme.md
edksetup.bat
edksetup.sh

Readme.md

EDK II Project

A modern, feature-rich, cross-platform firmware development environment for the UEFI and PI specifications from www.uefi.org.

Contributions to the EDK II open source project are covered by the TianoCore Contribution Agreement 1.1

The majority of the content in the EDK II open source project uses a BSD 2-Clause License. The EDK II open source project contains the following components that are covered by additional licenses:

The EDK II Project is composed of packages. The maintainers for each package are listed in Maintainers.txt.

Resources