Review Board 2.0.15


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.

   

Issue Summary

1 0 1 0
Description From Last Updated Status
Review request changed
Updated (March 18, 2016, 11:44 a.m.)

Status: Closed (submitted)