Hi Severin,

I assume you're talking about the files in src/kern/linux?  Actually those
files appear to be unused... so the good news is that any inconsistency in
them doesn't affect anything.  (Ali, is there any reason I shouldn't just
get rid of them?  I verified that everything compiles without them.)

You really want to look at the syscallDescs[] arrays in
src/arch/x86/linux/syscalls.cc.

Steve



On Tue, Jul 1, 2014 at 1:37 AM, Severin Wischmann via gem5-dev <
[email protected]> wrote:

> Hi all
>
> In the file linux_syscalls.hh the enumeration defining the number of the
> system calls lists exit as 34 and exit_group as 35, with syscall as 0. In
> linux_syscalls.cc the array standard_strings has at index 33 "exit" and 34
> is "exit_group", this because "syscall" is not present. Is this difference
> of one intentional? Is the constant "syscall" in the enumeration
> meaningful?
>
> I'm wondering because I'd like to terminate my threads seperately, instead
> of all together.
>
> I did check out the gem5-stable branch, if this is any issue of the
> version.
>
> Best,
> Severin
> _______________________________________________
> gem5-dev mailing list
> [email protected]
> http://m5sim.org/mailman/listinfo/gem5-dev
>
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to