diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-07-19 10:58:07 +0200 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-07-19 22:13:48 +0200 |
commit | 6a237c23c1adb0be91a82a44d2cf13ff158b3ee2 (patch) | |
tree | e83e5c8678c371be845fe9d00c4a9ef07038e8c9 /src/target/armv4_5_mmu.h | |
parent | 70fee9207b5fd1c6f499b790591446adc4d4467c (diff) |
arm: add error propagation for enable/disable mmu caches
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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/armv4_5_mmu.h b/src/target/armv4_5_mmu.h index d2716fb0..f39834e2 100644 --- a/src/target/armv4_5_mmu.h +++ b/src/target/armv4_5_mmu.h @@ -29,8 +29,8 @@ struct armv4_5_mmu_common int (*get_ttb)(struct target *target, uint32_t *result); int (*read_memory)(struct target *target, uint32_t address, uint32_t size, uint32_t count, uint8_t *buffer); int (*write_memory)(struct target *target, uint32_t address, uint32_t size, uint32_t count, uint8_t *buffer); - void (*disable_mmu_caches)(struct target *target, int mmu, int d_u_cache, int i_cache); - void (*enable_mmu_caches)(struct target *target, int mmu, int d_u_cache, int i_cache); + int (*disable_mmu_caches)(struct target *target, int mmu, int d_u_cache, int i_cache); + int (*enable_mmu_caches)(struct target *target, int mmu, int d_u_cache, int i_cache); struct armv4_5_cache_common armv4_5_cache; int has_tiny_pages; int mmu_enabled; |