1 | /* $Id: DrvIfsTraceInternal.h 93115 2022-01-01 11:31:46Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * VBox interface callback tracing driver - internal header.
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2020-2022 Oracle Corporation
|
---|
8 | *
|
---|
9 | * This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
10 | * available from http://www.virtualbox.org. This file is free software;
|
---|
11 | * you can redistribute it and/or modify it under the terms of the GNU
|
---|
12 | * General Public License (GPL) as published by the Free Software
|
---|
13 | * Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | */
|
---|
17 |
|
---|
18 | #ifndef VBOX_INCLUDED_SRC_Trace_DrvIfsTraceInternal_h
|
---|
19 | #define VBOX_INCLUDED_SRC_Trace_DrvIfsTraceInternal_h
|
---|
20 | #ifndef RT_WITHOUT_PRAGMA_ONCE
|
---|
21 | # pragma once
|
---|
22 | #endif
|
---|
23 |
|
---|
24 | #include <VBox/vmm/pdmdrv.h>
|
---|
25 | #include <VBox/vmm/pdmserialifs.h>
|
---|
26 |
|
---|
27 | #include <iprt/types.h>
|
---|
28 |
|
---|
29 |
|
---|
30 | /**
|
---|
31 | * Interface Tracing Driver Instance Data.
|
---|
32 | */
|
---|
33 | typedef struct DRVIFTRACE
|
---|
34 | {
|
---|
35 | /** @name Interfaces exposed by this driver.
|
---|
36 | * @{ */
|
---|
37 | PDMIBASE IBase;
|
---|
38 | PDMISERIALPORT ISerialPort;
|
---|
39 | PDMISERIALCONNECTOR ISerialConnector;
|
---|
40 | /** @} */
|
---|
41 |
|
---|
42 | /** @name Interfaces exposed by the driver below us.
|
---|
43 | * @{ */
|
---|
44 | PPDMISERIALCONNECTOR pISerialConBelow;
|
---|
45 | /** @} */
|
---|
46 |
|
---|
47 | /** @name Interfaces exposed by the driver/device above us.
|
---|
48 | * @{ */
|
---|
49 | PPDMISERIALPORT pISerialPortAbove;
|
---|
50 | /** @} */
|
---|
51 |
|
---|
52 | /** PDM device driver instance pointer. */
|
---|
53 | PPDMDRVINS pDrvIns;
|
---|
54 | /** The trace log writer handle. */
|
---|
55 | RTTRACELOGWR hTraceLog;
|
---|
56 | /** Path of the trace log file. */
|
---|
57 | char *pszTraceFilePath;
|
---|
58 |
|
---|
59 | } DRVIFTRACE;
|
---|
60 | /** Pointer to a interface tracing driver instance. */
|
---|
61 | typedef DRVIFTRACE *PDRVIFTRACE;
|
---|
62 |
|
---|
63 |
|
---|
64 | DECLHIDDEN(void) drvIfsTrace_SerialIfInit(PDRVIFTRACE pThis);
|
---|
65 |
|
---|
66 | #endif /* !VBOX_INCLUDED_SRC_Trace_DrvIfsTraceInternal_h */
|
---|