]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Arch-abstraction:
authorNicholas Nethercote <n.nethercote@gmail.com>
Mon, 18 Oct 2004 14:08:16 +0000 (14:08 +0000)
committerNicholas Nethercote <n.nethercote@gmail.com>
Mon, 18 Oct 2004 14:08:16 +0000 (14:08 +0000)
- just a couple more constants moved

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2784

coregrind/core.h
coregrind/vg_signals.c
coregrind/x86/core_arch.h

index 666eb2299b4d2161c9a8908271913d51e384da48..43dfc9bc79a5ea6bc87ae361114beec00a905870 100644 (file)
    options or sizes, recompile, and still have a working system.
    ------------------------------------------------------------------ */
 
-/* Total number of spill slots available for allocation, if a TempReg
-   doesn't make it into a RealReg.  Just bomb the entire system if
-   this value is too small; we don't expect it will ever get
-   particularly high. */
-#define VG_MAX_SPILLSLOTS 24
-
-
 /* Constants for the slow translation lookup cache. */
 #define VG_TRANSTAB_SLOW_BITS 11
 #define VG_TRANSTAB_SLOW_SIZE (1 << VG_TRANSTAB_SLOW_BITS)
index 6d49be55882a5e14cbf90bde5afc19ef93dcb57d..f79eeb1d1b2cb4d5cc3146c04d29f276313fe073 100644 (file)
@@ -96,9 +96,6 @@ static const Char *signame(Int sigNo);
    Signal stack
    ------------------------------------------------------------------ */
 
-/* Valgrind's signal stack size, in words */
-#define VG_SIGSTACK_SIZE_W    10000
-
 /* We have to ask for signals to be delivered on an alternative
    stack, since it is possible, although unlikely, that we'll have to run
    client code from inside the Valgrind-installed signal handler. */
index d3469f5a8dbdfd2d180073ee0ca9b70266d86891..b9e306b2a8aa00ac5b57a148112c84f6bfebf752 100644 (file)
@@ -307,10 +307,16 @@ arch_thread_t;
 
 
 /* ---------------------------------------------------------------------
-   Constants involving memory layout
+   Miscellaneous constants
    ------------------------------------------------------------------ */
 
-// base address of client address space
+// Total number of spill slots available for register allocation.
+#define VG_MAX_SPILLSLOTS     24
+
+// Valgrind's signal stack size, in words.
+#define VG_SIGSTACK_SIZE_W    10000
+
+// Base address of client address space.
 #define CLIENT_BASE    0x00000000ul
 
 #endif   // __X86_CORE_ARCH_H