]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg PCI Bus Driver: Add more checks before dispatching an EFI PCI Option...
authorrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 28 Sep 2011 07:50:58 +0000 (07:50 +0000)
committerrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 28 Sep 2011 07:50:58 +0000 (07:50 +0000)
commita93e23f9ed7caafd683e0adaa40562c9449b0f3c
tree224dd101d150a8b841d0e8ccf83dcac878529bde
parent4cb0548d01d9098cb34171d99a47201aeb39bd01
MdeModulePkg PCI Bus Driver: Add more checks before dispatching an EFI PCI Option ROM image.

* Check if the machine type of the image is supported by the current UEFI system.
* Ignore the image if it is an EFI application as required by the UEFI spec.

Signed-off-by: rsun3
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12465 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.c