/*--------------------------------------------------------------------*/
/*--- A header file for all private parts of Valgrind's core. ---*/
/*--- Include no other! ---*/
-/*--- vg_include.h ---*/
+/*--- core.h ---*/
/*--------------------------------------------------------------------*/
/*
The GNU General Public License is contained in the file COPYING.
*/
-#ifndef __VG_INCLUDE_H
-#define __VG_INCLUDE_H
+#ifndef __CORE_H
+#define __CORE_H
/* ---------------------------------------------------------------------
Build options and table sizes. You should be able to change these
/* All stuff visible to core and tools goes in vg_skin.h. Things
* visible to core but not visible to any tools should go in this
- * file, vg_include.h. */
+ * file, core.h. */
#include "vg_skin.h"
#include "valgrind.h"
extern Int VGOFF_(helper_undefined_instruction);
-#endif /* ndef __VG_INCLUDE_H */
+#endif /* ndef __CORE_H */
/* ---------------------------------------------------------------------
#include "config.h"
/*--------------------------------------------------------------------*/
-/*--- end vg_include.h ---*/
+/*--- end core.h ---*/
/*--------------------------------------------------------------------*/
Types and globals for the scheduler.
------------------------------------------------------------------ */
-/* ThreadId and ThreadState are defined in vg_include.h. */
+/* ThreadId and ThreadState are defined in core.h. */
/* Globals. A statically allocated array of threads. NOTE: [0] is
never used, to simplify the simulation of initialisers for
MUTEXes
-------------------------------------------------------- */
-/* vg_pthread_mutex_t is defined in vg_include.h.
+/* vg_pthread_mutex_t is defined in core.h.
The initializers zero everything, except possibly the fourth word,
which in vg_pthread_mutex_t is the __vg_m_kind field. It gets set to one
CONDITION VARIABLES
-------------------------------------------------------- */
-/* The relevant type (vg_pthread_cond_t) is in vg_include.h.
+/* The relevant type (vg_pthread_cond_t) is in core.h.
We don't use any fields of vg_pthread_cond_t for anything at all.
Only the identity of the CVs is important. (Actually, we initialise
"Terminating Valgrind. If thread(s) "
"really need more stack, increase");
VG_(message)(Vg_UserMsg,
- "VG_PTHREAD_STACK_SIZE in vg_include.h and recompile.");
+ "VG_PTHREAD_STACK_SIZE in core.h and recompile.");
VG_(exit)(1);
}
}