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,