njn | 31ebb9a | 2005-05-29 23:30:48 +0000 | [diff] [blame] | 1 | |
| 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" |
cerion | 85665ca | 2005-06-20 15:51:07 +0000 | [diff] [blame] | 39 | #elif defined(VGP_ppc32_linux) |
| 40 | # include "vki_unistd-ppc32-linux.h" |
sewardj | 2c48c7b | 2005-11-29 13:05:56 +0000 | [diff] [blame] | 41 | #elif defined(VGP_ppc64_linux) |
| 42 | # include "vki_unistd-ppc64-linux.h" |
njn | 31ebb9a | 2005-05-29 23:30:48 +0000 | [diff] [blame] | 43 | #else |
| 44 | # error Unknown platform |
| 45 | #endif |
| 46 | |
| 47 | #endif // __VKI_UNISTD_H |
| 48 | |
| 49 | /*--------------------------------------------------------------------*/ |
| 50 | /*--- end ---*/ |
| 51 | /*--------------------------------------------------------------------*/ |