aboutsummaryrefslogtreecommitdiffstats
path: root/roms/edk2/IntelFsp2Pkg/Library/BaseDebugDeviceLibNull/DebugDeviceLibNull.c
diff options
context:
space:
mode:
Diffstat (limited to 'roms/edk2/IntelFsp2Pkg/Library/BaseDebugDeviceLibNull/DebugDeviceLibNull.c')
-rw-r--r--roms/edk2/IntelFsp2Pkg/Library/BaseDebugDeviceLibNull/DebugDeviceLibNull.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/roms/edk2/IntelFsp2Pkg/Library/BaseDebugDeviceLibNull/DebugDeviceLibNull.c b/roms/edk2/IntelFsp2Pkg/Library/BaseDebugDeviceLibNull/DebugDeviceLibNull.c
new file mode 100644
index 000000000..0bafca2fa
--- /dev/null
+++ b/roms/edk2/IntelFsp2Pkg/Library/BaseDebugDeviceLibNull/DebugDeviceLibNull.c
@@ -0,0 +1,25 @@
+/** @file
+ Debug device library instance that retrieves the current enabling state for
+ the platform debug output device.
+
+ Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>
+ SPDX-License-Identifier: BSD-2-Clause-Patent
+
+**/
+
+#include <Base.h>
+
+/**
+ Returns the debug print device enable state.
+
+ @return Debug print device enable state.
+
+**/
+UINT8
+EFIAPI
+GetDebugPrintDeviceEnable (
+ VOID
+ )
+{
+ return 1;
+}