~bkerensa/ubuntu/raring/valgrind/merge-from-deb

« back to all changes in this revision

Viewing changes to VEX/priv/guest-x86/gdefs.h

  • Committer: Bazaar Package Importer
  • Author(s): Andrés Roldán
  • Date: 2008-06-13 02:31:40 UTC
  • mto: (1.4.1 upstream) (2.2.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 24.
  • Revision ID: james.westby@ubuntu.com-20080613023140-iwk33rz9rhvfkr96
Import upstream version 3.3.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
   This file is part of LibVEX, a library for dynamic binary
11
11
   instrumentation and translation.
12
12
 
13
 
   Copyright (C) 2004-2006 OpenWorks LLP.  All rights reserved.
 
13
   Copyright (C) 2004-2007 OpenWorks LLP.  All rights reserved.
14
14
 
15
15
   This library is made available under a dual licensing scheme.
16
16
 
57
57
/* Convert one x86 insn to IR.  See the type DisOneInstrFn in
58
58
   bb_to_IR.h. */
59
59
extern
60
 
DisResult disInstr_X86 ( IRBB*        irbb,
 
60
DisResult disInstr_X86 ( IRSB*        irbb,
61
61
                         Bool         put_IP,
62
62
                         Bool         (*resteerOkFn) ( void*, Addr64 ),
63
63
                         void*        callback_opaque,
66
66
                         Addr64       guest_IP,
67
67
                         VexArch      guest_arch,
68
68
                         VexArchInfo* archinfo,
 
69
                         VexAbiInfo*  abiinfo,
69
70
                         Bool         host_bigendian );
70
71
 
71
72
/* Used by the optimiser to specialise calls to helpers. */
113
114
                UInt arg, UInt rot_amt, UInt eflags_in, UInt sz 
114
115
             );
115
116
 
 
117
extern UInt x86g_calculate_daa_das_aaa_aas ( UInt AX_and_flags, UInt opcode );
 
118
 
116
119
extern ULong x86g_check_fldcw ( UInt fpucw );
117
120
 
118
121
extern UInt  x86g_create_fpucw ( UInt fpround );
161
164
                                   UInt sz/*1,2 or 4*/ );
162
165
 
163
166
extern VexEmWarn
 
167
            x86g_dirtyhelper_FXRSTOR ( VexGuestX86State*, HWord );
 
168
 
 
169
extern VexEmWarn
164
170
            x86g_dirtyhelper_FRSTOR ( VexGuestX86State*, HWord );
165
171
 
166
172
extern VexEmWarn