]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Application/HelloWorld/HelloWorld.inf
fix typo
[mirror_edk2.git] / MdeModulePkg / Application / HelloWorld / HelloWorld.inf
index a92bd5a96656b2a85e116ec3f74619356d3ce5bc..00a8e63ac4d182fda9ae7e2eeaf88b1b553dc263 100644 (file)
@@ -1,8 +1,12 @@
 #/** @file\r
-# Sample UEFI Application Reference Module\r
+#  Sample UEFI Application Reference EDKII Module\r
 #\r
-# This is a shell application that will display Hello World.\r
-# Copyright (c) 2007, Intel Corporation.\r
+#  This is a sample shell application that will print "UEFI Hello World!" to the \r
+#  UEFI Console based on PCD setting.\r
+#\r
+#  It demos how to use EDKII PCD mechanism to make code more flexible.\r
+#\r
+#  Copyright (c) 2008, Intel Corporation.\r
 #\r
 #  All rights reserved. This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
@@ -20,9 +24,6 @@
   FILE_GUID                      = 6987936E-ED34-44db-AE97-1FA5E4ED2116\r
   MODULE_TYPE                    = UEFI_APPLICATION\r
   VERSION_STRING                 = 1.0\r
-  EDK_RELEASE_VERSION            = 0x00020000\r
-  EFI_SPECIFICATION_VERSION      = 0x00020000\r
-\r
   ENTRY_POINT                    = UefiMain\r
 \r
 #\r
 #  VALID_ARCHITECTURES           = IA32 X64 IPF EBC\r
 #\r
 \r
-[Sources.common]\r
+[Sources]\r
   HelloWorld.c\r
 \r
-\r
 [Packages]\r
   MdePkg/MdePkg.dec\r
-\r
+  MdeModulePkg/MdeModulePkg.dec\r
 \r
 [LibraryClasses]\r
-  UefiBootServicesTableLib\r
   UefiApplicationEntryPoint\r
   UefiLib\r
-  DebugLib\r
+  PcdLib\r
+\r
+[Guids]\r
+\r
+[Ppis]\r
+\r
+[Protocols]\r
 \r
+[FeaturePcd]\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintEnable\r
 \r
+[Pcd]\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintString  ## Valid when gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintEnable\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintTimes   ## Valid when gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintEnable\r