ed72955c |
1 | /** @file\r |
2 | This driver supports platform security service\r |
878ddf1f |
3 | \r |
ed72955c |
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 |
878ddf1f |
9 | \r |
ed72955c |
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 |
878ddf1f |
12 | \r |
ed72955c |
13 | **/\r |
878ddf1f |
14 | \r |
15 | VOID\r |
16 | Print (\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 |
30 | EFI_STATUS\r |
31 | EFIAPI\r |
32 | UefiMain (\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 |