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
This commit is contained in:
Eric Dong 2014-07-28 07:41:49 +00:00 committed by ydong10
parent 47e255dfa3
commit 613382e922
3 changed files with 7 additions and 3 deletions

View File

@ -6,7 +6,7 @@
Controller found. This driver is designed to manage a PCI-to-ISA bridge Device Controller found. This driver is designed to manage a PCI-to-ISA bridge Device
such as LPC bridge. 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 This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -239,6 +239,8 @@ IsaBusControllerDriverStart (
// //
EFI_DEVICE_PATH_PROTOCOL *DevicePathData; EFI_DEVICE_PATH_PROTOCOL *DevicePathData;
DevicePathData = NULL;
// //
// Get Pci IO Protocol // Get Pci IO Protocol
// //

View File

@ -1,6 +1,6 @@
/** @file /** @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 This program and the accompanying materials
are licensed and made available under the terms and conditions are licensed and made available under the terms and conditions
@ -1879,6 +1879,7 @@ LegacyBiosCheckPciRomEx (
PCI_TYPE00 PciConfigHeader; PCI_TYPE00 PciConfigHeader;
VOID *LocalConfigUtilityCodeHeader; VOID *LocalConfigUtilityCodeHeader;
LocalConfigUtilityCodeHeader = NULL;
*Flags = NO_ROM; *Flags = NO_ROM;
Status = gBS->HandleProtocol ( Status = gBS->HandleProtocol (
PciHandle, PciHandle,

View File

@ -27,7 +27,7 @@
3) A support protocol is not found, and the data is not available to be read 3) A support protocol is not found, and the data is not available to be read
without it. This results in EFI_PROTOCOL_ERROR. 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 This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -1290,6 +1290,7 @@ GetSection (
OldTpl = gBS->RaiseTPL (TPL_NOTIFY); OldTpl = gBS->RaiseTPL (TPL_NOTIFY);
Instance = SectionInstance + 1; Instance = SectionInstance + 1;
ChildStreamNode = NULL;
// //
// Locate target stream // Locate target stream