summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h
diff options
context:
space:
mode:
authorrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>2010-12-14 02:33:15 +0000
committerrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>2010-12-14 02:33:15 +0000
commit4ed4e19c084e03fcb8cfdcb159145136093d4180 (patch)
tree52d0fbe96877453f72c6d8aee3bff7c09d513ecc /MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h
parentf92d103109d9884a553e28399a077b21792ade41 (diff)
downloadedk2-4ed4e19c084e03fcb8cfdcb159145136093d4180.tar.gz
edk2-4ed4e19c084e03fcb8cfdcb159145136093d4180.tar.bz2
edk2-4ed4e19c084e03fcb8cfdcb159145136093d4180.zip
Update the PCI bus driver to correctly set the EFI_PCI_IO_ATTRIBUTE_EMBEDDED_ROM attribute of PCI IO. Per UEFI spec, this attribute is used to determine if the ROM image is from the ROM BAR or from a platform specific location.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11159 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h')
-rw-r--r--MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h b/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h
index 8517c60f72..e268014d34 100644
--- a/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h
+++ b/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h
@@ -224,6 +224,11 @@ struct _PCI_IO_DEVICE {
UINT32 Decodes;
//
+ // TRUE if the ROM image is from the PCI Option ROM BAR
+ //
+ BOOLEAN EmbeddedRom;
+
+ //
// The OptionRom Size
//
UINT64 RomSize;