blob: 4945cb05aebf3b10d3c2d2ac13cb8b6fe1f5b476 [file] [log] [blame]
njn31ebb9a2005-05-29 23:30:48 +00001
2/*--------------------------------------------------------------------*/
3/*--- Generic header for Valgrind's kernel interface. ---*/
4/*--- vki_unistd.h ---*/
5/*--------------------------------------------------------------------*/
6
7/*
8 This file is part of Valgrind, a dynamic binary instrumentation
9 framework.
10
11 Copyright (C) 2005 Nicholas Nethercote
12 njn@valgrind.org
13
14 This program is free software; you can redistribute it and/or
15 modify it under the terms of the GNU General Public License as
16 published by the Free Software Foundation; either version 2 of the
17 License, or (at your option) any later version.
18
19 This program is distributed in the hope that it will be useful, but
20 WITHOUT ANY WARRANTY; without even the implied warranty of
21 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 General Public License for more details.
23
24 You should have received a copy of the GNU General Public License
25 along with this program; if not, write to the Free Software
26 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
27 02111-1307, USA.
28
29 The GNU General Public License is contained in the file COPYING.
30*/
31
32#ifndef __VKI_UNISTD_H
33#define __VKI_UNISTD_H
34
35#if defined(VGP_x86_linux)
36# include "vki_unistd-x86-linux.h"
37#elif defined(VGP_amd64_linux)
38# include "vki_unistd-amd64-linux.h"
cerion85665ca2005-06-20 15:51:07 +000039#elif defined(VGP_ppc32_linux)
40# include "vki_unistd-ppc32-linux.h"
njn31ebb9a2005-05-29 23:30:48 +000041#else
42# error Unknown platform
43#endif
44
45#endif // __VKI_UNISTD_H
46
47/*--------------------------------------------------------------------*/
48/*--- end ---*/
49/*--------------------------------------------------------------------*/