TARGET: fix handling return code of MMU translation
commitce58ab9a4ef7f014eac4d2e30d2b54b2c3e53895
authorAntonio Borneo <borneo.antonio@gmail.com>
Sat, 12 Jun 2010 03:46:56 +0000 (12 11:46 +0800)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Sat, 12 Jun 2010 10:08:06 +0000 (12 12:08 +0200)
treec77cbe47dd7e482ec8b7d35a2c0c0300109d2e28
parentdcc7de4f9b4dfa58ed8a8712c4c146a3c83aba17
TARGET: fix handling return code of MMU translation

Function armv4_5_mmu_translate_va() now properly signals
errors in the return value.
Remove former error handling by setting variable "type" to
value "-1".

Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
src/target/arm720t.c
src/target/arm920t.c
src/target/arm926ejs.c
src/target/armv4_5_mmu.c
src/target/cortex_a8.c
src/target/xscale.c