summaryrefslogtreecommitdiffstats
path: root/IntelFrameworkModulePkg/Bus
diff options
context:
space:
mode:
authorxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-18 13:27:35 +0000
committerxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-18 13:27:35 +0000
commit05975035a2734d2ae75830627cda258bb35a07ce (patch)
tree35998bd2509d73f6112eb6f9f8365a930196f1da /IntelFrameworkModulePkg/Bus
parentf1db45f81a6593de93727ac2a0bb3c1a36e61298 (diff)
downloadedk2-05975035a2734d2ae75830627cda258bb35a07ce.tar.gz
edk2-05975035a2734d2ae75830627cda258bb35a07ce.tar.bz2
edk2-05975035a2734d2ae75830627cda258bb35a07ce.zip
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
Diffstat (limited to 'IntelFrameworkModulePkg/Bus')
-rw-r--r--IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.c b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.c
index c66c7e9bb3..09d314f4ff 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,