/** @file\r
- Detection code for QEMU debug port.\r
+ Detection code for hypervisor debug port.\r
Non-SEC instance, caches the result of detection.\r
\r
Copyright (c) 2017, Red Hat, Inc.<BR>\r
- This program and the accompanying materials\r
- are licensed and made available under the terms and conditions of the BSD License\r
- which accompanies this distribution. The full text of the license may be found at\r
- http://opensource.org/licenses/bsd-license.php.\r
-\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+ SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
\r
//\r
// Set to TRUE if the debug I/O port has been checked\r
//\r
-STATIC BOOLEAN mDebugIoPortChecked = FALSE;\r
+STATIC BOOLEAN mDebugIoPortChecked = FALSE;\r
\r
//\r
// Set to TRUE if the debug I/O port is enabled\r
//\r
-STATIC BOOLEAN mDebugIoPortFound = FALSE;\r
+STATIC BOOLEAN mDebugIoPortFound = FALSE;\r
\r
/**\r
This constructor function must not do anything.\r
)\r
{\r
if (!mDebugIoPortChecked) {\r
- mDebugIoPortFound = PlatformDebugLibIoPortDetect ();\r
+ mDebugIoPortFound = PlatformDebugLibIoPortDetect ();\r
mDebugIoPortChecked = TRUE;\r
}\r
+\r
return mDebugIoPortFound;\r
}\r