]> git.proxmox.com Git - mirror_edk2.git/blame - AppPkg/Applications/Main/Main.c
AppPkg: Removing ipf which is no longer supported from edk2.
[mirror_edk2.git] / AppPkg / Applications / Main / Main.c
CommitLineData
2aa62f2b 1/** @file\r
2 A simple, basic, application showing how the Hello application could be\r
3 built using the "Standard C Libraries" from StdLib.\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#include <stdio.h>\r
19\r
20/***\r
21 Demonstrates basic workings of the main() function by displaying a\r
22 welcoming message.\r
23\r
24 Note that the UEFI command line is composed of 16-bit UCS2 wide characters.\r
25 The easiest way to access the command line parameters is to cast Argv as:\r
26 wchar_t **wArgv = (wchar_t **)Argv;\r
27\r
28 @param[in] Argc Number of argument tokens pointed to by Argv.\r
29 @param[in] Argv Array of Argc pointers to command line tokens.\r
30\r
31 @retval 0 The application exited normally.\r
32 @retval Other An error occurred.\r
33***/\r
34int\r
2aa62f2b 35main (\r
36 IN int Argc,\r
37 IN char **Argv\r
38 )\r
39{\r
40\r
41 puts("Hello there fellow Programmer.");\r
42 puts("Welcome to the world of EDK II.");\r
43\r
44 return 0;\r
45}\r