summaryrefslogtreecommitdiff
path: root/src/arch/alpha/ev5.cc
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2012-05-19 04:13:47 -0700
committerGabe Black <gblack@eecs.umich.edu>2012-05-19 04:13:47 -0700
commit250c40799dd5e3bf1d7ebead8ddd894b8cb8c528 (patch)
tree56918b16149b44407b1804d2073291ac95245da9 /src/arch/alpha/ev5.cc
parent8fe8efeb34ae33e36bff77c4eb42d1ebfa95a7e8 (diff)
downloadgem5-250c40799dd5e3bf1d7ebead8ddd894b8cb8c528.tar.xz
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.
Diffstat (limited to 'src/arch/alpha/ev5.cc')
0 files changed, 0 insertions, 0 deletions