sewardj | 35421a3 | 2004-07-05 13:12:34 +0000 | [diff] [blame^] | 1 | |
| 2 | /*---------------------------------------------------------------*/ |
| 3 | /*--- ---*/ |
| 4 | /*--- This file (jit_globals.h) is ---*/ |
| 5 | /*--- Copyright (c) 2004 OpenWorks LLP. All rights reserved. ---*/ |
| 6 | /*--- ---*/ |
| 7 | /*---------------------------------------------------------------*/ |
| 8 | |
| 9 | #ifndef __JIT_GLOBALS_H |
| 10 | #define __JIT_GLOBALS_H |
| 11 | |
| 12 | #include "libjit_basictypes.h" |
| 13 | |
| 14 | |
| 15 | /* Global settings for the JIT library. These are the |
| 16 | only library-wide globals. */ |
| 17 | |
| 18 | /* Are we started yet? */ |
| 19 | extern Bool vex_initdone; |
| 20 | |
| 21 | /* failure exit function */ |
| 22 | extern void (*vex_failure_exit) ( void ); |
| 23 | |
| 24 | /* logging output function */ |
| 25 | extern void (*vex_log_bytes) ( Char*, Int nbytes ); |
| 26 | |
| 27 | /* debug paranoia level */ |
| 28 | extern Int vex_debuglevel; |
| 29 | |
| 30 | /* verbosity level */ |
| 31 | extern Int vex_verbosity; |
| 32 | |
| 33 | /* Are we supporting valgrind checking? */ |
| 34 | extern Bool vex_valgrind_support; |
| 35 | |
| 36 | /* Max # guest insns per bb */ |
| 37 | extern Int vex_guest_insns_per_bb; |
| 38 | |
| 39 | |
| 40 | #endif /* ndef __JIT_GLOBALS_H */ |
| 41 | |
| 42 | /*---------------------------------------------------------------*/ |
| 43 | /*--- end jit_globals.h ---*/ |
| 44 | /*---------------------------------------------------------------*/ |