blob: 7fbcb016aaa35ccee3c1db5f063a2adcc4c1982c [file] [log] [blame]
sewardj4cfea4f2006-10-14 19:26:10 +00001
2/*--------------------------------------------------------------------*/
3/*--- Top level for kernel interface declarations. ---*/
4/*--- pub_core_vki.h ---*/
5/*--------------------------------------------------------------------*/
6
7/*
8 This file is part of Valgrind, a dynamic binary instrumentation
9 framework.
10
Elliott Hughesed398002017-06-21 14:41:24 -070011 Copyright (C) 2000-2017 Julian Seward
sewardj4cfea4f2006-10-14 19:26:10 +000012 jseward@acm.org
Elliott Hughesed398002017-06-21 14:41:24 -070013 Copyright (C) 2005-2017 Nicholas Nethercote
sewardj4cfea4f2006-10-14 19:26:10 +000014 njn@valgrind.org
Elliott Hughesed398002017-06-21 14:41:24 -070015 Copyright (C) 2006-2017 OpenWorks LLP
sewardj4cfea4f2006-10-14 19:26:10 +000016 info@open-works.co.uk
17
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.
22
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.
27
28 You should have received a copy of the GNU General Public License
29 along with this program; if not, write to the Free Software
30 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
31 02111-1307, USA.
32
33 The GNU General Public License is contained in the file COPYING.
34*/
35
36#ifndef __PUB_CORE_VKI_H
37#define __PUB_CORE_VKI_H
38
39/* Most unfortunately, all the kernel decls are visible to tools. Not
40 really necessary, but to avoid this would require some tedious
41 refactoring of the sources. Anyway, we live with this kludge, and
42 that means the only thing to be done here is ... */
43
44#include "pub_tool_vki.h"
florian535fb1b2013-09-15 13:54:34 +000045#include "pub_core_basics.h" // VG_ macro
sewardj4cfea4f2006-10-14 19:26:10 +000046
njncda2f0f2009-05-18 02:12:08 +000047/* Do initial consistency checks on some of the definitions to do with
48 signals (vki_sigset_t and vki_sigaction_{toK,fromK}_t). This stuff
49 is fragile enough that it's important to check at startup that
50 the world looks like what we expect it to look like. */
51void VG_(vki_do_initial_consistency_checks)(void);
52
sewardj4cfea4f2006-10-14 19:26:10 +000053#endif // __PUB_CORE_VKI_H
54
55/*--------------------------------------------------------------------*/
56/*--- end ---*/
57/*--------------------------------------------------------------------*/