aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--EfiGuardDxe/VisualUefi.c2
-rw-r--r--EfiGuardDxe/util.c1
-rw-r--r--EfiGuardDxe/util.h1
-rw-r--r--EfiGuardPkg.dsc4
4 files changed, 8 insertions, 0 deletions
diff --git a/EfiGuardDxe/VisualUefi.c b/EfiGuardDxe/VisualUefi.c
index e1f76db..9795faf 100644
--- a/EfiGuardDxe/VisualUefi.c
+++ b/EfiGuardDxe/VisualUefi.c
@@ -5,6 +5,7 @@
#include <Uefi.h>
#include <Protocol/DriverSupportedEfiVersion.h>
+#include <Protocol/SimpleTextInEx.h>
#include <Protocol/EfiGuard.h>
#include <Guid/Acpi.h>
#include <Library/DebugLib.h>
@@ -31,6 +32,7 @@ EFI_GUID gEfiGuardDriverProtocolGuid = EFI_EFIGUARD_DRIVER_PROTOCOL_GUID;
// GUIDs
//
EFI_GUID gEfiDriverSupportedEfiVersionProtocolGuid = EFI_DRIVER_SUPPORTED_EFI_VERSION_PROTOCOL_GUID;
+EFI_GUID gEfiSimpleTextInputExProtocolGuid = EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL_GUID;
EFI_GUID gEfiAcpi20TableGuid = EFI_ACPI_20_TABLE_GUID;
diff --git a/EfiGuardDxe/util.c b/EfiGuardDxe/util.c
index e5c0166..178dbc7 100644
--- a/EfiGuardDxe/util.c
+++ b/EfiGuardDxe/util.c
@@ -16,6 +16,7 @@ STATIC ZydisFormatterFunc DefaultInstructionFormatter;
EFI_STATUS
+EFIAPI
RtlSleep(
IN UINTN Milliseconds
)
diff --git a/EfiGuardDxe/util.h b/EfiGuardDxe/util.h
index 371f402..65a2200 100644
--- a/EfiGuardDxe/util.h
+++ b/EfiGuardDxe/util.h
@@ -29,6 +29,7 @@ RtlSleep(
// Stalls CPU for N milliseconds.
//
EFI_STATUS
+EFIAPI
RtlStall(
IN UINTN Milliseconds
);
diff --git a/EfiGuardPkg.dsc b/EfiGuardPkg.dsc
index 7da3dc1..8f39d99 100644
--- a/EfiGuardPkg.dsc
+++ b/EfiGuardPkg.dsc
@@ -66,6 +66,10 @@
UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
[PcdsFixedAtBuild]
+!if $(TARGET) == DEBUG
+ gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x07
+!endif
+
# Enable error and progress status code reporting
gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x03