From 5297c0bf832df31107d1e1681d72728a2caf5765 Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Wed, 30 Nov 2016 10:22:30 +0100 Subject: OvmfPkg/QemuFwCfgLib: move InternalQemuFwCfgIsAvailable() to lib instances InternalQemuFwCfgIsAvailable() is an API that is incorrectly exposed by the "OvmfPkg/Include/Library/QemuFwCfgLib.h" library class header; the API is meant to be used internally to library instances (if it's needed at all). In OvmfPkg, we have two lib instances (for SEC and PEI/DXE); they provide different implementations of InternalQemuFwCfgIsAvailable(), for the shared file "OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLib.c". Move the API declaration to a new internal header called "QemuFwCfgLibInternal.h", and drop EFIAPI in the process. Cc: Jordan Justen Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek Reviewed-by: Jordan Justen --- OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf | 1 + 1 file changed, 1 insertion(+) (limited to 'OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf') diff --git a/OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf b/OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf index 03a659c9b0..c1d6a54b1a 100644 --- a/OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf +++ b/OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf @@ -30,6 +30,7 @@ # [Sources] + QemuFwCfgLibInternal.h QemuFwCfgLib.c QemuFwCfgSec.c -- cgit v1.2.3