From 613382e922cdae321168791df0b00f84176ba9db Mon Sep 17 00:00:00 2001 From: Eric Dong Date: Mon, 28 Jul 2014 07:41:49 +0000 Subject: Update code to support VS2013 tool chain. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong Reviewed-by: Liming Gao git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15692 6f19259b-4bc3-4df7-8a09-765794883524 --- IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBus.c | 4 +++- IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyPci.c | 3 ++- .../Universal/SectionExtractionDxe/SectionExtraction.c | 3 ++- 3 files changed, 7 insertions(+), 3 deletions(-) (limited to 'IntelFrameworkModulePkg') diff --git a/IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBus.c b/IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBus.c index 4acb22626b..1312f260f9 100644 --- a/IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBus.c +++ b/IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBus.c @@ -6,7 +6,7 @@ Controller found. This driver is designed to manage a PCI-to-ISA bridge Device such as LPC bridge. -Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.
+Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.
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 @@ -239,6 +239,8 @@ IsaBusControllerDriverStart ( // EFI_DEVICE_PATH_PROTOCOL *DevicePathData; + DevicePathData = NULL; + // // Get Pci IO Protocol // diff --git a/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyPci.c b/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyPci.c index fd5641a874..661bef5744 100644 --- a/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyPci.c +++ b/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyPci.c @@ -1,6 +1,6 @@ /** @file -Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.
+Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions @@ -1879,6 +1879,7 @@ LegacyBiosCheckPciRomEx ( PCI_TYPE00 PciConfigHeader; VOID *LocalConfigUtilityCodeHeader; + LocalConfigUtilityCodeHeader = NULL; *Flags = NO_ROM; Status = gBS->HandleProtocol ( PciHandle, diff --git a/IntelFrameworkModulePkg/Universal/SectionExtractionDxe/SectionExtraction.c b/IntelFrameworkModulePkg/Universal/SectionExtractionDxe/SectionExtraction.c index dfe3070268..76aec0ac2c 100644 --- a/IntelFrameworkModulePkg/Universal/SectionExtractionDxe/SectionExtraction.c +++ b/IntelFrameworkModulePkg/Universal/SectionExtractionDxe/SectionExtraction.c @@ -27,7 +27,7 @@ 3) A support protocol is not found, and the data is not available to be read without it. This results in EFI_PROTOCOL_ERROR. -Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.
+Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.
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 @@ -1290,6 +1290,7 @@ GetSection ( OldTpl = gBS->RaiseTPL (TPL_NOTIFY); Instance = SectionInstance + 1; + ChildStreamNode = NULL; // // Locate target stream -- cgit v1.2.3