]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Application/HelloWorld/HelloWorld.inf
1. Correct File header to ## @file
[mirror_edk2.git] / MdeModulePkg / Application / HelloWorld / HelloWorld.inf
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 - 2010, Intel Corporation.
10 #
11 # All rights reserved. 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 FILE_GUID = 6987936E-ED34-44db-AE97-1FA5E4ED2116
25 MODULE_TYPE = UEFI_APPLICATION
26 VERSION_STRING = 1.0
27 ENTRY_POINT = UefiMain
28
29 #
30 # The following information is for reference only and not required by the build tools.
31 #
32 # VALID_ARCHITECTURES = IA32 X64 IPF EBC
33 #
34
35 [Sources]
36 HelloWorld.c
37
38 [Packages]
39 MdePkg/MdePkg.dec
40 MdeModulePkg/MdeModulePkg.dec
41
42 [LibraryClasses]
43 UefiApplicationEntryPoint
44 UefiLib
45 PcdLib
46
47 [Guids]
48
49 [Ppis]
50
51 [Protocols]
52
53 [FeaturePcd]
54 gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintEnable
55
56 [Pcd]
57 gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintString || PcdHelloWorldPrintEnable ## Valid when gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintEnable
58 gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintTimes || PcdHelloWorldPrintEnable ## Valid when gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintEnable