]>
Commit | Line | Data |
---|---|---|
b7d286b6 | 1 | /** @file\r |
2 | This simple application just print a "UEFI Hello World!" to the UEFI Console.\r | |
3 | \r | |
4 | Copyright (c) 2006 - 2007, 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 | |
ab9140c8 A |
15 | #include <Uefi.h>\r |
16 | #include <Library/DebugLib.h>\r | |
17 | #include <Library/UefiLib.h>\r | |
18 | #include <Library/UefiApplicationEntryPoint.h>\r | |
19 | #include <Library/UefiBootServicesTableLib.h>\r | |
b7d286b6 | 20 | \r |
21 | EFI_STATUS\r | |
22 | EFIAPI\r | |
23 | UefiMain (\r | |
24 | IN EFI_HANDLE ImageHandle,\r | |
25 | IN EFI_SYSTEM_TABLE *SystemTable\r | |
26 | )\r | |
27 | \r | |
28 | {\r | |
29 | \r | |
30 | Print ((CHAR16 *)L"UEFI Hello World!\n");\r | |
31 | \r | |
32 | return EFI_SUCCESS;\r | |
33 | }\r |