X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FApplication%2FHelloWorld%2FHelloWorld.c;fp=MdeModulePkg%2FApplication%2FHelloWorld%2FHelloWorld.c;h=bcabed5796dec4b95305ed0d59a2c861ef0147a7;hp=0000000000000000000000000000000000000000;hb=b7d286b6f9c1b447c706ab75377848bf05a3dfed;hpb=43fcd99927a25327414ee0dfa7db73ae53df1a88 diff --git a/MdeModulePkg/Application/HelloWorld/HelloWorld.c b/MdeModulePkg/Application/HelloWorld/HelloWorld.c new file mode 100644 index 0000000000..bcabed5796 --- /dev/null +++ b/MdeModulePkg/Application/HelloWorld/HelloWorld.c @@ -0,0 +1,32 @@ +/** @file + This simple application just print a "UEFI Hello World!" to the UEFI Console. + + Copyright (c) 2006 - 2007, Intel Corporation + All rights reserved. This program and the accompanying materials + are licensed and made available under the terms and conditions of the BSD License + which accompanies this distribution. The full text of the license may be found at + http://opensource.org/licenses/bsd-license.php + + THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + +**/ + +// +// Include common header file for this module. +// +#include "CommonHeader.h" + +EFI_STATUS +EFIAPI +UefiMain ( + IN EFI_HANDLE ImageHandle, + IN EFI_SYSTEM_TABLE *SystemTable + ) + +{ + + Print ((CHAR16 *)L"UEFI Hello World!\n"); + + return EFI_SUCCESS; +}