#define M5OP_WORK_BEGIN 0x5a
#define M5OP_WORK_END 0x5b
-#define M5OP_SE_SYSCALL 0x60
#define M5OP_SE_PAGE_FAULT 0x61
#define M5OP_DIST_TOGGLE_SYNC 0x62
M5OP(m5_panic, M5OP_PANIC) \
M5OP(m5_work_begin, M5OP_WORK_BEGIN) \
M5OP(m5_work_end, M5OP_WORK_END) \
- M5OP(m5_se_syscall, M5OP_SE_SYSCALL) \
M5OP(m5_se_page_fault, M5OP_SE_PAGE_FAULT) \
M5OP(m5_dist_toggle_sync, M5OP_DIST_TOGGLE_SYNC) \
M5OP(m5_workload, M5OP_WORKLOAD) \
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)
{