]>
Commit | Line | Data |
---|---|---|
c9eb56e5 | 1 | /** @file\r |
c09d9571 PB |
2 | Detection code for QEMU debug port.\r |
3 | SEC instance, cannot cache the result of detection.\r | |
c9eb56e5 PB |
4 | \r |
5 | Copyright (c) 2017, Red Hat, Inc.<BR>\r | |
b26f0cf9 | 6 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
c9eb56e5 PB |
7 | \r |
8 | **/\r | |
9 | \r | |
10 | #include <Base.h>\r | |
c09d9571 | 11 | #include "DebugLibDetect.h"\r |
c9eb56e5 PB |
12 | \r |
13 | /**\r | |
14 | This constructor function does not have anything to do.\r | |
15 | \r | |
16 | @retval RETURN_SUCCESS The constructor always returns RETURN_SUCCESS.\r | |
17 | \r | |
18 | **/\r | |
19 | RETURN_STATUS\r | |
20 | EFIAPI\r | |
21 | PlatformRomDebugLibIoPortConstructor (\r | |
22 | VOID\r | |
23 | )\r | |
24 | {\r | |
25 | return RETURN_SUCCESS;\r | |
26 | }\r | |
c09d9571 PB |
27 | \r |
28 | /**\r | |
29 | Return the result of detecting the debug I/O port device.\r | |
30 | \r | |
31 | @retval TRUE if the debug I/O port device was detected.\r | |
32 | @retval FALSE otherwise\r | |
33 | \r | |
34 | **/\r | |
35 | BOOLEAN\r | |
36 | EFIAPI\r | |
37 | PlatformDebugLibIoPortFound (\r | |
38 | VOID\r | |
39 | )\r | |
40 | {\r | |
41 | return PlatformDebugLibIoPortDetect ();\r | |
42 | }\r |