2011-04-27 23:42:16 +02:00
|
|
|
/** @file
|
|
|
|
A simple, basic, EDK II native, "hello" application to verify that
|
|
|
|
we can build applications without LibC.
|
|
|
|
|
|
|
|
Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>
|
2019-04-04 01:07:42 +02:00
|
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
2011-04-27 23:42:16 +02:00
|
|
|
**/
|
|
|
|
#include <Uefi.h>
|
|
|
|
#include <Library/UefiLib.h>
|
|
|
|
#include <Library/ShellCEntryLib.h>
|
|
|
|
|
|
|
|
/***
|
|
|
|
Print a welcoming message.
|
|
|
|
|
|
|
|
Establishes the main structure of the application.
|
|
|
|
|
|
|
|
@retval 0 The application exited normally.
|
|
|
|
@retval Other An error occurred.
|
|
|
|
***/
|
|
|
|
INTN
|
|
|
|
EFIAPI
|
|
|
|
ShellAppMain (
|
|
|
|
IN UINTN Argc,
|
|
|
|
IN CHAR16 **Argv
|
|
|
|
)
|
|
|
|
{
|
|
|
|
Print(L"Hello there fellow Programmer.\n");
|
|
|
|
Print(L"Welcome to the world of EDK II.\n");
|
|
|
|
|
|
|
|
return(0);
|
|
|
|
}
|