From 6a237c23c1adb0be91a82a44d2cf13ff158b3ee2 Mon Sep 17 00:00:00 2001 From: Øyvind Harboe 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/arm920t.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/target/arm920t.h') diff --git a/src/target/arm920t.h b/src/target/arm920t.h index 9d5afab8..20f614d7 100644 --- a/src/target/arm920t.h +++ b/src/target/arm920t.h @@ -67,9 +67,9 @@ int arm920t_write_memory(struct target *target, void arm920t_post_debug_entry(struct target *target); void arm920t_pre_restore_context(struct target *target); int arm920t_get_ttb(struct target *target, uint32_t *result); -void arm920t_disable_mmu_caches(struct target *target, +int arm920t_disable_mmu_caches(struct target *target, int mmu, int d_u_cache, int i_cache); -void arm920t_enable_mmu_caches(struct target *target, +int arm920t_enable_mmu_caches(struct target *target, int mmu, int d_u_cache, int i_cache); extern const struct command_registration arm920t_command_handlers[]; -- cgit v1.2.3