|
From: <sv...@va...> - 2005-05-15 21:03:45
|
Author: njn
Date: 2005-05-15 22:03:42 +0100 (Sun, 15 May 2005)
New Revision: 3727
Modified:
trunk/coregrind/amd64/core_arch.h
trunk/coregrind/arm/core_arch.h
trunk/coregrind/vg_main.c
trunk/coregrind/x86/core_arch.h
Log:
Let's assume the client's address space starts at 0 until we port
to a platform for which that's not true.
Modified: trunk/coregrind/amd64/core_arch.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/amd64/core_arch.h 2005-05-15 20:52:04 UTC (rev 3726)
+++ trunk/coregrind/amd64/core_arch.h 2005-05-15 21:03:42 UTC (rev 3727)
@@ -108,10 +108,6 @@
// Valgrind's stack size, in words.
#define VGA_STACK_SIZE_W 16384
=20
-// Base address of client address space.
-#define VGA_CLIENT_BASE 0x0ul
-
-
#endif // __AMD64_CORE_ARCH_H
=20
/*--------------------------------------------------------------------*/
Modified: trunk/coregrind/arm/core_arch.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/arm/core_arch.h 2005-05-15 20:52:04 UTC (rev 3726)
+++ trunk/coregrind/arm/core_arch.h 2005-05-15 21:03:42 UTC (rev 3727)
@@ -106,9 +106,6 @@
Miscellaneous constants
------------------------------------------------------------------ */
=20
-// Base address of client address space.
-#define VGA_CLIENT_BASE 0x0ul
-
#endif // __ARM_CORE_ARCH_H
=20
/*--------------------------------------------------------------------*/
Modified: trunk/coregrind/vg_main.c
=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/vg_main.c 2005-05-15 20:52:04 UTC (rev 3726)
+++ trunk/coregrind/vg_main.c 2005-05-15 21:03:42 UTC (rev 3727)
@@ -392,7 +392,7 @@
// taking into account the tool's shadow needs.
client_size =3D ROUNDDN((VG_(valgrind_base)-REDZONE_SIZE) / (=
1.+ratio),
CLIENT_SIZE_MULTIPLE);
- VG_(client_base) =3D VGA_CLIENT_BASE;
+ VG_(client_base) =3D 0;
VG_(client_end) =3D VG_(client_base) + client_size;
/* where !FIXED mmap goes */
VG_(client_mapbase) =3D VG_(client_base) +
@@ -2386,7 +2386,7 @@
=20
The memory map it creates is:
=20
- VGA_CLIENT_BASE +-------------------------+
+ client_base +-------------------------+
| client address space |
: :
: :
Modified: trunk/coregrind/x86/core_arch.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/x86/core_arch.h 2005-05-15 20:52:04 UTC (rev 3726)
+++ trunk/coregrind/x86/core_arch.h 2005-05-15 21:03:42 UTC (rev 3727)
@@ -112,10 +112,6 @@
// Valgrind's stack size, in words.
#define VGA_STACK_SIZE_W 16384
=20
-// Base address of client address space.
-#define VGA_CLIENT_BASE 0x0ul
-
-
#endif // __X86_CORE_ARCH_H
=20
/*--------------------------------------------------------------------*/
|