- renamed "vg_constants.h" as "core_asm.h".
- renamed "vg_constants_skin.h" as "tool_asm.h".
- renamed "mc_constants.h" as "mc_asm.h".
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2650
noinst_HEADERS = \
core.h \
+ core_asm.h \
ume.h \
ume_arch.h \
- vg_constants.h \
vg_symtab2.h \
vg_unistd.h \
vg_symtypes.h \
/*--------------------------------------------------------------------*/
/*--- A header file for all private parts of Valgrind's core. ---*/
-/*--- Include no other! ---*/
+/*--- Include no other! (more or less...) ---*/
/*--- core.h ---*/
/*--------------------------------------------------------------------*/
/* For system call numbers __NR_... */
#include "vg_unistd.h"
-#include "vg_constants.h"
+#include "core_asm.h"
/* All stuff visible to core and tools goes in tool.h. Things
* visible to core but not visible to any tools should go in this
#define VG_USERREQ__INTERNAL_PRINTF_BACKTRACE 0x3104
/*
-In vg_constants.h:
+In core_asm.h:
#define VG_USERREQ__SIGNAL_RETURNS 0x4001
*/
/*--------------------------------------------------------------------*/
-/*--- A header file containing constants (for assembly code). ---*/
-/*--- vg_constants.h ---*/
+/*--- Asm-specific core stuff. core_asm.h ---*/
/*--------------------------------------------------------------------*/
/*
The GNU General Public License is contained in the file COPYING.
*/
-#ifndef __VG_CONSTANTS_H
-#define __VG_CONSTANTS_H
+#ifndef __CORE_ASM_H
+#define __CORE_ASM_H
-#include "vg_constants_skin.h"
+#include "tool_asm.h"
/* This file is included in all Valgrind source files, including
assembly ones. */
*/
#define VALGRINDCLO "_VALGRIND_CLO"
-#endif /* ndef __VG_CONSTANTS_H */
+#endif /* ndef __CORE_ASM_H */
/*--------------------------------------------------------------------*/
-/*--- end vg_constants.h ---*/
+/*--- end ---*/
/*--------------------------------------------------------------------*/
The GNU General Public License is contained in the file COPYING.
*/
-#include "vg_constants.h"
+#include "core_asm.h"
#include "vg_unistd.h"
/*
The GNU General Public License is contained in the file COPYING.
*/
-#include "vg_constants.h"
+#include "core_asm.h"
/*------------------------------------------------------------*/
The GNU General Public License is contained in the file COPYING.
*/
-#include "vg_constants.h"
+#include "core_asm.h"
/* ------------------ SIMULATED CPU HELPERS ------------------ */
/* A stubs for a return which we want to catch: a signal return.
The GNU General Public License is contained in the file COPYING.
*/
-#include "vg_constants.h"
+#include "core_asm.h"
#include "vg_unistd.h"
.globl VG_(do_syscall)
incincdir = $(includedir)/valgrind
incinc_HEADERS = \
- valgrind.h \
- vg_constants_skin.h \
tool.h \
+ tool_asm.h \
+ valgrind.h \
vg_kerneliface.h \
vg_skin.h
#include <stdarg.h> /* ANSI varargs stuff */
#include <setjmp.h> /* for jmp_buf */
-#include "vg_constants_skin.h"
+#include "tool_asm.h"
// XXX: here temporarily, will eventually go in arch-specific headers...
#define REGPARM(x) __attribute__((regparm (x)))
/*--------------------------------------------------------------------*/
-/*--- A header file containing constants (for assembly code). ---*/
-/*--- vg_constants.h ---*/
+/*--- Tool-specific, asm-specific includes. tool_asm.h ---*/
/*--------------------------------------------------------------------*/
/*
The GNU General Public License is contained in the file COPYING.
*/
-#ifndef __VG_CONSTANTS_SKIN_H
-#define __VG_CONSTANTS_SKIN_H
+#ifndef __TOOL_ASM_H
+#define __TOOL_ASM_H
/* All symbols externally visible from valgrind.so are prefixed
#define _STR(x) #x
#define STR(x) _STR(x)
-#endif /* ndef __VG_CONSTANTS_SKIN_H */
+#endif /* ndef __TOOL_ASM_H */
/*--------------------------------------------------------------------*/
-/*--- end vg_constants.h ---*/
+/*--- end ---*/
/*--------------------------------------------------------------------*/
noinst_HEADERS = \
mac_shared.h \
- mc_constants.h \
+ mc_asm.h \
mc_include.h
mac_replace_strmem.o: CFLAGS += -fno-omit-frame-pointer
/*--------------------------------------------------------------------*/
-/*--- mc_constants.h ---*/
+/*--- mc_asm.h ---*/
/*--------------------------------------------------------------------*/
/*
The GNU General Public License is contained in the file COPYING.
*/
-#ifndef __MC_CONSTANTS_H
-#define __MC_CONSTANTS_H
+#ifndef __MC_ASM_H
+#define __MC_ASM_H
-#include "vg_constants_skin.h"
+#include "tool_asm.h"
#define MC_(str) VGAPPEND(vgMemCheck_,str)
-#endif /* __MC_CONSTANTS_H */
+#endif /* __MC_ASM_H */
/*--------------------------------------------------------------------*/
-/*--- end mc_constants.h ---*/
+/*--- end ---*/
/*--------------------------------------------------------------------*/
The GNU General Public License is contained in the file COPYING.
*/
-#include "mc_constants.h"
+#include "mc_asm.h"
.global MC_(helper_value_check0_fail)
MC_(helper_value_check0_fail):
#define __MC_INCLUDE_H
#include "mac_shared.h"
-#include "mc_constants.h"
+#include "mc_asm.h"
/*------------------------------------------------------------*/
/*--- Types ---*/
/usr/include/valgrind/memcheck.h
/usr/include/valgrind/helgrind.h
/usr/include/valgrind/tool.h
-/usr/include/valgrind/vg_constants_skin.h
+/usr/include/valgrind/tool_asm.h
/usr/include/valgrind/vg_kerneliface.h
/usr/include/valgrind/vg_skin.h
/usr/bin/valgrind