Add 469782 to NEWS
[valgrind.git] / VEX / pub / libvex_trc_values.h
blobc9adcb70d776a138e14f96b71d1b1f2cef6274a9
2 /*---------------------------------------------------------------*/
3 /*--- begin libvex_trc_values.h ---*/
4 /*---------------------------------------------------------------*/
6 /*
7 This file is part of Valgrind, a dynamic binary instrumentation
8 framework.
10 Copyright (C) 2004-2017 OpenWorks LLP
11 info@open-works.net
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.
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.
23 You should have received a copy of the GNU General Public License
24 along with this program; if not, see <http://www.gnu.org/licenses/>.
26 The GNU General Public License is contained in the file COPYING.
28 Neither the names of the U.S. Department of Energy nor the
29 University of California nor the names of its contributors may be
30 used to endorse or promote products derived from this software
31 without prior written permission.
34 #ifndef __LIBVEX_TRC_VALUES_H
35 #define __LIBVEX_TRC_VALUES_H
38 /* Magic values that the guest state pointer might be set to when
39 returning to the dispatcher. The only other legitimate value is to
40 point to the start of the thread's VEX guest state.
42 This file may get included in assembly code, so do not put
43 C-specific constructs in it.
45 These values should be 61 or above so as not to conflict
46 with Valgrind's VG_TRC_ values, which are 60 or below.
49 #define VEX_TRC_JMP_INVALICACHE 61 /* invalidate icache (translations)
50 before continuing */
51 #define VEX_TRC_JMP_FLUSHDCACHE 103 /* flush dcache before continuing */
53 #define VEX_TRC_JMP_NOREDIR 81 /* jump to undirected guest addr */
54 #define VEX_TRC_JMP_SIGTRAP 85 /* deliver trap (SIGTRAP) before
55 continuing */
56 #define VEX_TRC_JMP_SIGSEGV 87 /* deliver segv (SIGSEGV) before
57 continuing */
58 #define VEX_TRC_JMP_SIGBUS 93 /* deliver SIGBUS before continuing */
59 #define VEX_TRC_JMP_SIGFPE 105 /* deliver SIGFPE before continuing */
61 #define VEX_TRC_JMP_SIGFPE_INTDIV 97 /* deliver SIGFPE (integer divide
62 by zero) before continuing */
64 #define VEX_TRC_JMP_SIGFPE_INTOVF 99 /* deliver SIGFPE (integer overflow)
65 before continuing */
67 #define VEX_TRC_JMP_SIGILL 101 /* deliver SIGILL (Illegal instruction)
68 before continuing */
70 #define VEX_TRC_JMP_EMWARN 63 /* deliver emulation warning before
71 continuing */
72 #define VEX_TRC_JMP_EMFAIL 83 /* emulation fatal error; abort system */
74 #define VEX_TRC_JMP_CLIENTREQ 65 /* do a client req before continuing */
75 #define VEX_TRC_JMP_YIELD 67 /* yield to thread sched
76 before continuing */
77 #define VEX_TRC_JMP_NODECODE 69 /* next instruction is not decodable */
78 #define VEX_TRC_JMP_MAPFAIL 71 /* address translation failed */
80 #define VEX_TRC_JMP_EXTENSION 114 /* invoke extension before continuing */
82 #define VEX_TRC_JMP_SYS_SYSCALL 73 /* do syscall before continuing */
83 #define VEX_TRC_JMP_SYS_INT32 75 /* do syscall before continuing */
84 #define VEX_TRC_JMP_SYS_INT128 77 /* do syscall before continuing */
85 #define VEX_TRC_JMP_SYS_INT129 89 /* do syscall before continuing */
86 #define VEX_TRC_JMP_SYS_INT130 91 /* do syscall before continuing */
87 #define VEX_TRC_JMP_SYS_INT145 111 /* do syscall before continuing */
88 #define VEX_TRC_JMP_SYS_INT210 113 /* do syscall before continuing */
90 #define VEX_TRC_JMP_SYS_SYSENTER 79 /* do syscall before continuing */
92 #define VEX_TRC_JMP_BORING 95 /* return to sched, but just
93 keep going; no special action */
95 #endif /* ndef __LIBVEX_TRC_VALUES_H */
97 /*---------------------------------------------------------------*/
98 /*--- libvex_trc_values.h ---*/
99 /*---------------------------------------------------------------*/