/** @file\r
- This driver supports platform security service\r
-\r
- Copyright (c) 2006, Intel Corporation \r
+ This simple application just print a "UEFI Hello World!" to the UEFI Console.\r
+ \r
+ Copyright (c) 2006 - 2007, Intel Corporation \r
All rights reserved. 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
\r
**/\r
\r
-STATIC\r
-VOID\r
-Print (\r
- IN CONST CHAR16 *Format,\r
- ...\r
- )\r
-{\r
- CHAR16 PrintBuffer[0x100];\r
- VA_LIST Marker;\r
-\r
- VA_START (Marker, Format);\r
- UnicodeVSPrint (PrintBuffer, sizeof (PrintBuffer), Format, Marker);\r
- gST->ConOut->OutputString (gST->ConOut, PrintBuffer);\r
- return;\r
-}\r
-\r
-EFI_STATUS\r
-EFIAPI\r
-UefiMain (\r
- IN EFI_HANDLE ImageHandle,\r
- IN EFI_SYSTEM_TABLE *SystemTable\r
- );\r
-\r
EFI_STATUS\r
EFIAPI\r
UefiMain (\r
)\r
\r
{\r
+ \r
Print ((CHAR16 *)L"UEFI Hello World!\n");\r
+\r
return EFI_SUCCESS;\r
}\r