|
From: <sv...@va...> - 2005-05-12 05:26:19
|
Author: njn
Date: 2005-05-12 06:26:13 +0100 (Thu, 12 May 2005)
New Revision: 3673
Modified:
trunk/coregrind/core_asm.h
trunk/coregrind/pub_core_dispatch.h
Log:
Move some macros into a more private place.
Modified: trunk/coregrind/core_asm.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/core_asm.h 2005-05-12 05:13:04 UTC (rev 3672)
+++ trunk/coregrind/core_asm.h 2005-05-12 05:26:13 UTC (rev 3673)
@@ -38,25 +38,6 @@
assembly ones. */
=20
=20
-/* Magic values that the guest state might be set to when returning to t=
he
- dispatcher. The only other legitimate value is to point to the
- start of the thread's VEX guest state. These also are return values =
from
- from VG_(run_innerloop) to the scheduler.
-*/
-/* Defines values for JMP_EMWARN, JMP_SYSCALL, JMP_CLIENTREQ and
- JMP_YIELD */
-#include "libvex_trc_values.h"
-
-/* And some more of our own. These must not have the same values as
- those from libvex_trc_values.h. */
-#define VG_TRC_INNER_FASTMISS 37 /* TRC only; means fast-cache miss.=
*/
-#define VG_TRC_INNER_COUNTERZERO 41 /* TRC only; means bb ctr =3D=3D 0 =
*/
-#define VG_TRC_FAULT_SIGNAL 43 /* TRC only; got sigsegv/sigbus */
-#define VG_TRC_INVARIANT_FAILED 47 /* TRC only; invariant violation */
-
-
-#define VG_MAX_TRC 128 /* Highest possible TRC value */
-
/* Constants for the fast translation lookup cache. */
#define VG_TT_FAST_BITS 16
#define VG_TT_FAST_SIZE (1 << VG_TT_FAST_BITS)
Modified: trunk/coregrind/pub_core_dispatch.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/pub_core_dispatch.h 2005-05-12 05:13:04 UTC (rev 3672=
)
+++ trunk/coregrind/pub_core_dispatch.h 2005-05-12 05:26:13 UTC (rev 3673=
)
@@ -54,6 +54,22 @@
*/
extern UWord VG_(run_innerloop) ( void* guest_state );
=20
+/* Magic values that the guest state might be set to when returning to t=
he
+ dispatcher. The only other legitimate value is to point to the
+ start of the thread's VEX guest state. These also are return values =
from
+ from VG_(run_innerloop) to the scheduler.
+*/
+/* Defines values for JMP_EMWARN, JMP_SYSCALL, JMP_CLIENTREQ and
+ JMP_YIELD */
+#include "libvex_trc_values.h"
+
+/* And some more of our own. These must not have the same values as
+ those from libvex_trc_values.h. */
+#define VG_TRC_INNER_FASTMISS 37 /* TRC only; means fast-cache miss.=
*/
+#define VG_TRC_INNER_COUNTERZERO 41 /* TRC only; means bb ctr =3D=3D 0 =
*/
+#define VG_TRC_FAULT_SIGNAL 43 /* TRC only; got sigsegv/sigbus */
+#define VG_TRC_INVARIANT_FAILED 47 /* TRC only; invariant violation */
+
#endif // __PUB_CORE_DISPATCH_H
=20
/*--------------------------------------------------------------------*/
|