/** @file\r
- This sample application bases on HelloWorld PCD setting \r
+ This sample application bases on HelloWorld PCD setting\r
to print "UEFI Hello World!" to the UEFI Console.\r
\r
- Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>\r
- This program and the accompanying materials \r
- are licensed and made available under the terms and conditions of the BSD License \r
- which accompanies this distribution. The full text of the license may be found at \r
- http://opensource.org/licenses/bsd-license.php \r
+ Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+ This program and the accompanying materials\r
+ are licensed and made available under the terms and conditions of the BSD License\r
+ which accompanies this distribution. The full text of the license may be found at\r
+ http://opensource.org/licenses/bsd-license.php\r
\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
\r
**/\r
\r
The user Entry Point for Application. The user code starts with this function\r
as the real entry point for the application.\r
\r
- @param[in] ImageHandle The firmware allocated handle for the EFI image. \r
+ @param[in] ImageHandle The firmware allocated handle for the EFI image.\r
@param[in] SystemTable A pointer to the EFI System Table.\r
- \r
+\r
@retval EFI_SUCCESS The entry point is executed successfully.\r
@retval other Some error occurs when executing this entry point.\r
\r
IN EFI_SYSTEM_TABLE *SystemTable\r
)\r
{\r
- UINT32 Index;\r
- \r
- Index = 0;\r
- \r
+ UINT32 Index;\r
+\r
+ Index = 0;\r
+\r
//\r
// Three PCD type (FeatureFlag, UINT32 and String) are used as the sample.\r
//\r
if (FeaturePcdGet (PcdHelloWorldPrintEnable)) {\r
- for (Index = 0; Index < PcdGet32 (PcdHelloWorldPrintTimes); Index ++) {\r
- //\r
- // Use UefiLib Print API to print string to UEFI console\r
- //\r
- Print ((CHAR16*)PcdGetPtr (PcdHelloWorldPrintString));\r
+ for (Index = 0; Index < PcdGet32 (PcdHelloWorldPrintTimes); Index ++) {\r
+ //\r
+ // Use UefiLib Print API to print string to UEFI console\r
+ //\r
+ Print ((CHAR16*)PcdGetPtr (PcdHelloWorldPrintString));\r
}\r
}\r
\r