Searched refs:syscall (Results 1 - 25 of 30) sorted by relevance

12

/gem5/src/cpu/o3/
H A Dthread_state.hh142 /** Handles the syscall. */
143 void syscall(int64_t callnum, Fault *fault) function in struct:O3ThreadState
145 process->syscall(callnum, tc, fault);
H A Ddyn_inst_impl.hh196 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 Dthread_context.hh422 /** Executes a syscall in SE mode. */
424 syscall(int64_t callnum, Fault *fault) override
426 return cpu->syscall(callnum, thread->threadId(), fault);
H A Ddyn_inst.hh254 /** Emulates a syscall. */
255 void syscall(int64_t callnum, Fault *fault) override;
H A Dcpu.hh284 /** Executes a syscall.
287 void syscall(int64_t callnum, ThreadID tid, Fault *fault);
H A Dcpu.cc921 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 Dprocess.cc107 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 Dsbreak.S7 # Test syscall trap.
H A Dscall.S7 # Test syscall trap.
/gem5/src/cpu/kvm/
H A Dperfevent.cc43 #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 Dtimer.cc42 #include <sys/syscall.h>
66 return syscall(__NR_gettid);
/gem5/src/arch/x86/
H A Dpseudo_inst.cc44 * This function is executed when the simulation is executing the syscall
53 tc->syscall(tc->readIntReg(INTREG_RAX), &fault);
H A Dprocess.hh180 void syscall(int64_t callnum, ThreadContext *tc,
H A Dprocess.cc151 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 Dfaults.cc194 tc->syscall(tc->readIntReg(SyscallNumReg), fault);
/gem5/src/sim/
H A Dprocess.hh75 virtual void syscall(int64_t callnum, ThreadContext *tc, Fault *fault);
H A Dprocess.cc393 Process::syscall(int64_t callnum, ThreadContext *tc, Fault *fault) function in class:Process
/gem5/src/cpu/
H A Dexec_context.hh307 * Executes a syscall specified by the callnum.
309 virtual void syscall(int64_t callnum, Fault *fault) = 0;
H A Dthread_context.hh112 /// 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 Dsimple_thread.hh597 syscall(int64_t callnum, Fault *fault) override
599 process->syscall(callnum, this, fault);
/gem5/src/cpu/checker/
H A Dthread_context.hh167 /** Executes a syscall in SE mode. */
169 syscall(int64_t callnum, Fault *fault) override
171 return actualTC->syscall(callnum, fault);
H A Dcpu.hh582 // 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 Dexec_context.hh390 syscall(int64_t callnum, Fault *fault) override
395 thread.syscall(callnum, fault);
/gem5/src/cpu/simple/
H A Dexec_context.hh497 * Executes a syscall specified by the callnum.
500 syscall(int64_t callnum, Fault *fault) override
505 thread->syscall(callnum, fault);
/gem5/util/
H A Dcompile167 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' }

Completed in 50 milliseconds

12