The class PciIds is in AttestationCA. However, a few functions in PciIds are needed to process SPDM event log structures defined in the PFP (specifically DEVICE_SECURITY_EVENT_DATA_PCI_CONTEXT), and the event log classes are in Utils. PciIds class cannot be accessed from Utils without creating a circular dependency.
1) renamed AttestationCA pciids to AcaPciIds
2) created a Utils PciIds and moved the DB object, the vendor id and device id translate functions in AcaPciIds into Utils PciIds
3) updated DeviceSecurityEventDataPciContext to use PciIds to report Vendor and Device IDs
4) update Utils PciIds to also translate classcode, and update DeviceSecurityEventDataPciContext to use this feature
Closes #757
The class PciIds is in AttestationCA. However, a few functions in PciIds are needed to process SPDM event log structures defined in the PFP (specifically DEVICE_SECURITY_EVENT_DATA_PCI_CONTEXT), and the event log classes are in Utils. PciIds class cannot be accessed from Utils without creating a circular dependency. 1) renamed AttestationCA pciids to AcaPciIds 2) created a Utils PciIds and moved the DB object, the vendor id and device id translate functions in AcaPciIds into Utils PciIds 3) updated DeviceSecurityEventDataPciContext to use PciIds to report Vendor and Device IDs 4) update Utils PciIds to also translate classcode, and update DeviceSecurityEventDataPciContext to use this feature