From 05975035a2734d2ae75830627cda258bb35a07ce Mon Sep 17 00:00:00 2001 From: xli24 Date: Tue, 18 Nov 2008 13:27:35 +0000 Subject: Update PciOptionRomSupport.c to pass GCC build. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6607 6f19259b-4bc3-4df7-8a09-765794883524 --- IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'IntelFrameworkModulePkg') diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.c b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.c index c66c7e9..09d314f 100644 --- a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.c +++ b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.c @@ -1,6 +1,6 @@ /**@file -Copyright (c) 2006 - 2007, Intel Corporation +Copyright (c) 2006 - 2008, 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 @@ -23,7 +23,10 @@ MEMMAP_DEVICE_PATH mPciOptionRomImageDevicePathNodeTemplate = { { HARDWARE_DEVICE_PATH, HW_MEMMAP_DP, - sizeof (MEMMAP_DEVICE_PATH) + { + (UINT8) (sizeof (MEMMAP_DEVICE_PATH)), + (UINT8) ((sizeof (MEMMAP_DEVICE_PATH)) >> 8) + } }, EfiMemoryMappedIO, 0, -- cgit v1.1