summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Dong <eric.dong@intel.com>2014-07-28 07:41:49 +0000
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2014-07-28 07:41:49 +0000
commit613382e922cdae321168791df0b00f84176ba9db (patch)
treed838f2350057277b760c7d49e1f4bf4071aaec1d
parent47e255dfa3baeeb99e0ae3c8a5a4559e475a40c9 (diff)
downloadedk2-613382e922cdae321168791df0b00f84176ba9db.zip
edk2-613382e922cdae321168791df0b00f84176ba9db.tar.gz
edk2-613382e922cdae321168791df0b00f84176ba9db.tar.bz2
Update code to support VS2013 tool chain.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15692 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBus.c4
-rw-r--r--IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyPci.c3
-rw-r--r--IntelFrameworkModulePkg/Universal/SectionExtractionDxe/SectionExtraction.c3
3 files changed, 7 insertions, 3 deletions
diff --git a/IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBus.c b/IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBus.c
index 4acb226..1312f26 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.<BR>
+Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
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 fd5641a..661bef5 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.<BR>
+Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
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 dfe3070..76aec0a 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.<BR>
+Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
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