]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf
Update code to support VS2013 tool chain.
[mirror_edk2.git] / MdeModulePkg / Universal / DriverSampleDxe / DriverSampleDxe.inf
index 42a331779e68eb093dc63baa943b38d4a1a47ea0..1affe874bcff7432cb39ddb9d9599ffb319e68e6 100644 (file)
@@ -1,10 +1,10 @@
-#/** @file\r
-# Component name for module DriverSample\r
+## @file\r
+# This is a sample driver which show how HII protocol, VFR and UNI files are used to\r
+# create a driver which can be dipslayed and configured by a UEFI HII Form Browser.\r
 #\r
-# FIX ME!\r
-# Copyright (c) 2007, Intel Corporation. All rights reserved.\r
+# Copyright (c) 2007 - 2013, Intel Corporation. All rights reserved.<BR>\r
 #\r
-#  All rights reserved. This program and the accompanying materials\r
+#  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
 #  which accompanies this distribution. The full text of the license may be found at\r
 #  http://opensource.org/licenses/bsd-license.php\r
@@ -13,7 +13,7 @@
 #  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 #\r
 #\r
-#**/\r
+##\r
 \r
 [Defines]\r
   INF_VERSION                    = 0x00010005\r
   FILE_GUID                      = FE3542FE-C1D3-4EF8-657C-8048606FF671\r
   MODULE_TYPE                    = DXE_DRIVER\r
   VERSION_STRING                 = 1.0\r
-  EDK_RELEASE_VERSION            = 0x00020000\r
-  EFI_SPECIFICATION_VERSION      = 0x0002000A\r
-\r
   ENTRY_POINT                    = DriverSampleInit\r
+  UNLOAD_IMAGE                   = DriverSampleUnload\r
 \r
 #\r
 # The following information is for reference only and not required by the build tools.\r
 #  VALID_ARCHITECTURES           = IA32 X64 IPF EBC\r
 #\r
 \r
-[Sources.common]\r
+[Sources]\r
   DriverSample.c\r
-  inventorystrings.uni\r
+  InventoryStrings.uni\r
   NVDataStruc.h\r
   VfrStrings.uni\r
   DriverSample.h\r
   Inventory.vfr\r
   Vfr.vfr\r
-  VfrStrings.uni  \r
 \r
 [Packages]\r
   MdePkg/MdePkg.dec\r
@@ -48,6 +45,7 @@
 \r
 \r
 [LibraryClasses]\r
+  BaseLib\r
   MemoryAllocationLib\r
   UefiBootServicesTableLib\r
   UefiDriverEntryPoint\r
   BaseMemoryLib\r
   DebugLib\r
   HiiLib\r
-  IfrSupportLib\r
-  BaseLib\r
+  PrintLib\r
+  UefiLib\r
+  DevicePathLib\r
 \r
+[Guids]\r
+  gEfiIfrTianoGuid                              ## CONSUMES ## Guid\r
+  gDriverSampleFormSetGuid                      ## PRODUCES ## Guid\r
+  gDriverSampleInventoryGuid                    ## PRODUCES ## Guid\r
+  gEfiIfrRefreshIdOpGuid                        ## SOMETIMES_PRODUCES ## EventGuid\r
 \r
 [Protocols]\r
-  gEfiHiiStringProtocolGuid                     # PROTOCOL ALWAYS_CONSUMED\r
-  gEfiHiiConfigRoutingProtocolGuid              # PROTOCOL ALWAYS_CONSUMED\r
-  gEfiHiiConfigAccessProtocolGuid               # PROTOCOL ALWAYS_CONSUMED\r
-  gEfiFormBrowser2ProtocolGuid                  # PROTOCOL ALWAYS_CONSUMED\r
-  gEfiHiiDatabaseProtocolGuid                   # PROTOCOL ALWAYS_CONSUMED\r
-\r
+  gEfiHiiStringProtocolGuid                     ## CONSUMES\r
+  gEfiHiiConfigRoutingProtocolGuid              ## CONSUMES\r
+  gEfiHiiConfigAccessProtocolGuid               ## PRODUCES\r
+  gEfiFormBrowser2ProtocolGuid                  ## CONSUMES\r
+  gEfiHiiDatabaseProtocolGuid                   ## CONSUMES\r
+  gEfiSimpleTextInputExProtocolGuid             ## CONSUMES\r
+  gEfiFormBrowserExProtocolGuid                 ## CONSUMES\r
 \r
 [Depex]\r
-  gEfiSimpleTextOutProtocolGuid AND gEfiHiiDatabaseProtocolGuid\r
+  gEfiSimpleTextOutProtocolGuid AND gEfiHiiDatabaseProtocolGuid AND gEfiVariableArchProtocolGuid AND gEfiVariableWriteArchProtocolGuid\r
 \r