OvmfPkg: PlatformDxe: utility functions for saving / loading configuration
[mirror_edk2.git] / OvmfPkg / PlatformDxe / Platform.inf
index 42a104c5b583a8089590b36e94d54f83d0742d99..47ed25b5c76166ce6044be56eff4694a0bbcaac8 100644 (file)
@@ -26,6 +26,7 @@
 \r
 [Sources]\r
   Platform.c\r
+  PlatformConfig.c\r
 \r
 [Packages]\r
   MdePkg/MdePkg.dec\r
   OvmfPkg/OvmfPkg.dec\r
 \r
 [LibraryClasses]\r
+  BaseMemoryLib\r
   DebugLib\r
+  MemoryAllocationLib\r
   UefiBootServicesTableLib\r
+  UefiLib\r
+  UefiRuntimeServicesTableLib\r
   UefiDriverEntryPoint\r
 \r
+[Guids]\r
+  gOvmfPlatformConfigGuid\r
+\r
 [Depex]\r
-  TRUE\r
+  gEfiVariableArchProtocolGuid      AND\r
+  gEfiVariableWriteArchProtocolGuid\r