diff options
author | xli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-18 13:27:35 +0000 |
---|---|---|
committer | xli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-18 13:27:35 +0000 |
commit | 05975035a2734d2ae75830627cda258bb35a07ce (patch) | |
tree | 35998bd2509d73f6112eb6f9f8365a930196f1da /IntelFrameworkModulePkg/Bus/Pci | |
parent | f1db45f81a6593de93727ac2a0bb3c1a36e61298 (diff) | |
download | edk2-platforms-05975035a2734d2ae75830627cda258bb35a07ce.tar.xz |
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/Pci')
-rw-r--r-- | IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.c | 7 |
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,
|