diff options
author | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-06-07 01:14:53 +0000 |
---|---|---|
committer | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-06-07 01:14:53 +0000 |
commit | 5e335a5280f74dc1f099abc29f008f311bba5eca (patch) | |
tree | 257be958b46480faa74fa5e63c04a83f0733ab5b | |
parent | 0c1e1762b31a4fd70d6865919c1d711bbe71e689 (diff) | |
download | edk2-5e335a5280f74dc1f099abc29f008f311bba5eca.zip edk2-5e335a5280f74dc1f099abc29f008f311bba5eca.tar.gz edk2-5e335a5280f74dc1f099abc29f008f311bba5eca.tar.bz2 |
Retire <FrameworkModuleBase.h>, <FrameworkModuleDxe.h>, and <FrameworkModulePei.h>
They only provided a single #define that is associated with DEBUG() messages sent through ReportStatusCode. That one #define has now been added to <Guid/StatusCodeDataTypeDebug.h>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8489 6f19259b-4bc3-4df7-8a09-765794883524
7 files changed, 6 insertions, 9 deletions
diff --git a/Nt32Pkg/Library/DxeNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c b/Nt32Pkg/Library/DxeNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c index 97d4223..d0d9147 100644 --- a/Nt32Pkg/Library/DxeNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c +++ b/Nt32Pkg/Library/DxeNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c @@ -18,7 +18,6 @@ // The package level header files this module uses
//
#include <FrameworkDxe.h>
-#include <FrameworkModuleDxe.h>
#include <WinNtDxe.h>
//
@@ -26,6 +25,7 @@ //
#include <Protocol/WinNtThunk.h>
#include <Guid/StatusCodeDataTypeId.h>
+#include <Guid/StatusCodeDataTypeDebug.h>
//
// The Library classes this module consumes
//
diff --git a/Nt32Pkg/Library/DxeNt32PeCoffExtraActionLib/DxeNt32PeCoffExtraActionLib.c b/Nt32Pkg/Library/DxeNt32PeCoffExtraActionLib/DxeNt32PeCoffExtraActionLib.c index ef46107..23c1901 100644 --- a/Nt32Pkg/Library/DxeNt32PeCoffExtraActionLib/DxeNt32PeCoffExtraActionLib.c +++ b/Nt32Pkg/Library/DxeNt32PeCoffExtraActionLib/DxeNt32PeCoffExtraActionLib.c @@ -25,7 +25,6 @@ Abstract: // The package level header files this module uses
//
#include <FrameworkDxe.h>
-#include <FrameworkModuleDxe.h>
#include <WinNtDxe.h>
//
diff --git a/Nt32Pkg/Library/PeiNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c b/Nt32Pkg/Library/PeiNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c index 56d402c..bc8db38 100644 --- a/Nt32Pkg/Library/PeiNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c +++ b/Nt32Pkg/Library/PeiNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c @@ -17,14 +17,14 @@ //
// The package level header files this module uses
//
-#include <FrameworkPei.h>
-#include <FrameworkModulePei.h>
+#include <PiPei.h>
#include <WinNtPeim.h>
//
// The protocols, PPI and GUID defintions for this module
//
#include <Guid/StatusCodeDataTypeId.h>
+#include <Guid/StatusCodeDataTypeDebug.h>
#include <Ppi/NtThunk.h>
//
// The Library classes this module consumes
diff --git a/Nt32Pkg/Library/PeiNt32PeCoffExtraActionLib/PeiNt32PeCoffExtraActionLib.c b/Nt32Pkg/Library/PeiNt32PeCoffExtraActionLib/PeiNt32PeCoffExtraActionLib.c index d3ac3ae..828b494 100644 --- a/Nt32Pkg/Library/PeiNt32PeCoffExtraActionLib/PeiNt32PeCoffExtraActionLib.c +++ b/Nt32Pkg/Library/PeiNt32PeCoffExtraActionLib/PeiNt32PeCoffExtraActionLib.c @@ -24,8 +24,7 @@ Abstract: //
// The package level header files this module uses
//
-#include <FrameworkPei.h>
-#include <FrameworkModulePei.h>
+#include <PiPei.h>
#include <WinNtPeim.h>
//
diff --git a/Nt32Pkg/Sec/SecMain.c b/Nt32Pkg/Sec/SecMain.c index f1cf339..21cca57 100644 --- a/Nt32Pkg/Sec/SecMain.c +++ b/Nt32Pkg/Sec/SecMain.c @@ -119,7 +119,6 @@ SecPrint ( va_start (Marker, Format);
-// vsprintf (Buffer, Format, Marker);
_vsnprintf (Buffer, sizeof (Buffer), Format, Marker);
CharCount = strlen (Buffer);
diff --git a/Nt32Pkg/Sec/SecMain.h b/Nt32Pkg/Sec/SecMain.h index a94f1c1..3d2dd2c 100644 --- a/Nt32Pkg/Sec/SecMain.h +++ b/Nt32Pkg/Sec/SecMain.h @@ -23,6 +23,7 @@ Abstract: #include <PiPei.h>
#include <PiDxe.h>
#include <WinNtPeim.h>
+#include <Guid/StatusCodeDataTypeDebug.h>
#include <Library/BaseLib.h>
#include <Library/PeCoffLib.h>
#include <Ppi/NtPeiLoadFile.h>
@@ -39,8 +40,6 @@ Abstract: #include <IndustryStandard/PeImage.h>
-#define EFI_STATUS_CODE_DATA_MAX_SIZE 200
-
#define STACK_SIZE 0x20000
typedef struct {
diff --git a/Nt32Pkg/Sec/SecMain.inf b/Nt32Pkg/Sec/SecMain.inf index c5f6bac..cafa08b 100644 --- a/Nt32Pkg/Sec/SecMain.inf +++ b/Nt32Pkg/Sec/SecMain.inf @@ -38,6 +38,7 @@ [Packages]
MdePkg/MdePkg.dec
MdeModulePkg/MdeModulePkg.dec
+ IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec
Nt32Pkg/Nt32Pkg.dec
[LibraryClasses]
|