Added Print, ErrorPrint, AsciiPrint, AsciiErrorPrint() to the UEFI Library.
[mirror_edk2.git] / EdkModulePkg / Application / HelloWorld / HelloWorld.c
CommitLineData
ed72955c 1/** @file\r
22d9199f 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
ed72955c 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
878ddf1f 15EFI_STATUS\r
16EFIAPI\r
17UefiMain (\r
18 IN EFI_HANDLE ImageHandle,\r
19 IN EFI_SYSTEM_TABLE *SystemTable\r
20 )\r
21\r
22{\r
22d9199f 23 CHAR16 Ptr16;\r
24 \r
878ddf1f 25 Print ((CHAR16 *)L"UEFI Hello World!\n");\r
22d9199f 26\r
878ddf1f 27 return EFI_SUCCESS;\r
28}\r