X86: Enable x86_64 vsyscall support
authorVince Weaver <vince@csl.cornell.edu>
Wed, 4 Nov 2009 05:47:12 +0000 (00:47 -0500)
committerVince Weaver <vince@csl.cornell.edu>
Wed, 4 Nov 2009 05:47:12 +0000 (00:47 -0500)
commita1042db29098da395d0de96c652c41904feb425a
treea6ce96e097b8082c6404c819851f0cbe86fa8ca9
parent9b0a747dd41d3383769be1cd737733902875a528
X86: Enable x86_64 vsyscall support

64-bit vsyscall is different than 32-bit.
There are only two syscalls, time and gettimeofday.
On a real system, there is complicated code that implements these
without entering the kernel.  That would be complicated to implement in m5.
Instead we just place code that calls the regular syscalls (this is how
tools such as valgrind handle this case).

This is needed for the perlbmk spec2k benchmark.
src/arch/x86/process.cc
src/arch/x86/process.hh