Clean up mmapFunc.
authorSteve Reinhardt <stever@eecs.umich.edu>
Tue, 11 Apr 2006 00:02:36 +0000 (20:02 -0400)
committerSteve Reinhardt <stever@eecs.umich.edu>
Tue, 11 Apr 2006 00:02:36 +0000 (20:02 -0400)
commitcab1af2ee871ce88ace9c877a1163ace4319c51d
treeaa7b6a52798d59819aee46286d4ece539fd47eb5
parent59ab31cd803fbc0e341e805ec510cab1ec997e98
Clean up mmapFunc.

sim/syscall_emul.hh:
    Clean up mmapFunc: args should be aligned and PageTable::allocate
    already handles multi-page allocations, so most of thw work done here
    was unnecessary (as far as I can tell).  I didn't test this beyond
    compiling though...

--HG--
extra : convert_revision : d79591a1cc58ea82ea911cc05e0970e81e1d2c60
sim/syscall_emul.hh