MdeModulePkg/Pci: Fixed Asserts in SCT PCIIO Protocol Test.
ASSERT in PollMem_Conf, CopyMem_Conf, SetBarAttributes_Conf Conformance Test. SCT Test expect return as Invalid Parameter or Unsupported. Added Checks for Function Parameters. return Invalid or Unsupported if Check fails. Added Checks in PciIoPollIo(), PciIoIoRead() PciIoIoWrite() Signed-off-by: Gaurav Jain <gaurav.jain@nxp.com> Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
This commit is contained in:
committed by
mergify[bot]
parent
9bfaa3da1e
commit
3b9cd71454
@@ -30,6 +30,9 @@
|
||||
CR (PciIoPointer, NON_DISCOVERABLE_PCI_DEVICE, PciIo, \
|
||||
NON_DISCOVERABLE_PCI_DEVICE_SIG)
|
||||
|
||||
#define DEV_SUPPORTED_ATTRIBUTES \
|
||||
(EFI_PCI_DEVICE_ENABLE | EFI_PCI_IO_ATTRIBUTE_DUAL_ADDRESS_CYCLE)
|
||||
|
||||
#define PCI_ID_VENDOR_UNKNOWN 0xffff
|
||||
#define PCI_ID_DEVICE_DONTCARE 0x0000
|
||||
|
||||
|
Reference in New Issue
Block a user