summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Application/HelloWorld/HelloWorld.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Application/HelloWorld/HelloWorld.c')
-rw-r--r--MdeModulePkg/Application/HelloWorld/HelloWorld.c32
1 files changed, 32 insertions, 0 deletions
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;
+}