Look at:
src/arch/x86/linux/syscalls.cc
src/sim/syscall_emul.hh

Regards,

On 31 October 2014 11:25, Debiprasanna Sahoo via gem5-users <
[email protected]> wrote:

> Hi,
>
> I am trying to understand the system call "mremapFunc" in se mode. I am
> unable to understand how is system call made. I understand that there is no
> direct call to this function. Rather it is called using doSyscall using
> call parameters and call number, but am unable to track the exact location
> of the "mremapFunc" system call. By exact location I mean, where are the
> system call name and arguments set. I also tried to search "setSyscallArg"
> but again could not figure out how this particular system call is made.
> Understanding this call by debugging is also difficult because the call is
> made infrequently. I also tried to debug using "gem5.debug" using flag
> "SyscallVerbose", but with less luck. Can anyone please help to understand
> this or let me know if I want to make this system call after few cycles,
> how to do so.
>
> Thanks,
> Debiprasanna Sahoo
>
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to