2010-02-24 01:21:16 +01:00
|
|
|
## @file
|
2009-01-04 04:20:55 +01:00
|
|
|
# Sample UEFI Application Reference EDKII Module
|
2007-06-22 11:15:22 +02:00
|
|
|
#
|
2009-02-25 10:13:18 +01:00
|
|
|
# This is a sample shell application that will print "UEFI Hello World!" to the
|
|
|
|
# UEFI Console based on PCD setting.
|
|
|
|
#
|
2009-02-25 10:14:06 +01:00
|
|
|
# It demos how to use EDKII PCD mechanism to make code more flexible.
|
2009-01-04 04:20:55 +01:00
|
|
|
#
|
2010-04-24 11:49:11 +02:00
|
|
|
# Copyright (c) 2008 - 2010, Intel Corporation. All rights reserved.<BR>
|
2007-06-22 11:15:22 +02:00
|
|
|
#
|
2010-04-24 11:49:11 +02:00
|
|
|
# This program and the accompanying materials
|
2007-06-22 11:15:22 +02:00
|
|
|
# are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
# which accompanies this distribution. The full text of the license may be found at
|
|
|
|
# http://opensource.org/licenses/bsd-license.php
|
|
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
#
|
|
|
|
#
|
2010-02-24 01:21:16 +01:00
|
|
|
##
|
2007-06-22 11:15:22 +02:00
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = HelloWorld
|
|
|
|
FILE_GUID = 6987936E-ED34-44db-AE97-1FA5E4ED2116
|
|
|
|
MODULE_TYPE = UEFI_APPLICATION
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
ENTRY_POINT = UefiMain
|
|
|
|
|
|
|
|
#
|
|
|
|
# The following information is for reference only and not required by the build tools.
|
|
|
|
#
|
|
|
|
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
|
|
|
|
#
|
|
|
|
|
2008-09-19 07:05:40 +02:00
|
|
|
[Sources]
|
2007-06-22 11:15:22 +02:00
|
|
|
HelloWorld.c
|
|
|
|
|
|
|
|
[Packages]
|
2007-06-29 23:03:06 +02:00
|
|
|
MdePkg/MdePkg.dec
|
2008-09-19 07:05:40 +02:00
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
2007-06-22 11:15:22 +02:00
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
UefiApplicationEntryPoint
|
|
|
|
UefiLib
|
2008-09-19 07:05:40 +02:00
|
|
|
PcdLib
|
|
|
|
|
|
|
|
[Guids]
|
|
|
|
|
|
|
|
[Ppis]
|
|
|
|
|
|
|
|
[Protocols]
|
2007-06-22 11:15:22 +02:00
|
|
|
|
2008-09-19 07:05:40 +02:00
|
|
|
[FeaturePcd]
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintEnable
|
2007-06-22 11:15:22 +02:00
|
|
|
|
2008-09-19 07:05:40 +02:00
|
|
|
[Pcd]
|
2009-02-25 16:35:58 +01:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintString || PcdHelloWorldPrintEnable ## Valid when gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintEnable
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintTimes || PcdHelloWorldPrintEnable ## Valid when gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintEnable
|