mirror of https://github.com/acidanthera/audk.git
Initialize Data.
Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13998 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
d51088b764
commit
0f4e03dae4
|
@ -1123,7 +1123,9 @@ BootScriptExecutePciCfgReadWrite (
|
|||
EFI_STATUS Status;
|
||||
UINT64 Data;
|
||||
EFI_BOOT_SCRIPT_PCI_CONFIG_READ_WRITE PciCfgReadWrite;
|
||||
|
||||
|
||||
Data = 0;
|
||||
|
||||
CopyMem((VOID*)&PciCfgReadWrite, (VOID*)Script, sizeof(EFI_BOOT_SCRIPT_PCI_CONFIG_READ_WRITE));
|
||||
|
||||
DEBUG ((EFI_D_INFO, "BootScriptExecutePciCfgReadWrite - 0x%08x, 0x%016lx, 0x%016lx\n", PCI_ADDRESS_ENCODE (PciCfgReadWrite.Address), AndMask, OrMask));
|
||||
|
@ -1561,6 +1563,9 @@ BootScriptExecutePciCfg2ReadWrite (
|
|||
UINT64 Data;
|
||||
EFI_STATUS Status;
|
||||
EFI_BOOT_SCRIPT_PCI_CONFIG2_READ_WRITE PciCfg2ReadWrite;
|
||||
|
||||
Data = 0;
|
||||
|
||||
CopyMem ((VOID*)&PciCfg2ReadWrite, (VOID*)Script, sizeof(EFI_BOOT_SCRIPT_PCI_CONFIG2_READ_WRITE));
|
||||
|
||||
DEBUG ((EFI_D_INFO, "BootScriptExecutePciCfg2ReadWrite - 0x%04x, 0x%08x, 0x%016lx, 0x%016lx\n", PciCfg2ReadWrite.Segment, PCI_ADDRESS_ENCODE (PciCfg2ReadWrite.Address), AndMask, OrMask));
|
||||
|
|
Loading…
Reference in New Issue