]> git.proxmox.com Git - mirror_edk2.git/blame - AppPkg/Applications/Hello/Hello.c
AppPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / AppPkg / Applications / Hello / Hello.c
CommitLineData
2aa62f2b 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
bcb96695 6 SPDX-License-Identifier: BSD-2-Clause-Patent\r
2aa62f2b 7**/\r
8#include <Uefi.h>\r
9#include <Library/UefiLib.h>\r
10#include <Library/ShellCEntryLib.h>\r
11\r
12/***\r
13 Print a welcoming message.\r
14\r
15 Establishes the main structure of the application.\r
16\r
17 @retval 0 The application exited normally.\r
18 @retval Other An error occurred.\r
19***/\r
20INTN\r
21EFIAPI\r
22ShellAppMain (\r
23 IN UINTN Argc,\r
24 IN CHAR16 **Argv\r
25 )\r
26{\r
27 Print(L"Hello there fellow Programmer.\n");\r
28 Print(L"Welcome to the world of EDK II.\n");\r
29\r
30 return(0);\r
31}\r