2 # Sample UEFI Application Reference EDKII Module
4 # This is a sample shell application that will print "UEFI Hello World!" to the
5 # UEFI Console based on PCD setting.
7 # It demos how to use EDKII PCD mechanism to make code more flexible.
9 # Copyright (c) 2008 - 2011, Intel Corporation. All rights reserved.<BR>
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.
22 INF_VERSION = 0x00010005
23 BASE_NAME = HelloWorld
24 FILE_GUID = 6987936E-ED34-44db-AE97-1FA5E4ED2116
25 MODULE_TYPE = UEFI_APPLICATION
27 ENTRY_POINT = UefiMain
30 # The following information is for reference only and not required by the build tools.
32 # VALID_ARCHITECTURES = IA32 X64 IPF EBC
40 MdeModulePkg/MdeModulePkg.dec
43 UefiApplicationEntryPoint
48 gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintEnable
51 gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintString || gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintEnable ## Valid when gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintEnable
52 gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintTimes || gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintEnable ## Valid when gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintEnable