From c0c5256036f3db0d5606bdbeeac92308739d0ead Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 16 Oct 2005 13:52:50 +0000 Subject: [PATCH] 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 --- coregrind/m_syswrap/syswrap-main.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/coregrind/m_syswrap/syswrap-main.c b/coregrind/m_syswrap/syswrap-main.c index 44393294f..469eb4aa9 100644 --- a/coregrind/m_syswrap/syswrap-main.c +++ b/coregrind/m_syswrap/syswrap-main.c @@ -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;