OSDN Git Service

* cris/traps.c (TARGET_SYS_writev): New macro.
authorhp <hp>
Tue, 30 Dec 2008 13:36:17 +0000 (13:36 +0000)
committerhp <hp>
Tue, 30 Dec 2008 13:36:17 +0000 (13:36 +0000)
commit8f5e110a724f8669f138968136b1b3a267fe779e
tree1b734fd433014867094a1774193b16dcddd7330f
parent7a750cc18dd24eb650cdc70caf537b8221c84d35
* 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