1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
| /* Broadcom NetXtreme-C/E network driver.
| *
| * Copyright (c) 2018 Broadcom Inc
| *
| * This program is free software; you can redistribute it and/or modify
| * it under the terms of the GNU General Public License as published by
| * the Free Software Foundation.
| */
|
| #ifndef BNXT_COREDUMP_H
| #define BNXT_COREDUMP_H
|
| struct bnxt_coredump_segment_hdr {
| __u8 signature[4];
| __le32 component_id;
| __le32 segment_id;
| __le32 flags;
| __u8 low_version;
| __u8 high_version;
| __le16 function_id;
| __le32 offset;
| __le32 length;
| __le32 status;
| __le32 duration;
| __le32 data_offset;
| __le32 instance;
| __le32 rsvd[5];
| };
|
| struct bnxt_coredump_record {
| __u8 signature[4];
| __le32 flags;
| __u8 low_version;
| __u8 high_version;
| __u8 asic_state;
| __u8 rsvd0[5];
| char system_name[32];
| __le16 year;
| __le16 month;
| __le16 day;
| __le16 hour;
| __le16 minute;
| __le16 second;
| __le16 utc_bias;
| __le16 rsvd1;
| char commandline[256];
| __le32 total_segments;
| __le32 os_ver_major;
| __le32 os_ver_minor;
| __le32 rsvd2;
| char os_name[32];
| __le16 end_year;
| __le16 end_month;
| __le16 end_day;
| __le16 end_hour;
| __le16 end_minute;
| __le16 end_second;
| __le16 end_utc_bias;
| __le32 asic_id1;
| __le32 asic_id2;
| __le32 coredump_status;
| __u8 ioctl_low_version;
| __u8 ioctl_high_version;
| __le16 rsvd3[313];
| };
| #endif
|
|