OSDN Git Service

* cris/traps.c (TARGET_SYS_writev): New macro.
authorHans-Peter Nilsson <hp@axis.com>
Tue, 30 Dec 2008 13:36:17 +0000 (13:36 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Tue, 30 Dec 2008 13:36:17 +0000 (13:36 +0000)
commit09ccd0369ae37ec954af66a5184f281639e9b119
treef659f619d53db0cb21668623fa4523d6c8f50025
parentd9bb996bf4fee472c21b16d6421022d1613a50c4
* cris/traps.c (TARGET_SYS_writev): New macro.
(is_mapped_only, cris_dump_map): New functions.
(cris_break_13_handler) <case TARGET_SYS_mmap2>: Handle more flags
and prot combinations and a non-zero page-offset.  If
TARGET_MAP_FIXED, unmap pages before mapping them.
<case TARGET_SYS_mprotect>: When checking, allow any length
argument.  Don't actually do anything.
<case TARGET_SYS_writev>: New case.
sim/ChangeLog
sim/cris/traps.c