Removed remaining traces of address space padding technology as it

is not longer relevant with the new address space manager.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4938
This commit is contained in:
Tom Hughes 2005-10-16 13:52:50 +00:00
parent 953321d26a
commit c0c5256036

View File

@ -722,7 +722,6 @@ void VG_(client_syscall) ( ThreadId tid )
/* Syscall may block, so run it asynchronously */
vki_sigset_t mask;
// vg_assert(!(sci->flags & PadAddr));
PRINT(" --> [async] ... \n");
mask = tst->sig_mask;
@ -769,9 +768,6 @@ void VG_(client_syscall) ( ThreadId tid )
guest state. Indeed doing so could be construed as
incorrect. */
// if (sci->flags & PadAddr)
// VG_(pad_address_space)(VG_(client_end));
SysRes sres
= VG_(do_syscall6)(sysno, sci->args.arg1, sci->args.arg2,
sci->args.arg3, sci->args.arg4,
@ -891,13 +887,6 @@ void VG_(post_syscall) (ThreadId tid)
VG_TDICT_CALL(tool_post_syscall, tid, sysno, res);
}
//zz if (flags & PadAddr) {
//zz vg_assert(!mayBlock);
//zz VG_(unpad_address_space)(VG_(client_end));
//zz //VG_(sanity_check_memory)();
//zz }
//zz
/* The syscall is done. */
sci->status.what = SsIdle;