public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH] IntelFrameworkPkg FrameworkUefiLib: Add missing lib and GUID reference
@ 2018-09-19  1:48 Star Zeng
  0 siblings, 0 replies; only message in thread
From: Star Zeng @ 2018-09-19  1:48 UTC (permalink / raw)
  To: edk2-devel; +Cc: Star Zeng, Liming Gao

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1189

GetVariable(2) and GetEfiGlobalVariable(2) are using gRT and
gEfiGlobalVariableGuid.

When I was doing build test for
https://lists.01.org/pipermail/edk2-devel/2018-September/029832.html,
I tried just building library, it could build pass, but when I was
trying linking this library with a driver, there will be build failure.

This patch adds the missing UefiRuntimeServicesTableLib and
gEfiGlobalVariableGuid in inf.

Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com>
---
 IntelFrameworkPkg/Library/FrameworkUefiLib/FrameworkUefiLib.inf | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/IntelFrameworkPkg/Library/FrameworkUefiLib/FrameworkUefiLib.inf b/IntelFrameworkPkg/Library/FrameworkUefiLib/FrameworkUefiLib.inf
index 2d333b1b4b2a..f1a4128a7e8d 100644
--- a/IntelFrameworkPkg/Library/FrameworkUefiLib/FrameworkUefiLib.inf
+++ b/IntelFrameworkPkg/Library/FrameworkUefiLib/FrameworkUefiLib.inf
@@ -52,10 +52,12 @@ [LibraryClasses]
   BaseLib
   UefiBootServicesTableLib
   DevicePathLib
+  UefiRuntimeServicesTableLib
 
 [Guids]
   gEfiEventReadyToBootGuid                      ## SOMETIMES_CONSUMES  ## Event
   gEfiEventLegacyBootGuid                       ## SOMETIMES_CONSUMES  ## Event
+  gEfiGlobalVariableGuid                        ## SOMETIMES_CONSUMES  ## Variable
   gEfiAcpi20TableGuid                           ## SOMETIMES_CONSUMES  ## SystemTable
   gEfiAcpi10TableGuid                           ## SOMETIMES_CONSUMES  ## SystemTable
 
-- 
2.7.0.windows.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-09-19  1:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-19  1:48 [PATCH] IntelFrameworkPkg FrameworkUefiLib: Add missing lib and GUID reference Star Zeng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox