Vishal Bhoj | 82c8071 | 2015-12-15 21:13:33 +0530 | [diff] [blame^] | 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 | This program and the accompanying materials
|
| 7 | are licensed and made available under the terms and conditions of the BSD License
|
| 8 | which accompanies this distribution. The full text of the license may be found at
|
| 9 | http://opensource.org/licenses/bsd-license.
|
| 10 |
|
| 11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
| 12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
| 13 | **/
|
| 14 | #include <Uefi.h>
|
| 15 | #include <Library/UefiLib.h>
|
| 16 | #include <Library/ShellCEntryLib.h>
|
| 17 |
|
| 18 | /***
|
| 19 | Print a welcoming message.
|
| 20 |
|
| 21 | Establishes the main structure of the application.
|
| 22 |
|
| 23 | @retval 0 The application exited normally.
|
| 24 | @retval Other An error occurred.
|
| 25 | ***/
|
| 26 | INTN
|
| 27 | EFIAPI
|
| 28 | ShellAppMain (
|
| 29 | IN UINTN Argc,
|
| 30 | IN CHAR16 **Argv
|
| 31 | )
|
| 32 | {
|
| 33 | Print(L"Hello there fellow Programmer.\n");
|
| 34 | Print(L"Welcome to the world of EDK II.\n");
|
| 35 |
|
| 36 | return(0);
|
| 37 | }
|