/gem5/src/cpu/o3/ |
H A D | thread_state.hh | 142 /** Handles the syscall. */ 143 void syscall(int64_t callnum, Fault *fault) function in struct:O3ThreadState 145 process->syscall(callnum, tc, fault);
|
H A D | dyn_inst_impl.hh | 196 BaseO3DynInst<Impl>::syscall(int64_t callnum, Fault *fault) function in class:BaseO3DynInst 201 // HACK: check CPU's nextPC before and after syscall. If it 202 // changes, update this instruction's nextPC because the syscall 205 this->cpu->syscall(callnum, this->threadNumber, fault);
|
H A D | thread_context.hh | 422 /** Executes a syscall in SE mode. */ 424 syscall(int64_t callnum, Fault *fault) override 426 return cpu->syscall(callnum, thread->threadId(), fault);
|
H A D | dyn_inst.hh | 254 /** Emulates a syscall. */ 255 void syscall(int64_t callnum, Fault *fault) override;
|
H A D | cpu.hh | 284 /** Executes a syscall. 287 void syscall(int64_t callnum, ThreadID tid, Fault *fault);
|
H A D | cpu.cc | 921 FullO3CPU<Impl>::syscall(int64_t callnum, ThreadID tid, Fault *fault) function in class:FullO3CPU 923 DPRINTF(O3CPU, "[tid:%i] Executing syscall().\n\n", tid); 925 DPRINTF(Activity,"Activity: syscall() called.\n"); 927 // Temporarily increase this by one to account for the syscall 931 // Execute the actual syscall. 932 this->thread[tid]->syscall(callnum, fault);
|
/gem5/src/arch/sparc/linux/ |
H A D | process.cc | 107 case 0x10: //Linux 32 bit syscall trap 108 tc->syscall(tc->readIntReg(1), fault); 124 // case 0x10: // Linux 32 bit syscall trap 125 case 0x6d: // Linux 64 bit syscall trap 126 tc->syscall(tc->readIntReg(1), fault);
|
/gem5/tests/test-progs/asmtest/src/riscv/isa/rv64si/ |
H A D | sbreak.S | 7 # Test syscall trap.
|
H A D | scall.S | 7 # Test syscall trap.
|
/gem5/src/cpu/kvm/ |
H A D | perfevent.cc | 43 #include <sys/syscall.h> 45 #include <syscall.h> 166 fd = syscall(__NR_perf_event_open, 180 " the syscall to perf_event_open"); 191 return syscall(__NR_gettid);
|
H A D | timer.cc | 42 #include <sys/syscall.h> 66 return syscall(__NR_gettid);
|
/gem5/src/arch/x86/ |
H A D | pseudo_inst.cc | 44 * This function is executed when the simulation is executing the syscall 53 tc->syscall(tc->readIntReg(INTREG_RAX), &fault);
|
H A D | process.hh | 180 void syscall(int64_t callnum, ThreadContext *tc,
|
H A D | process.cc | 151 I386Process::syscall(int64_t callnum, ThreadContext *tc, Fault *fault) function in class:I386Process 160 X86Process::syscall(callnum, tc, fault); 212 0x0f,0x05, // syscall 220 0x0f,0x05, // syscall 452 /* enabling syscall and sysret */
|
/gem5/src/arch/riscv/ |
H A D | faults.cc | 194 tc->syscall(tc->readIntReg(SyscallNumReg), fault);
|
/gem5/src/sim/ |
H A D | process.hh | 75 virtual void syscall(int64_t callnum, ThreadContext *tc, Fault *fault);
|
H A D | process.cc | 393 Process::syscall(int64_t callnum, ThreadContext *tc, Fault *fault) function in class:Process
|
/gem5/src/cpu/ |
H A D | exec_context.hh | 307 * Executes a syscall specified by the callnum. 309 virtual void syscall(int64_t callnum, Fault *fault) = 0;
|
H A D | thread_context.hh | 112 /// Entered when target executes an exit syscall. 305 virtual void syscall(int64_t callnum, Fault *fault) = 0; 309 // Used in syscall-emulation mode when a thread calls the exit syscall.
|
H A D | simple_thread.hh | 597 syscall(int64_t callnum, Fault *fault) override 599 process->syscall(callnum, this, fault);
|
/gem5/src/cpu/checker/ |
H A D | thread_context.hh | 167 /** Executes a syscall in SE mode. */ 169 syscall(int64_t callnum, Fault *fault) override 171 return actualTC->syscall(callnum, fault);
|
H A D | cpu.hh | 582 // Assume that the normal CPU's call to syscall was successful. 583 // The checker's state would have already been updated by the syscall. 584 void syscall(int64_t callnum, Fault *fault) override { }
|
/gem5/src/cpu/minor/ |
H A D | exec_context.hh | 390 syscall(int64_t callnum, Fault *fault) override 395 thread.syscall(callnum, fault);
|
/gem5/src/cpu/simple/ |
H A D | exec_context.hh | 497 * Executes a syscall specified by the callnum. 500 syscall(int64_t callnum, Fault *fault) override 505 thread->syscall(callnum, fault);
|
/gem5/util/ |
H A D | compile | 167 bool_option("syscall", default=True, 219 if options.syscall: 220 modes.append('syscall') 232 valid = { ('alpha', 'syscall') : 'ALPHA_SE', 234 ('mips', 'syscall') : 'MIPS_SE', 235 ('sparc', 'syscall') : 'SPARC_SE' }
|