Set version to 3.22.0-RC2
[valgrind.git] / include / pub_tool_vki.h
blob24f99cc09f1682e2e3b1a178a7865b0b4518ef7e
2 /*--------------------------------------------------------------------*/
3 /*--- Top level for kernel interface declarations. ---*/
4 /*--- pub_tool_vki.h ---*/
5 /*--------------------------------------------------------------------*/
7 /*
8 This file is part of Valgrind, a dynamic binary instrumentation
9 framework.
11 Copyright (C) 2000-2017 Julian Seward
12 jseward@acm.org
13 Copyright (C) 2005-2017 Nicholas Nethercote
14 njn@valgrind.org
15 Copyright (C) 2006-2017 OpenWorks LLP
16 info@open-works.co.uk
18 This program is free software; you can redistribute it and/or
19 modify it under the terms of the GNU General Public License as
20 published by the Free Software Foundation; either version 2 of the
21 License, or (at your option) any later version.
23 This program is distributed in the hope that it will be useful, but
24 WITHOUT ANY WARRANTY; without even the implied warranty of
25 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
26 General Public License for more details.
28 You should have received a copy of the GNU General Public License
29 along with this program; if not, see <http://www.gnu.org/licenses/>.
31 The GNU General Public License is contained in the file COPYING.
34 /* This file defines types and constants for the kernel interface, and to
35 make that clear everything is prefixed VKI_/vki_.
37 This file is merely a top-level "steering" file, which pulls in the
38 correct bits for the relevant platform. You should not directly
39 #include any file in include/vki; instead #include only this one or
40 pub_core_vki.h.
43 #ifndef __PUB_TOOL_VKI_H
44 #define __PUB_TOOL_VKI_H
46 #if defined(VGO_linux)
47 # include "vki/vki-linux.h"
48 # include "vki/vki-linux-drm.h"
49 # include "vki/vki-linux-io_uring.h"
50 #elif defined(VGO_darwin)
51 # include "vki/vki-darwin.h"
52 #elif defined(VGO_solaris)
53 # include "vki/vki-solaris.h"
54 #elif defined(VGO_freebsd)
55 # include "vki/vki-freebsd.h"
56 #else
57 # error Unknown Plat/OS
58 #endif
60 #if defined(VGP_amd64_linux) || defined(VGP_x86_linux)
61 # include "vki/vki-xen.h"
62 #endif
65 #endif // __PUB_TOOL_VKI_H
67 /*--------------------------------------------------------------------*/
68 /*--- end pub_tool_vki.h ---*/
69 /*--------------------------------------------------------------------*/