summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Application/HelloWorld
diff options
context:
space:
mode:
authorAJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524>2007-06-26 00:32:26 +0000
committerAJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524>2007-06-26 00:32:26 +0000
commitb9575d60301f0e2d1cb10b7bce04242c32f5b0bc (patch)
treeedf7420570c894a267daf09a8f9d420f7a742ec9 /MdeModulePkg/Application/HelloWorld
parentcf61682357433f09cb98c9a8c413550573a8bbf8 (diff)
downloadedk2-platforms-b9575d60301f0e2d1cb10b7bce04242c32f5b0bc.tar.xz
pdated code per coding standard. Changed comments, converted all \ to / and removed the extra generated files by merging them into existing files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2736 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Application/HelloWorld')
-rw-r--r--MdeModulePkg/Application/HelloWorld/CommonHeader.h34
-rw-r--r--MdeModulePkg/Application/HelloWorld/HelloWorld.c13
-rw-r--r--MdeModulePkg/Application/HelloWorld/HelloWorld.inf6
3 files changed, 16 insertions, 37 deletions
diff --git a/MdeModulePkg/Application/HelloWorld/CommonHeader.h b/MdeModulePkg/Application/HelloWorld/CommonHeader.h
deleted file mode 100644
index d1e5656187..0000000000
--- a/MdeModulePkg/Application/HelloWorld/CommonHeader.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/**@file
- Common header file shared by all source files.
-
- This file includes package header files, library classes and protocol, PPI & GUID definitions.
-
- Copyright (c) 2007 - 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.
-**/
-
-#ifndef __COMMON_HEADER_H_
-#define __COMMON_HEADER_H_
-
-
-//
-// The package level header files this module uses
-//
-#include <Uefi.h>
-//
-// The protocols, PPI and GUID defintions for this module
-//
-//
-// The Library classes this module consumes
-//
-#include <Library/DebugLib.h>
-#include <Library/UefiLib.h>
-#include <Library/UefiApplicationEntryPoint.h>
-#include <Library/UefiBootServicesTableLib.h>
-
-#endif
diff --git a/MdeModulePkg/Application/HelloWorld/HelloWorld.c b/MdeModulePkg/Application/HelloWorld/HelloWorld.c
index af552174ea..4106753492 100644
--- a/MdeModulePkg/Application/HelloWorld/HelloWorld.c
+++ b/MdeModulePkg/Application/HelloWorld/HelloWorld.c
@@ -18,6 +18,19 @@
#include <Library/UefiApplicationEntryPoint.h>
#include <Library/UefiBootServicesTableLib.h>
+
+/**
+ The user Entry Point for Application. The user code starts with this function
+ as the real entry point for the image goes into a library that calls this
+ function.
+
+ @param[in] ImageHandle The firmware allocated handle for the EFI image.
+ @param[in] SystemTable A pointer to the EFI System Table.
+
+ @retval EFI_SUCCESS The entry point is executed successfully.
+ @retval other Some error occurs when executing this entry point.
+
+**/
EFI_STATUS
EFIAPI
UefiMain (
diff --git a/MdeModulePkg/Application/HelloWorld/HelloWorld.inf b/MdeModulePkg/Application/HelloWorld/HelloWorld.inf
index b4990d34cd..dbe69fced2 100644
--- a/MdeModulePkg/Application/HelloWorld/HelloWorld.inf
+++ b/MdeModulePkg/Application/HelloWorld/HelloWorld.inf
@@ -54,7 +54,7 @@
################################################################################
[Includes]
- $(WORKSPACE)/MdePkg\Include/Library
+ $(WORKSPACE)/MdePkg/Include/Library
################################################################################
#
@@ -64,8 +64,8 @@
################################################################################
[Packages]
- $(WORKSPACE)\MdeModulePkg/MdeModulePkg.dec
- $(WORKSPACE)\MdePkg/MdePkg.dec
+ $(WORKSPACE)/MdeModulePkg/MdeModulePkg.dec
+ $(WORKSPACE)/MdePkg/MdePkg.dec
################################################################################