summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/UefiLib
diff options
context:
space:
mode:
authorAJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524>2007-06-29 23:22:13 +0000
committerAJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524>2007-06-29 23:22:13 +0000
commitf734a10ab104f1072f94cab66a5489e0fd8fce8a (patch)
treeb2e02ec5bc4bdf9a21166d50f57365e602c07310 /MdePkg/Library/UefiLib
parentbd0aee7629debf78fffc656f62bd01af3acc0464 (diff)
downloadedk2-f734a10ab104f1072f94cab66a5489e0fd8fce8a.tar.gz
edk2-f734a10ab104f1072f94cab66a5489e0fd8fce8a.tar.bz2
edk2-f734a10ab104f1072f94cab66a5489e0fd8fce8a.zip
Removed CommonHeader.h generated file from the MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2922 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/UefiLib')
-rw-r--r--MdePkg/Library/UefiLib/Console.c2
-rw-r--r--MdePkg/Library/UefiLib/UefiDriverModel.c2
-rw-r--r--MdePkg/Library/UefiLib/UefiLib.c2
-rw-r--r--MdePkg/Library/UefiLib/UefiLib.inf2
-rw-r--r--MdePkg/Library/UefiLib/UefiLibInternal.h (renamed from MdePkg/Library/UefiLib/CommonHeader.h)21
-rw-r--r--MdePkg/Library/UefiLib/UefiLibPrint.c2
-rw-r--r--MdePkg/Library/UefiLib/UefiNotTiano.c2
7 files changed, 10 insertions, 23 deletions
diff --git a/MdePkg/Library/UefiLib/Console.c b/MdePkg/Library/UefiLib/Console.c
index b82af08ffc..b549e7e018 100644
--- a/MdePkg/Library/UefiLib/Console.c
+++ b/MdePkg/Library/UefiLib/Console.c
@@ -19,7 +19,7 @@
//
// Include common header file for this module.
//
-#include "CommonHeader.h"
+#include "UefiLibInternal.h"
typedef struct {
CHAR16 WChar;
diff --git a/MdePkg/Library/UefiLib/UefiDriverModel.c b/MdePkg/Library/UefiLib/UefiDriverModel.c
index 582ad6acdd..0a72d263ad 100644
--- a/MdePkg/Library/UefiLib/UefiDriverModel.c
+++ b/MdePkg/Library/UefiLib/UefiDriverModel.c
@@ -16,7 +16,7 @@
//
// Include common header file for this module.
//
-#include "CommonHeader.h"
+#include "UefiLibInternal.h"
/**
Intialize a driver by installing the Driver Binding Protocol onto the
diff --git a/MdePkg/Library/UefiLib/UefiLib.c b/MdePkg/Library/UefiLib/UefiLib.c
index f4eb3eb43b..a2d93d5f89 100644
--- a/MdePkg/Library/UefiLib/UefiLib.c
+++ b/MdePkg/Library/UefiLib/UefiLib.c
@@ -17,7 +17,7 @@
//
// Include common header file for this module.
//
-#include "CommonHeader.h"
+#include "UefiLibInternal.h"
/**
Compare whether two names of languages are identical.
diff --git a/MdePkg/Library/UefiLib/UefiLib.inf b/MdePkg/Library/UefiLib/UefiLib.inf
index 6f6d034d52..732b73b9d1 100644
--- a/MdePkg/Library/UefiLib/UefiLib.inf
+++ b/MdePkg/Library/UefiLib/UefiLib.inf
@@ -51,7 +51,7 @@
UefiDriverModel.c
Console.c
UefiLib.c
- CommonHeader.h
+ UefiLibInternal.h
################################################################################
diff --git a/MdePkg/Library/UefiLib/CommonHeader.h b/MdePkg/Library/UefiLib/UefiLibInternal.h
index ad028a769a..82ba4c439e 100644
--- a/MdePkg/Library/UefiLib/CommonHeader.h
+++ b/MdePkg/Library/UefiLib/UefiLibInternal.h
@@ -1,9 +1,7 @@
/**@file
- Common header file shared by all source files.
+ Internal include file for UefiLib.
- This file includes package header files, library classes and protocol, PPI & GUID definitions.
-
- Copyright (c) 2007, Intel Corporation.
+ Copyright (c) 2007, Intel Corporation.<BR>
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
@@ -12,30 +10,19 @@
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
-#ifndef __COMMON_HEADER_H_
-#define __COMMON_HEADER_H_
+#ifndef __UEFI_LIB_INTERNAL_H_
+#define __UEFI_LIB_INTERNAL_H_
-//
-// The package level header files this module uses
-//
#include <PiDxe.h>
-//
-// The protocols, PPI and GUID defintions for this module
-//
#include <Protocol/DriverBinding.h>
#include <Protocol/ComponentName.h>
#include <Protocol/ComponentName2.h>
#include <Protocol/DriverConfiguration.h>
#include <Protocol/DriverDiagnostics.h>
#include <Protocol/DriverDiagnostics2.h>
-
-
#include <Guid/EventGroup.h>
#include <Guid/EventLegacyBios.h>
-//
-// The Library classes this module consumes
-//
#include <Library/UefiLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/BaseLib.h>
diff --git a/MdePkg/Library/UefiLib/UefiLibPrint.c b/MdePkg/Library/UefiLib/UefiLibPrint.c
index f4453e4cd8..de3e68ea2f 100644
--- a/MdePkg/Library/UefiLib/UefiLibPrint.c
+++ b/MdePkg/Library/UefiLib/UefiLibPrint.c
@@ -16,7 +16,7 @@
//
// Include common header file for this module.
//
-#include "CommonHeader.h"
+#include "UefiLibInternal.h"
/**
Internal function which prints a formatted Unicode string to the console output device
diff --git a/MdePkg/Library/UefiLib/UefiNotTiano.c b/MdePkg/Library/UefiLib/UefiNotTiano.c
index 9eba9ddf48..f51a16cb7e 100644
--- a/MdePkg/Library/UefiLib/UefiNotTiano.c
+++ b/MdePkg/Library/UefiLib/UefiNotTiano.c
@@ -21,7 +21,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
//
// Include common header file for this module.
//
-#include "CommonHeader.h"
+#include "UefiLibInternal.h"
/**
An empty function to pass error checking of CreateEventEx ().