Syscall: Make the syscall function available in both SE and FS modes.
Review Request #851 - Created Sept. 9, 2011 and submitted
| Information | |
|---|---|
| Gabe Black | |
| gem5 | |
| Reviewers | |
| Default | |
| ali, gblack, nate, stever | |
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.
Posted (Sept. 10, 2011, 1:08 a.m.)
-
src/cpu/inorder/inorder_dyn_inst.cc (Diff revision 1) -
Why not have this be a if () instead of a #if? I'm assuming the ultimate plan is to make FULLL_SYSTEM a boolean and not a processor directive.
