]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/Library/PlatformDebugLibIoPort/DebugIoPortNocheck.c
OvmfPkg/PlatformDebugLibIoPort: Introduce a Nocheck variant
[mirror_edk2.git] / OvmfPkg / Library / PlatformDebugLibIoPort / DebugIoPortNocheck.c
diff --git a/OvmfPkg/Library/PlatformDebugLibIoPort/DebugIoPortNocheck.c b/OvmfPkg/Library/PlatformDebugLibIoPort/DebugIoPortNocheck.c
new file mode 100644 (file)
index 0000000..0ef7920
--- /dev/null
@@ -0,0 +1,25 @@
+/** @file\r
+  Dectection code for hypervisor debug port.\r
+\r
+  Copyright (c) 2020, Citrix Systems, Inc.\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
+\r
+**/\r
+\r
+#include "DebugLibDetect.h"\r
+\r
+/**\r
+  Always return TRUE without detection as the debug I/O port is always\r
+  present.\r
+\r
+  @retval TRUE   The debug I/O port is always present.\r
+\r
+**/\r
+BOOLEAN\r
+EFIAPI\r
+PlatformDebugLibIoPortDetect (\r
+  VOID\r
+  )\r
+{\r
+  return TRUE;\r
+}\r