nethercote | 60bd18c | 2004-09-10 16:31:11 +0000 | [diff] [blame] | 1 | |
| 2 | /*--------------------------------------------------------------------*/ |
njn | c616819 | 2004-11-29 13:54:10 +0000 | [diff] [blame] | 3 | /*--- Private arch-specific header. x86/x86_private.h ---*/ |
nethercote | 60bd18c | 2004-09-10 16:31:11 +0000 | [diff] [blame] | 4 | /*--------------------------------------------------------------------*/ |
| 5 | |
| 6 | /* |
njn | b9c427c | 2004-12-01 14:14:42 +0000 | [diff] [blame] | 7 | This file is part of Valgrind, a dynamic binary instrumentation |
| 8 | framework. |
nethercote | 60bd18c | 2004-09-10 16:31:11 +0000 | [diff] [blame] | 9 | |
njn | 5361242 | 2005-03-12 16:22:54 +0000 | [diff] [blame] | 10 | Copyright (C) 2000-2005 Nicholas Nethercote |
nethercote | 60bd18c | 2004-09-10 16:31:11 +0000 | [diff] [blame] | 11 | njn25@cam.ac.uk |
| 12 | |
| 13 | This program is free software; you can redistribute it and/or |
| 14 | modify it under the terms of the GNU General Public License as |
| 15 | published by the Free Software Foundation; either version 2 of the |
| 16 | License, or (at your option) any later version. |
| 17 | |
| 18 | This program is distributed in the hope that it will be useful, but |
| 19 | WITHOUT ANY WARRANTY; without even the implied warranty of |
| 20 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 21 | General Public License for more details. |
| 22 | |
| 23 | You should have received a copy of the GNU General Public License |
| 24 | along with this program; if not, write to the Free Software |
| 25 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA |
| 26 | 02111-1307, USA. |
| 27 | |
| 28 | The GNU General Public License is contained in the file COPYING. |
| 29 | */ |
| 30 | |
| 31 | #ifndef __X86_PRIVATE_H |
| 32 | #define __X86_PRIVATE_H |
| 33 | |
| 34 | #include "core_arch_asm.h" // arch-specific asm stuff |
nethercote | 463c63c | 2004-10-26 11:18:32 +0000 | [diff] [blame] | 35 | #include "x86_private_asm.h" // private arch-specific asm stuff |
nethercote | 60bd18c | 2004-09-10 16:31:11 +0000 | [diff] [blame] | 36 | #include "tool_arch.h" // arch-specific tool stuff |
| 37 | |
sewardj | 19fc30e | 2004-12-13 10:52:08 +0000 | [diff] [blame] | 38 | #include "libvex_guest_x86.h" // for VexGuestX86SegDescr |
| 39 | |
nethercote | 60bd18c | 2004-09-10 16:31:11 +0000 | [diff] [blame] | 40 | /* --------------------------------------------------------------------- |
njn | d6f157d | 2004-11-30 17:27:21 +0000 | [diff] [blame] | 41 | Exports of state.c that are not core-visible |
| 42 | ------------------------------------------------------------------ */ |
| 43 | |
sewardj | 4dc8f30 | 2004-12-13 13:14:05 +0000 | [diff] [blame] | 44 | /* Create LDT/GDT arrays, as specified in libvex_guest_x86.h. */ |
| 45 | extern VexGuestX86SegDescr* VG_(alloc_zeroed_x86_GDT) ( void ); |
| 46 | extern VexGuestX86SegDescr* VG_(alloc_zeroed_x86_LDT) ( void ); |
nethercote | 60bd18c | 2004-09-10 16:31:11 +0000 | [diff] [blame] | 47 | |
| 48 | |
| 49 | #endif // __X86_PRIVATE_H |
| 50 | |
| 51 | /*--------------------------------------------------------------------*/ |
| 52 | /*--- end ---*/ |
| 53 | /*--------------------------------------------------------------------*/ |