]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - EdkModulePkg/Application/HelloWorld/HelloWorld.c
Add temporary fix for PeLoader
[mirror_edk2.git] / EdkModulePkg / Application / HelloWorld / HelloWorld.c
... / ...
CommitLineData
1/** @file\r
2 This driver supports platform security service\r
3\r
4 Copyright (c) 2006, Intel Corporation \r
5 All rights reserved. This program and the accompanying materials \r
6 are licensed and made available under the terms and conditions of the BSD License \r
7 which accompanies this distribution. The full text of the license may be found at \r
8 http://opensource.org/licenses/bsd-license.php \r
9\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
12\r
13**/\r
14\r
15VOID\r
16Print (\r
17 IN CONST CHAR16 *Format,\r
18 ...\r
19 )\r
20{\r
21 CHAR16 PrintBuffer[0x100];\r
22 VA_LIST Marker;\r
23\r
24 VA_START (Marker, Format);\r
25 UnicodeVSPrint (PrintBuffer, sizeof (PrintBuffer), Format, Marker);\r
26 gST->ConOut->OutputString (gST->ConOut, PrintBuffer);\r
27 return;\r
28}\r
29\r
30EFI_STATUS\r
31EFIAPI\r
32UefiMain (\r
33 IN EFI_HANDLE ImageHandle,\r
34 IN EFI_SYSTEM_TABLE *SystemTable\r
35 )\r
36\r
37{\r
38 Print ((CHAR16 *)L"UEFI Hello World!\n");\r
39 return EFI_SUCCESS;\r
40}\r