From 5e335a5280f74dc1f099abc29f008f311bba5eca Mon Sep 17 00:00:00 2001 From: mdkinney Date: Sun, 7 Jun 2009 01:14:53 +0000 Subject: [PATCH] Retire , , and They only provided a single #define that is associated with DEBUG() messages sent through ReportStatusCode. That one #define has now been added to git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8489 6f19259b-4bc3-4df7-8a09-765794883524 --- .../DxeNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c | 2 +- .../DxeNt32PeCoffExtraActionLib/DxeNt32PeCoffExtraActionLib.c | 1 - .../PeiNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c | 4 ++-- .../PeiNt32PeCoffExtraActionLib/PeiNt32PeCoffExtraActionLib.c | 3 +-- Nt32Pkg/Sec/SecMain.c | 1 - Nt32Pkg/Sec/SecMain.h | 3 +-- Nt32Pkg/Sec/SecMain.inf | 1 + 7 files changed, 6 insertions(+), 9 deletions(-) diff --git a/Nt32Pkg/Library/DxeNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c b/Nt32Pkg/Library/DxeNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c index 97d42237b7..d0d9147f02 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 -#include #include // @@ -26,6 +25,7 @@ // #include #include +#include // // The Library classes this module consumes // diff --git a/Nt32Pkg/Library/DxeNt32PeCoffExtraActionLib/DxeNt32PeCoffExtraActionLib.c b/Nt32Pkg/Library/DxeNt32PeCoffExtraActionLib/DxeNt32PeCoffExtraActionLib.c index ef46107742..23c19017df 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 -#include #include // diff --git a/Nt32Pkg/Library/PeiNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c b/Nt32Pkg/Library/PeiNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c index 56d402c84c..bc8db38796 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 -#include +#include #include // // The protocols, PPI and GUID defintions for this module // #include +#include #include // // The Library classes this module consumes diff --git a/Nt32Pkg/Library/PeiNt32PeCoffExtraActionLib/PeiNt32PeCoffExtraActionLib.c b/Nt32Pkg/Library/PeiNt32PeCoffExtraActionLib/PeiNt32PeCoffExtraActionLib.c index d3ac3ae183..828b494ab9 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 -#include +#include #include // diff --git a/Nt32Pkg/Sec/SecMain.c b/Nt32Pkg/Sec/SecMain.c index f1cf33910c..21cca57d5d 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 a94f1c111e..3d2dd2c53e 100644 --- a/Nt32Pkg/Sec/SecMain.h +++ b/Nt32Pkg/Sec/SecMain.h @@ -23,6 +23,7 @@ Abstract: #include #include #include +#include #include #include #include @@ -39,8 +40,6 @@ Abstract: #include -#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 c5f6bacaf4..cafa08b41f 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] -- 2.39.2