summaryrefslogtreecommitdiff
path: root/src/target/armv4_5_mmu.h
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2010-06-10 16:18:14 +0200
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-06-11 15:53:23 +0200
commit0538081246fafbfb74d554bb1b758412534aa254 (patch)
treec845abc278fa7483617669557d53b034aa17b90f /src/target/armv4_5_mmu.h
parentecc8041c0f4c30a7310c0f8414a5261ee7a090ca (diff)
downloadopenocd+libswd-0538081246fafbfb74d554bb1b758412534aa254.tar.gz
openocd+libswd-0538081246fafbfb74d554bb1b758412534aa254.tar.bz2
openocd+libswd-0538081246fafbfb74d554bb1b758412534aa254.tar.xz
openocd+libswd-0538081246fafbfb74d554bb1b758412534aa254.zip
arm mmu: error propagation added for address translation
The return value for MMU translation was a mess, either error or value. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/target/armv4_5_mmu.h')
-rw-r--r--src/target/armv4_5_mmu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/armv4_5_mmu.h b/src/target/armv4_5_mmu.h
index 6b9ed34c..3a6851fa 100644
--- a/src/target/armv4_5_mmu.h
+++ b/src/target/armv4_5_mmu.h
@@ -43,9 +43,9 @@ enum
extern char* armv4_5_page_type_names[];
-uint32_t armv4_5_mmu_translate_va(struct target *target,
+int armv4_5_mmu_translate_va(struct target *target,
struct armv4_5_mmu_common *armv4_5_mmu, uint32_t va, int *type,
- uint32_t *cb, int *domain, uint32_t *ap);
+ uint32_t *cb, int *domain, uint32_t *ap, uint32_t *val);
int armv4_5_mmu_read_physical(struct target *target,
struct armv4_5_mmu_common *armv4_5_mmu,