Searched hist:9008 (Results 1 - 1 of 1) sorted by relevance

/gem5/src/sim/
H A Dsyscall_emul.hhdiff 9008:59d2bcf37782 Sat May 19 07:13:00 EDT 2012 Gabe Black <gblack@eecs.umich.edu> Syscalls: warn when the length argument to mmap is excessive.

If the length argument to mmap is larger than the arbitrary but reasonable
limit of 4GB, there's a good chance that the value is nonsense and not
intentional. Rather than attempting to satisfy the mmap anyway, this change
makes gem5 warn to make it more apparent what's going wrong.

Completed in 41 milliseconds