]> git.proxmox.com Git - mirror_edk2.git/blob - AppPkg/Applications/Hello/Hello.c
EmbeddedPkg: Extend NvVarStoreFormattedLib LIBRARY_CLASS
[mirror_edk2.git] / AppPkg / Applications / Hello / Hello.c
1 /** @file
2 A simple, basic, EDK II native, "hello" application to verify that
3 we can build applications without LibC.
4
5 Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7 **/
8 #include <Uefi.h>
9 #include <Library/UefiLib.h>
10 #include <Library/ShellCEntryLib.h>
11
12 /***
13 Print a welcoming message.
14
15 Establishes the main structure of the application.
16
17 @retval 0 The application exited normally.
18 @retval Other An error occurred.
19 ***/
20 INTN
21 EFIAPI
22 ShellAppMain (
23 IN UINTN Argc,
24 IN CHAR16 **Argv
25 )
26 {
27 Print(L"Hello there fellow Programmer.\n");
28 Print(L"Welcome to the world of EDK II.\n");
29
30 return(0);
31 }