Commit Graph

6 Commits

Author SHA1 Message Date
Nicholas Nethercote
09871f18f0 Move VGA_STACK_SIZE_W into m_syscalls, the only place that uses it.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3749
2005-05-16 21:39:23 +00:00
Nicholas Nethercote
7a6ee2fc93 Improved structure of LDT-related code:
- one declarations from core.h removed, one moved to within m_syscalls.
- all the x86 LDT stuff made local to m_syscalls.  x86-linux/ldt.c removed
  as a result.  x86/state.c slimmed down, too.  x86/x86_private.h removed
  too.
- all the AMD64 LDT stuff was deleted, since it was all commented out.  It
  can be added back in later in the appropriate places if necessary.
  Thus amd64-linux/ldt.c and amd64/amd64_private.h were removed.
- other minor naming changes

I hope I didn't break AMD64 compilation.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3726
2005-05-15 20:52:04 +00:00
Nicholas Nethercote
31cfff17d7 VGA_(restart_syscall)() doesn't need to be exported.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3697
2005-05-13 22:07:12 +00:00
Nicholas Nethercote
247e241160 Modularised the core/tool interface ('details', 'needs' and VG_(tdict))
into a new module m_tooliface.  Pretty straightforward.  Touches a lot
of files because many files use this interface and so need to include
the headers for the new module.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3652
2005-05-10 04:37:01 +00:00
Nicholas Nethercote
90fbb926be Reinstate Tom's epoll commit which I lost when I made m_syscalls.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3638
2005-05-08 15:52:18 +00:00
Nicholas Nethercote
63901a5d88 Put all the system call stuff in a new module, m_syscalls. This
required moving a lot of stuff around.  I deleted
VG_(set_return_from_syscall_shadow)() and VG_(get_exit_status_shadow)(),
which screwed up the modularity and weren't being used and can be
simulated in other ways with a bit of care.

What are the chances that I've added and moved all the files correctly
in this commit, and not broken the amd64 port?


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3636
2005-05-08 14:45:13 +00:00