From 70fee9207b5fd1c6f499b790591446adc4d4467c Mon Sep 17 00:00:00 2001 From: Øyvind Harboe Date: Mon, 19 Jul 2010 08:45:45 +0200 Subject: arm: add error propagation to generic get_ttb fn MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Øyvind Harboe --- src/target/arm920t.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/target/arm920t.h') diff --git a/src/target/arm920t.h b/src/target/arm920t.h index a75f01ab..9d5afab8 100644 --- a/src/target/arm920t.h +++ b/src/target/arm920t.h @@ -66,7 +66,7 @@ int arm920t_write_memory(struct target *target, uint32_t address, uint32_t size, uint32_t count, uint8_t *buffer); void arm920t_post_debug_entry(struct target *target); void arm920t_pre_restore_context(struct target *target); - uint32_t arm920t_get_ttb(struct target *target); +int arm920t_get_ttb(struct target *target, uint32_t *result); void arm920t_disable_mmu_caches(struct target *target, int mmu, int d_u_cache, int i_cache); void arm920t_enable_mmu_caches(struct target *target, -- cgit v1.2.3