]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - include/spl-ctl.h
Linux VM integration / device special files
[FreeBSD/FreeBSD.git] / include / spl-ctl.h
1 /*
2  *  This file is part of the SPL: Solaris Porting Layer.
3  *
4  *  Copyright (c) 2008 Lawrence Livermore National Security, LLC.
5  *  Produced at Lawrence Livermore National Laboratory
6  *  Written by:
7  *          Brian Behlendorf <behlendorf1@llnl.gov>,
8  *          Herb Wartens <wartens2@llnl.gov>,
9  *          Jim Garlick <garlick@llnl.gov>
10  *  UCRL-CODE-235197
11  *
12  *  This is free software; you can redistribute it and/or modify it
13  *  under the terms of the GNU General Public License as published by
14  *  the Free Software Foundation; either version 2 of the License, or
15  *  (at your option) any later version.
16  *
17  *  This is distributed in the hope that it will be useful, but WITHOUT
18  *  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
19  *  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
20  *  for more details.
21  *
22  *  You should have received a copy of the GNU General Public License along
23  *  with this program; if not, write to the Free Software Foundation, Inc.,
24  *  51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA.
25  */
26
27 #ifndef _DEBUG_CTL_H
28 #define _DEBUG_CTL_H
29
30 /* Contains shared definitions which both the userspace
31  * and kernelspace portions of splat must agree on.
32  */
33
34 typedef struct spl_debug_header {
35         int ph_len;
36         int ph_flags;
37         int ph_subsys;
38         int ph_mask;
39         int ph_cpu_id;
40         int ph_sec;
41         long ph_usec;
42         int ph_stack;
43         int ph_pid;
44         int ph_line_num;
45 } spl_debug_header_t;
46
47 #endif /* _DEBUG_CTL_H */