diff options
author | Laszlo Ersek <lersek@redhat.com> | 2018-04-28 23:22:11 +0200 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2018-05-24 21:12:06 +0200 |
commit | 392a31467f4164423ae459bf28b39f282bb48e98 (patch) | |
tree | 26a99b353ce37ab6570c45be6ec83562f6fcbda2 /OvmfPkg/OvmfPkg.dec | |
parent | 4b8552d794e7b17a6627e0f752fd298e8bcb2587 (diff) | |
download | edk2-392a31467f4164423ae459bf28b39f282bb48e98.tar.gz |
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>
Diffstat (limited to 'OvmfPkg/OvmfPkg.dec')
-rw-r--r-- | OvmfPkg/OvmfPkg.dec | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OvmfPkg/OvmfPkg.dec b/OvmfPkg/OvmfPkg.dec index c01a2ca721..74818a2e2a 100644 --- a/OvmfPkg/OvmfPkg.dec +++ b/OvmfPkg/OvmfPkg.dec @@ -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
|