Home | History | Annotate | Download | only in HelloWorld
      1 ## @file

      2 #  Sample UEFI Application Reference EDKII Module.

      3 #

      4 #  This is a sample shell application that will print "UEFI Hello World!" to the

      5 #  UEFI Console based on PCD setting.

      6 #

      7 #  It demos how to use EDKII PCD mechanism to make code more flexible.

      8 #

      9 #  Copyright (c) 2008 - 2014, Intel Corporation. All rights reserved.<BR>

     10 #

     11 #  This program and the accompanying materials

     12 #  are licensed and made available under the terms and conditions of the BSD License

     13 #  which accompanies this distribution. The full text of the license may be found at

     14 #  http://opensource.org/licenses/bsd-license.php

     15 #  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,

     16 #  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

     17 #

     18 #

     19 ##

     20 
     21 [Defines]
     22   INF_VERSION                    = 0x00010005
     23   BASE_NAME                      = HelloWorld
     24   MODULE_UNI_FILE                = HelloWorld.uni
     25   FILE_GUID                      = 6987936E-ED34-44db-AE97-1FA5E4ED2116
     26   MODULE_TYPE                    = UEFI_APPLICATION
     27   VERSION_STRING                 = 1.0
     28   ENTRY_POINT                    = UefiMain
     29 
     30 #

     31 # The following information is for reference only and not required by the build tools.

     32 #

     33 #  VALID_ARCHITECTURES           = IA32 X64 IPF EBC

     34 #

     35 
     36 [Sources]
     37   HelloWorld.c
     38 
     39 [Packages]
     40   MdePkg/MdePkg.dec
     41   MdeModulePkg/MdeModulePkg.dec
     42 
     43 [LibraryClasses]
     44   UefiApplicationEntryPoint
     45   UefiLib
     46   PcdLib
     47 
     48 [FeaturePcd]
     49   gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintEnable   ## CONSUMES

     50 
     51 [Pcd]
     52   gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintString || gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintEnable    ## SOMETIMES_CONSUMES

     53   gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintTimes  || gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintEnable    ## SOMETIMES_CONSUMES

     54 
     55 [UserExtensions.TianoCore."ExtraFiles"]
     56   HelloWorldExtra.uni
     57