[edk2-devel] [PATCH] OvmfPkg: supply missing lib class declarations in the DEC file

Philippe Mathieu-Daudé philmd at redhat.com
Tue Apr 7 11:49:21 UTC 2020


On 4/7/20 12:05 PM, Laszlo Ersek wrote:
> List the header files in the OvmfPkg DEC file for the following lib
> classes:
> 
> - MemEncryptSevLib (one instance: BaseMemEncryptSevLib)
> 
> - PlatformFvbLib (two instances: EmuVariableFvbLib, PlatformFvbLibNull)
> 
> - VirtioLib (one instance: VirtioLib)
> 
> - VirtioMmioDeviceLib (one instance: VirtioMmioDeviceLib)
> 
> Cc: Ard Biesheuvel <ard.biesheuvel at arm.com>
> Cc: Jordan Justen <jordan.l.justen at intel.com>
> Cc: Philippe Mathieu-Daudé <philmd at redhat.com>
> Cc: Sean Brogan <sean.brogan at microsoft.com>
> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2662
> Signed-off-by: Laszlo Ersek <lersek at redhat.com>

Reviewed-by: Philippe Mathieu-Daude <philmd at redhat.com>

> ---
> 
> Notes:
>      Repo:   https://pagure.io/lersek/edk2.git
>      Branch: lib_classes_bz_2662
> 
>   OvmfPkg/OvmfPkg.dec | 14 ++++++++++++++
>   1 file changed, 14 insertions(+)
> 
> diff --git a/OvmfPkg/OvmfPkg.dec b/OvmfPkg/OvmfPkg.dec
> index eae4d5e7ab42..28030391cff2 100644
> --- a/OvmfPkg/OvmfPkg.dec
> +++ b/OvmfPkg/OvmfPkg.dec
> @@ -22,6 +22,10 @@ [LibraryClasses]
>     #
>     LoadLinuxLib|Include/Library/LoadLinuxLib.h
>   
> +  ##  @libraryclass  Declares helper functions for Secure Encrypted
> +  #                  Virtualization (SEV) guests.
> +  MemEncryptSevLib|Include/Library/MemEncryptSevLib.h
> +
>     ##  @libraryclass  Save and restore variables using a file
>     #
>     NvVarsFileLib|Include/Library/NvVarsFileLib.h
> @@ -45,6 +49,9 @@ [LibraryClasses]
>     #                  return codes, to the UEFI console.
>     PlatformBmPrintScLib|Include/Library/PlatformBmPrintScLib.h
>   
> +  ##  @libraryclass  Customize FVB2 protocol member functions for a platform.
> +  PlatformFvbLib|Include/Library/PlatformFvbLib.h
> +
>     ##  @libraryclass  Access QEMU's firmware configuration interface
>     #
>     QemuFwCfgLib|Include/Library/QemuFwCfgLib.h
> @@ -67,6 +74,13 @@ [LibraryClasses]
>     #
>     SerializeVariablesLib|Include/Library/SerializeVariablesLib.h
>   
> +  ##  @libraryclass  Declares utility functions for virtio device drivers.
> +  VirtioLib|Include/Library/VirtioLib.h
> +
> +  ##  @libraryclass  Install Virtio Device Protocol instances on virtio-mmio
> +  #                  transports.
> +  VirtioMmioDeviceLib|Include/Library/VirtioMmioDeviceLib.h
> +
>     ##  @libraryclass  Invoke Xen hypercalls
>     #
>     XenHypercallLib|Include/Library/XenHypercallLib.h
> 


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#57022): https://edk2.groups.io/g/devel/message/57022
Mute This Topic: https://groups.io/mt/72847121/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list