From 9e62f86f24dbd1a3f8d1a84fbfd18dc15dc23002 Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Sat, 12 Jun 2010 11:58:50 +0800 Subject: TARGET: removed unsed parameter Parameter "type" of function armv4_5_mmu_translate_va() is now not used. Remove the parameter and the "enum" listing its values. Signed-off-by: Antonio Borneo --- src/target/armv4_5_mmu.h | 9 +-------- 1 file changed, 1 insertion(+), 8 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 3a6851fa..8f540a67 100644 --- a/src/target/armv4_5_mmu.h +++ b/src/target/armv4_5_mmu.h @@ -36,15 +36,8 @@ struct armv4_5_mmu_common int mmu_enabled; }; -enum -{ - ARMV4_5_SECTION, ARMV4_5_LARGE_PAGE, ARMV4_5_SMALL_PAGE, ARMV4_5_TINY_PAGE -}; - -extern char* armv4_5_page_type_names[]; - int armv4_5_mmu_translate_va(struct target *target, - struct armv4_5_mmu_common *armv4_5_mmu, uint32_t va, int *type, + struct armv4_5_mmu_common *armv4_5_mmu, uint32_t va, uint32_t *cb, int *domain, uint32_t *ap, uint32_t *val); int armv4_5_mmu_read_physical(struct target *target, -- cgit v1.2.3