[MLX4] 1) added support for sending large multi-parameter messages to System Event...
[mirror/winof/.git] / hw / mlx4 / kernel / inc / l2w_debug.h
1 #pragma once
2
3 VOID
4 WriteEventLogEntryStr(
5         PVOID   pi_pIoObject,
6         ULONG   pi_ErrorCode,
7         ULONG   pi_UniqueErrorCode,
8         ULONG   pi_FinalStatus,
9         PWCHAR  pi_InsertionStr,
10         ULONG   pi_nDataItems,
11         ...
12         );
13
14 VOID
15 WriteEventLogEntryData(
16         PVOID   pi_pIoObject,
17         ULONG   pi_ErrorCode,
18         ULONG   pi_UniqueErrorCode,
19         ULONG   pi_FinalStatus,
20         ULONG   pi_nDataItems,
21         ...
22         );
23
24 void
25 mlx4_err(
26         IN struct mlx4_dev *    mdev,
27         IN char*                                format,
28         ...
29         );
30
31 void
32 mlx4_dbg(
33         IN struct mlx4_dev *    mdev,
34         IN char*                                format,
35         ...
36         );
37
38 VOID
39 dev_err(
40         IN struct mlx4_dev **   mdev,
41         IN char*                                format,
42         ...
43         );
44
45 VOID
46 dev_info(
47         IN struct mlx4_dev **   p_mdev,
48         IN char*                                format,
49         ...
50         );
51
52 #define mlx4_warn       mlx4_err
53 #define mlx4_info       mlx4_dbg
54 #define dev_warn        dev_err
55