OvmfPkg: introduce PciCapLib
Add a library class, and a BASE lib instance, to work more easily with PCI capabilities in PCI config space. Functions are provided to parse capabilities lists, and to locate, describe, read and write capabilities. PCI config space access is abstracted away. Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Jordan Justen <jordan.l.justen@intel.com> Suggested-by: Jordan Justen <jordan.l.justen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
This commit is contained in:
@@ -31,6 +31,10 @@
|
||||
#
|
||||
NvVarsFileLib|Include/Library/NvVarsFileLib.h
|
||||
|
||||
## @libraryclass Provides services to work with PCI capabilities in PCI
|
||||
# config space.
|
||||
PciCapLib|Include/Library/PciCapLib.h
|
||||
|
||||
## @libraryclass Access QEMU's firmware configuration interface
|
||||
#
|
||||
QemuFwCfgLib|Include/Library/QemuFwCfgLib.h
|
||||
|
Reference in New Issue
Block a user