syscall emulation: Enabled getrlimit and getrusage for x86. Added/moved rlimit
Review Request #1188 - Created May 11, 2012 and submitted
| Information | |
|---|---|
| Marc Orr | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 8980:e4120fc83ead --------------------------- syscall emulation: Enabled getrlimit and getrusage for x86. Added/moved rlimit constants to base linux header file. This patch is a revised version of Vince Weaver's patch from 591.
Ran the regression tester (with quick option).
Posted (May 11, 2012, 3:31 p.m.)
-
src/kern/linux/linux.hh (Diff revision 1) -
It's great that you factored these out into the common linux header, but shouldn't you remove them from the ISA-specific linux headers too?
Review request changed
Updated (May 14, 2012, 4:27 a.m.)
Description: |
|
|||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 3 (+29 -73) |
Ship It!
Review request changed
Updated (May 14, 2012, 6:37 a.m.)
Testing Done: |
|
|---|
could you go ahead and hook them up for ARM too? Thanks, Ali
Review request changed
Updated (May 20, 2012, 4:38 a.m.)
Description: |
|
|||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 4 (+30 -74) |
Ship It!
Posted (May 20, 2012, 4:55 a.m.)
-
src/kern/linux/linux.hh (Diff revision 4) -
it seems like what what you deleting, these are not the same in all ISAs. Particularly _AS and _NPROC have different values for ARM and Alpha
-
src/kern/linux/linux.hh (Diff revision 4) -
TGT_?
Review request changed
Updated (May 20, 2012, 10:46 a.m.)
Description: |
|
|||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 5 (+42 -72) |
Ship It!
