diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2017-10-26 15:54:30 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2017-10-31 11:11:03 +0800 |
commit | 221c8fd512eda0f6b9c9d5409cc3a9df05ba8c92 (patch) | |
tree | dcbc3e06f8cd691aee6c9d4a95dfdd12b918132f /MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h | |
parent | af807bb98682d0b11dc37188d80fb70687ae2512 (diff) | |
download | edk2-221c8fd512eda0f6b9c9d5409cc3a9df05ba8c92.tar.gz edk2-221c8fd512eda0f6b9c9d5409cc3a9df05ba8c92.tar.bz2 edk2-221c8fd512eda0f6b9c9d5409cc3a9df05ba8c92.zip |
MdeModulePkg/PciBus: Refine EFI_PCI_ROM_IMAGE_MAPPING
The patch doesn't impact real functionality.
It only renames EFI_PCI_ROM_IMAGE_MAPPING to PCI_ROM_IMAGE,
and changes prototype of PciRomAddImageMapping so that
no explicit type cast is needed when calling this function.
It also removes unused field RomBase from PCI_IO_DEVICE structure.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h')
-rw-r--r-- | MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h b/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h index 3bcc134d0b..55eb3a5a80 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 - 2015, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2017, 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
@@ -240,11 +240,6 @@ struct _PCI_IO_DEVICE { UINT64 RomSize;
//
- // The OptionRom Size
- //
- UINT64 RomBase;
-
- //
// TRUE if all OpROM (in device or in platform specific position) have been processed
//
BOOLEAN AllOpRomProcessed;
|