sim: Remove the syscall gem5 op.
This is now handled by the workload "event" gem5 op. Change-Id: Ibc195fde14a6174d1978bf280c349ca895e7fda3 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/34164 Reviewed-by: Gabe Black <gabe.black@gmail.com> Maintainer: Gabe Black <gabe.black@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -471,17 +471,6 @@ switchcpu(ThreadContext *tc)
|
||||
exitSimLoop("switchcpu");
|
||||
}
|
||||
|
||||
/*
|
||||
* This function is executed when the simulation is executing the syscall
|
||||
* handler in System Emulation mode.
|
||||
*/
|
||||
void
|
||||
m5Syscall(ThreadContext *tc)
|
||||
{
|
||||
DPRINTF(PseudoInst, "PseudoInst::m5Syscall()\n");
|
||||
tc->getSystemPtr()->workload->syscall(tc);
|
||||
}
|
||||
|
||||
void
|
||||
togglesync(ThreadContext *tc)
|
||||
{
|
||||
|
||||
@@ -242,10 +242,6 @@ pseudoInstWork(ThreadContext *tc, uint8_t func, uint64_t &result)
|
||||
return false;
|
||||
|
||||
/* SE mode functions */
|
||||
case M5OP_SE_SYSCALL:
|
||||
invokeSimcall<ABI>(tc, m5Syscall);
|
||||
return true;
|
||||
|
||||
case M5OP_SE_PAGE_FAULT:
|
||||
invokeSimcall<ABI>(tc, TheISA::m5PageFault);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user