From 6a237c23c1adb0be91a82a44d2cf13ff158b3ee2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Mon, 19 Jul 2010 10:58:07 +0200 Subject: arm: add error propagation for enable/disable mmu caches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Øyvind Harboe --- src/target/armv4_5_mmu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/target/armv4_5_mmu.h') diff --git a/src/target/armv4_5_mmu.h b/src/target/armv4_5_mmu.h index d2716fb..f39834e 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; -- cgit v1.1