syscall_emul: move mmapGrowsDown() to LiveProcess
Review Request #3326 - Created Feb. 10, 2016 and submitted
| Information | |
|---|---|
| Brandon Potter | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 11344:a936f73348d9 --------------------------- syscall_emul: move mmapGrowsDown() to LiveProcess The mmapGrowsDown() method was a static method on the OperatingSystem class (and derived classes), which worked OK for the templated syscall emulation methods, but made it hard to access elsewhere. This patch moves the method to be a virtual function on the LiveProcess method, where it can be overridden for specific platforms (for now, Alpha). In the process, also got rid of the unused mmap_start field on LiveProcess and OperatingSystem mmapGrowsUp variable.
Posted (Feb. 10, 2016, 11:05 a.m.)
-
src/gpu-compute/shader.cc (Diff revision 1) -
might as well put a space after the comma here while you're changing this line
Review request changed
Updated (Feb. 10, 2016, 11:42 a.m.)
Description: |
|
|||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+31 -49) |
