diff options
Diffstat (limited to 'MdeModulePkg/Application/HelloWorld')
-rw-r--r-- | MdeModulePkg/Application/HelloWorld/HelloWorld.c | 38 | ||||
-rw-r--r-- | MdeModulePkg/Application/HelloWorld/HelloWorld.uni | 4 | ||||
-rw-r--r-- | MdeModulePkg/Application/HelloWorld/HelloWorldExtra.uni | 6 |
3 files changed, 24 insertions, 24 deletions
diff --git a/MdeModulePkg/Application/HelloWorld/HelloWorld.c b/MdeModulePkg/Application/HelloWorld/HelloWorld.c index 164571bfb0..0008cd14fd 100644 --- a/MdeModulePkg/Application/HelloWorld/HelloWorld.c +++ b/MdeModulePkg/Application/HelloWorld/HelloWorld.c @@ -1,15 +1,15 @@ /** @file
- This sample application bases on HelloWorld PCD setting
+ This sample application bases on HelloWorld PCD setting
to print "UEFI Hello World!" to the UEFI Console.
- Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
- 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
- http://opensource.org/licenses/bsd-license.php
+ Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
+ 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
+ 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.
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
@@ -32,9 +32,9 @@ GLOBAL_REMOVE_IF_UNREFERENCED EFI_STRING_ID mStringHelpTokenId = STRING_TOKEN (S The user Entry Point for Application. The user code starts with this function
as the real entry point for the application.
- @param[in] ImageHandle The firmware allocated handle for the EFI image.
+ @param[in] ImageHandle The firmware allocated handle for the EFI image.
@param[in] SystemTable A pointer to the EFI System Table.
-
+
@retval EFI_SUCCESS The entry point is executed successfully.
@retval other Some error occurs when executing this entry point.
@@ -46,19 +46,19 @@ UefiMain ( IN EFI_SYSTEM_TABLE *SystemTable
)
{
- UINT32 Index;
-
- Index = 0;
-
+ UINT32 Index;
+
+ Index = 0;
+
//
// Three PCD type (FeatureFlag, UINT32 and String) are used as the sample.
//
if (FeaturePcdGet (PcdHelloWorldPrintEnable)) {
- for (Index = 0; Index < PcdGet32 (PcdHelloWorldPrintTimes); Index ++) {
- //
- // Use UefiLib Print API to print string to UEFI console
- //
- Print ((CHAR16*)PcdGetPtr (PcdHelloWorldPrintString));
+ for (Index = 0; Index < PcdGet32 (PcdHelloWorldPrintTimes); Index ++) {
+ //
+ // Use UefiLib Print API to print string to UEFI console
+ //
+ Print ((CHAR16*)PcdGetPtr (PcdHelloWorldPrintString));
}
}
diff --git a/MdeModulePkg/Application/HelloWorld/HelloWorld.uni b/MdeModulePkg/Application/HelloWorld/HelloWorld.uni index f8be3d1463..9fe187cb50 100644 --- a/MdeModulePkg/Application/HelloWorld/HelloWorld.uni +++ b/MdeModulePkg/Application/HelloWorld/HelloWorld.uni @@ -3,10 +3,10 @@ //
// This is a sample shell application that will print "UEFI Hello World!" to the
// UEFI Console based on PCD setting.
-//
+//
// It demos how to use EDKII PCD mechanism to make code more flexible.
//
-// Copyright (c) 2008 - 2014, Intel Corporation. All rights reserved.<BR>
+// Copyright (c) 2008 - 2018, Intel Corporation. All rights reserved.<BR>
//
// This program and the accompanying materials
// are licensed and made available under the terms and conditions of the BSD License
diff --git a/MdeModulePkg/Application/HelloWorld/HelloWorldExtra.uni b/MdeModulePkg/Application/HelloWorld/HelloWorldExtra.uni index e20b4a5a3f..1b78d0c98c 100644 --- a/MdeModulePkg/Application/HelloWorld/HelloWorldExtra.uni +++ b/MdeModulePkg/Application/HelloWorld/HelloWorldExtra.uni @@ -1,7 +1,7 @@ // /** @file
// HelloWorld Localized Strings and Content
//
-// Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved.<BR>
+// Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>
//
// This program and the accompanying materials
// are licensed and made available under the terms and conditions of the BSD License
@@ -12,8 +12,8 @@ //
// **/
-#string STR_PROPERTIES_MODULE_NAME
-#language en-US
+#string STR_PROPERTIES_MODULE_NAME
+#language en-US
"Hello World Application"
|