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

« back to all changes in this revision

Viewing changes to VEX/priv/guest-ppc/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
 
58
58
/* Convert one ppc insn to IR.  See the type DisOneInstrFn in
59
59
   bb_to_IR.h. */
60
60
extern
61
 
DisResult disInstr_PPC ( IRBB*        irbb,
 
61
DisResult disInstr_PPC ( IRSB*        irbb,
62
62
                         Bool         put_IP,
63
63
                         Bool         (*resteerOkFn) ( void*, Addr64 ),
64
64
                         void*        callback_opaque,
67
67
                         Addr64       guest_IP,
68
68
                         VexArch      guest_arch,
69
69
                         VexArchInfo* archinfo,
 
70
                         VexAbiInfo*  abiinfo,
70
71
                         Bool         host_bigendian );
71
72
 
72
73
/* Used by the optimiser to specialise calls to helpers. */
147
148
 
148
149
extern ULong ppcg_dirtyhelper_MFTB ( void );
149
150
 
 
151
extern UInt ppc32g_dirtyhelper_MFSPR_268_269 ( UInt );
 
152
 
150
153
extern void ppc32g_dirtyhelper_LVS ( VexGuestPPC32State* gst,
151
154
                                     UInt vD_idx, UInt sh,
152
155
                                     UInt shift_right );