blob: 330b079e858d040fcd3d10ed11f9c7c1f98776ee [file] [log] [blame]
nethercote60bd18c2004-09-10 16:31:11 +00001
2/*--------------------------------------------------------------------*/
njnc6168192004-11-29 13:54:10 +00003/*--- Private arch-specific header. x86/x86_private.h ---*/
nethercote60bd18c2004-09-10 16:31:11 +00004/*--------------------------------------------------------------------*/
5
6/*
njnb9c427c2004-12-01 14:14:42 +00007 This file is part of Valgrind, a dynamic binary instrumentation
8 framework.
nethercote60bd18c2004-09-10 16:31:11 +00009
njn53612422005-03-12 16:22:54 +000010 Copyright (C) 2000-2005 Nicholas Nethercote
nethercote60bd18c2004-09-10 16:31:11 +000011 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
nethercote463c63c2004-10-26 11:18:32 +000035#include "x86_private_asm.h" // private arch-specific asm stuff
nethercote60bd18c2004-09-10 16:31:11 +000036#include "tool_arch.h" // arch-specific tool stuff
37
sewardj19fc30e2004-12-13 10:52:08 +000038#include "libvex_guest_x86.h" // for VexGuestX86SegDescr
39
nethercote60bd18c2004-09-10 16:31:11 +000040/* ---------------------------------------------------------------------
njnd6f157d2004-11-30 17:27:21 +000041 Exports of state.c that are not core-visible
42 ------------------------------------------------------------------ */
43
sewardj4dc8f302004-12-13 13:14:05 +000044/* Create LDT/GDT arrays, as specified in libvex_guest_x86.h. */
45extern VexGuestX86SegDescr* VG_(alloc_zeroed_x86_GDT) ( void );
46extern VexGuestX86SegDescr* VG_(alloc_zeroed_x86_LDT) ( void );
nethercote60bd18c2004-09-10 16:31:11 +000047
48
49#endif // __X86_PRIVATE_H
50
51/*--------------------------------------------------------------------*/
52/*--- end ---*/
53/*--------------------------------------------------------------------*/