Syscall: Make the syscall function available in both SE and FS modes.
authorGabe Black <gblack@eecs.umich.edu>
Mon, 19 Sep 2011 09:46:48 +0000 (02:46 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Mon, 19 Sep 2011 09:46:48 +0000 (02:46 -0700)
commit10c2e37f604280fb89d800839cc965204d096c59
tree4f71f4ebc8d3c9c20d2f8058410974bf8e2e0608
parent83aa47adca17be33d53da6734ea422e1e0e2a07c
Syscall: Make the syscall function available in both SE and FS modes.

In FS mode the syscall function will panic, but the interface will be
consistent and code which calls syscall can be compiled in. This will allow,
for instance, instructions that use syscall to be built unconditionally but
then not returned by the decoder.
src/cpu/inorder/inorder_dyn_inst.cc
src/cpu/inorder/inorder_dyn_inst.hh
src/cpu/o3/dyn_inst.hh
src/cpu/o3/dyn_inst_impl.hh
src/cpu/simple/base.hh