Code scrub for the following drivers and librarys.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7172 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
/** @file
|
||||
This simple application just print a "UEFI Hello World!" to the UEFI Console.
|
||||
|
||||
Copyright (c) 2006 - 2007, Intel Corporation
|
||||
This sample application bases on HelloWorld PCD setting
|
||||
to print "UEFI Hello World!" to the UEFI Console.
|
||||
|
||||
Copyright (c) 2006 - 2008, Intel Corporation
|
||||
All rights reserved. This program and the accompanying materials
|
||||
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
|
||||
@@ -20,8 +21,7 @@
|
||||
|
||||
/**
|
||||
The user Entry Point for Application. The user code starts with this function
|
||||
as the real entry point for the image goes into a library that calls this
|
||||
function.
|
||||
as the real entry point for the application.
|
||||
|
||||
@param[in] ImageHandle The firmware allocated handle for the EFI image.
|
||||
@param[in] SystemTable A pointer to the EFI System Table.
|
||||
@@ -46,6 +46,9 @@ UefiMain (
|
||||
//
|
||||
if (FeaturePcdGet (PcdHelloWorldPrintEnable)) {
|
||||
for (Index = 0; Index < PcdGet32 (PcdHelloWorldPrintTimes); Index ++) {
|
||||
//
|
||||
// Use UefiLib Print API to print string to UEFI console
|
||||
//
|
||||
Print ((CHAR16*)PcdGetPtr (PcdHelloWorldPrintString));
|
||||
}
|
||||
}
|
||||
|
@@ -1,8 +1,10 @@
|
||||
#/** @file
|
||||
# Sample UEFI Application Reference Module
|
||||
# Sample UEFI Application Reference EDKII Module
|
||||
#
|
||||
# This is a shell application that will display Hello World.
|
||||
# Copyright (c) 2008, Intel Corporation.
|
||||
# This is a shell application that will display Hello World.
|
||||
# It uses EDKII PCD feature to show PCD usage and configuration.
|
||||
#
|
||||
# Copyright (c) 2008, Intel Corporation.
|
||||
#
|
||||
# All rights reserved. This program and the accompanying materials
|
||||
# are licensed and made available under the terms and conditions of the BSD License
|
||||
@@ -20,7 +22,6 @@
|
||||
FILE_GUID = 6987936E-ED34-44db-AE97-1FA5E4ED2116
|
||||
MODULE_TYPE = UEFI_APPLICATION
|
||||
VERSION_STRING = 1.0
|
||||
|
||||
ENTRY_POINT = UefiMain
|
||||
|
||||
#
|
||||
|
Reference in New Issue
Block a user