summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h
diff options
context:
space:
mode:
authorJiewen Yao <jiewen.yao@intel.com>2019-09-29 16:37:14 +0800
committerJiewen Yao <jiewen.yao@intel.com>2019-11-11 19:04:05 +0800
commit995d8b8568fe67afffdaac3012d7b990e7314d0b (patch)
treeba3a2d3b4f1aa00dfc7e476c6b5d9bcac99966a7 /MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h
parent985e0a6de7482868c18d298f08db54d4339f2ea7 (diff)
downloadedk2-995d8b8568fe67afffdaac3012d7b990e7314d0b.tar.gz
edk2-995d8b8568fe67afffdaac3012d7b990e7314d0b.tar.bz2
edk2-995d8b8568fe67afffdaac3012d7b990e7314d0b.zip
MdeModulePkg/Pci: Add DeviceSecurity support.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2303 Whenever a PCI device is discovered, PCI bus calls the EDKII_DEVICE_SECURITY_PROTOCOL to authenticate it. If the function returns success, the PCI bus allocates the resource and installs the PCI_IO for the device. If the function returns fail, the PCI bus skips the device. It is similar to EFI_SECURITY_ARCH_PROTOCOL, which is used to verify an EFI image. Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Hao A Wu <hao.a.wu@intel.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Yun Lou <yun.lou@intel.com> Signed-off-by: Jiewen Yao <jiewen.yao@intel.com> Reviewed-by: Ray Ni <ray.ni@intel.com>
Diffstat (limited to 'MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h')
-rw-r--r--MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h b/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h
index 504a1b1c12..d4113993c8 100644
--- a/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h
+++ b/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h
@@ -27,6 +27,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
#include <Protocol/PciOverride.h>
#include <Protocol/PciEnumerationComplete.h>
#include <Protocol/IoMmu.h>
+#include <Protocol/DeviceSecurity.h>
#include <Library/DebugLib.h>
#include <Library/UefiDriverEntryPoint.h>