summaryrefslogtreecommitdiff
path: root/Nt32Pkg/Sec
diff options
context:
space:
mode:
Diffstat (limited to 'Nt32Pkg/Sec')
-rw-r--r--Nt32Pkg/Sec/SecMain.c1
-rw-r--r--Nt32Pkg/Sec/SecMain.h3
-rw-r--r--Nt32Pkg/Sec/SecMain.inf1
3 files changed, 2 insertions, 3 deletions
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 <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 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]