diff options
author | Ray Ni <ray.ni@intel.com> | 2019-02-11 13:11:57 +0800 |
---|---|---|
committer | Ray Ni <ray.ni@intel.com> | 2019-02-14 14:56:56 +0800 |
commit | 1f6785c4b77d04bca9ce6205c63bd76264ec7789 (patch) | |
tree | 8dd56564d7695493cd28bd96d3d7f88a18c1c5ed /MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h | |
parent | d72d8561fbe03a64e01c2ad57a93777de4b9ae2f (diff) | |
download | edk2-1f6785c4b77d04bca9ce6205c63bd76264ec7789.tar.gz edk2-1f6785c4b77d04bca9ce6205c63bd76264ec7789.tar.bz2 edk2-1f6785c4b77d04bca9ce6205c63bd76264ec7789.zip |
MdeModulePkg/PciBus: Change PCI_IO_DEVICE.RomSize to UINT32 type
Per PCI Spec, the option ROM BAR is 32bit so the maximum option ROM
size can be hold by UINT32 type.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ray Ni <ray.ni@intel.com>
Reviewed-by: Hao Wu <hao.a.wu@intel.com>
Diffstat (limited to 'MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h')
-rw-r--r-- | MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h b/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h index 6938802857..18d76ea965 100644 --- a/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h +++ b/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h @@ -1,7 +1,7 @@ /** @file
Header files and data structures needed by PCI Bus module.
-Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>
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
@@ -237,7 +237,7 @@ struct _PCI_IO_DEVICE { //
// The OptionRom Size
//
- UINT64 RomSize;
+ UINT32 RomSize;
//
// TRUE if all OpROM (in device or in platform specific position) have been processed
|