]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - AppPkg/Applications/Hello/Hello.c
Update the license dates
[mirror_edk2.git] / AppPkg / Applications / Hello / Hello.c
... / ...
CommitLineData
1/** @file\r
2 A simple, basic, EDK II native, "hello" application to verify that\r
3 we can build applications without LibC.\r
4\r
5 Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>\r
6 This program and the accompanying materials\r
7 are licensed and made available under the terms and conditions of the BSD License\r
8 which accompanies this distribution. The full text of the license may be found at\r
9 http://opensource.org/licenses/bsd-license.\r
10\r
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13**/\r
14#include <Uefi.h>\r
15#include <Library/UefiLib.h>\r
16#include <Library/ShellCEntryLib.h>\r
17\r
18/***\r
19 Print a welcoming message.\r
20\r
21 Establishes the main structure of the application.\r
22\r
23 @retval 0 The application exited normally.\r
24 @retval Other An error occurred.\r
25***/\r
26INTN\r
27EFIAPI\r
28ShellAppMain (\r
29 IN UINTN Argc,\r
30 IN CHAR16 **Argv\r
31 )\r
32{\r
33 Print(L"Hello there fellow Programmer.\n");\r
34 Print(L"Welcome to the world of EDK II.\n");\r
35\r
36 return(0);\r
37}\r