Hi Srikanta, You can find the implementation of system calls in src/sim/syscall_emul.cc (and related files in the same directory). You can use the "strace" tool to find out the syscalls used by a binary.
As far as multithreading is concerned, I think SE mode is not suitable for that purpose and you might want to use FS mode of gem5. -Ayaz On Sun, Jul 16, 2023 at 9:59 PM Srikanta Chaitanya via gem5-users < gem5-users@gem5.org> wrote: > Hi , > I am simulating muticore riscv but when i fork threads it count is less > than my spawn count , > > I just want to read code of system calls , how they are implemented in > gem5 > > Please share me file names > > Let me know how to identify the system call from elf > > Please > Thanks srikanta > _______________________________________________ > gem5-users mailing list -- gem5-users@gem5.org > To unsubscribe send an email to gem5-users-le...@gem5.org >
_______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org