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>
This commit is contained in:
Ray Ni
2019-02-11 13:11:57 +08:00
parent d72d8561fb
commit 1f6785c4b7
5 changed files with 13 additions and 13 deletions

View File

@ -1,7 +1,7 @@
/** @file
PCI bus enumeration logic function declaration for 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
@ -109,7 +109,7 @@ DetermineRootBridgeAttributes (
@return Max size of option rom needed.
**/
UINT64
UINT32
GetMaxOptionRomSize (
IN PCI_IO_DEVICE *Bridge
);