sewardj | cc4f467 | 2006-10-14 19:32:16 +0000 | [diff] [blame] | 1 | |
| 2 | /*--------------------------------------------------------------------*/ |
| 3 | /*--- Top level for kernel interface declarations. ---*/ |
| 4 | /*--- pub_core_vkiscnums.h ---*/ |
| 5 | /*--------------------------------------------------------------------*/ |
| 6 | |
| 7 | /* |
| 8 | This file is part of Valgrind, a dynamic binary instrumentation |
| 9 | framework. |
| 10 | |
sewardj | 4d474d0 | 2008-02-11 11:34:59 +0000 | [diff] [blame] | 11 | Copyright (C) 2000-2008 Julian Seward |
sewardj | cc4f467 | 2006-10-14 19:32:16 +0000 | [diff] [blame] | 12 | jseward@acm.org |
sewardj | 4d474d0 | 2008-02-11 11:34:59 +0000 | [diff] [blame] | 13 | Copyright (C) 2005-2008 Nicholas Nethercote |
sewardj | cc4f467 | 2006-10-14 19:32:16 +0000 | [diff] [blame] | 14 | njn@valgrind.org |
sewardj | 4d474d0 | 2008-02-11 11:34:59 +0000 | [diff] [blame] | 15 | Copyright (C) 2006-2008 OpenWorks LLP |
sewardj | cc4f467 | 2006-10-14 19:32:16 +0000 | [diff] [blame] | 16 | 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_VKISCNUMS_H |
| 37 | #define __PUB_CORE_VKISCNUMS_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_vkiscnums.h" |
| 45 | |
| 46 | |
| 47 | /* Make it possible to include this file in assembly sources. */ |
| 48 | #if !defined(VG_IN_ASSEMBLY_SOURCE) |
| 49 | |
| 50 | #if defined(VGO_aix5) |
| 51 | /* Bind the given syscall name to the given number. Returns True if |
| 52 | successful, False if the name is unknown. */ |
| 53 | extern Bool VG_(aix5_register_syscall)( Int, UChar* ); |
sewardj | 4c99385 | 2007-07-10 00:18:46 +0000 | [diff] [blame] | 54 | /* Look up in said binding later, for the purposes of making error |
| 55 | messages. */ |
| 56 | extern UChar* VG_(aix5_sysno_to_sysname)( Int sysno ); |
sewardj | cc4f467 | 2006-10-14 19:32:16 +0000 | [diff] [blame] | 57 | #endif |
| 58 | |
| 59 | #endif /* !defined(VG_IN_ASSEMBLY_SOURCE) */ |
| 60 | |
| 61 | #endif // __PUB_CORE_VKISCNUMS_H |
| 62 | |
| 63 | /*--------------------------------------------------------------------*/ |
| 64 | /*--- end ---*/ |
| 65 | /*--------------------------------------------------------------------*/ |