diff options
Diffstat (limited to 'MdeModulePkg/Application')
-rw-r--r-- | MdeModulePkg/Application/HelloWorld/CommonHeader.h | 34 | ||||
-rw-r--r-- | MdeModulePkg/Application/HelloWorld/HelloWorld.c | 13 | ||||
-rw-r--r-- | MdeModulePkg/Application/HelloWorld/HelloWorld.inf | 6 |
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 d1e5656..0000000 --- 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 af55217..4106753 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 b4990d3..dbe69fc 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
################################################################################
|