diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-18 07:08:52 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-18 07:08:52 +0000 |
commit | db7e77237c5a8104b527aeb23a2546b4bab92d8a (patch) | |
tree | 2a79cc24a23e9aa5321123bfa5dda5a9d656a3a7 /src/target/armv4_5_mmu.h | |
parent | f876d5e9c769a288faa7fd14b7bf373363542aab (diff) | |
download | riscv-openocd-db7e77237c5a8104b527aeb23a2546b4bab92d8a.zip riscv-openocd-db7e77237c5a8104b527aeb23a2546b4bab92d8a.tar.gz riscv-openocd-db7e77237c5a8104b527aeb23a2546b4bab92d8a.tar.bz2 |
Transform 'u32' to 'uint32_t' in src/target/arm*
- Replace '\([^_]\)u32' with '\1uint32_t'.
- Replace '^u32' with 'uint32_t'.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2278 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/armv4_5_mmu.h')
-rw-r--r-- | src/target/armv4_5_mmu.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/target/armv4_5_mmu.h b/src/target/armv4_5_mmu.h index 673a684..dc9f595 100644 --- a/src/target/armv4_5_mmu.h +++ b/src/target/armv4_5_mmu.h @@ -25,9 +25,9 @@ typedef struct armv4_5_mmu_common_s { - u32 (*get_ttb)(target_t *target); - int (*read_memory)(target_t *target, u32 address, u32 size, u32 count, uint8_t *buffer); - int (*write_memory)(target_t *target, u32 address, u32 size, u32 count, uint8_t *buffer); + uint32_t (*get_ttb)(target_t *target); + int (*read_memory)(target_t *target, uint32_t address, uint32_t size, uint32_t count, uint8_t *buffer); + int (*write_memory)(target_t *target, uint32_t address, uint32_t size, uint32_t count, uint8_t *buffer); void (*disable_mmu_caches)(target_t *target, int mmu, int d_u_cache, int i_cache); void (*enable_mmu_caches)(target_t *target, int mmu, int d_u_cache, int i_cache); armv4_5_cache_common_t armv4_5_cache; @@ -42,9 +42,9 @@ enum extern char* armv4_5_page_type_names[]; -extern u32 armv4_5_mmu_translate_va(target_t *target, armv4_5_mmu_common_t *armv4_5_mmu, u32 va, int *type, u32 *cb, int *domain, u32 *ap); -extern int armv4_5_mmu_read_physical(target_t *target, armv4_5_mmu_common_t *armv4_5_mmu, u32 address, u32 size, u32 count, uint8_t *buffer); -extern int armv4_5_mmu_write_physical(target_t *target, armv4_5_mmu_common_t *armv4_5_mmu, u32 address, u32 size, u32 count, uint8_t *buffer); +extern uint32_t armv4_5_mmu_translate_va(target_t *target, armv4_5_mmu_common_t *armv4_5_mmu, uint32_t va, int *type, uint32_t *cb, int *domain, uint32_t *ap); +extern int armv4_5_mmu_read_physical(target_t *target, armv4_5_mmu_common_t *armv4_5_mmu, uint32_t address, uint32_t size, uint32_t count, uint8_t *buffer); +extern int armv4_5_mmu_write_physical(target_t *target, armv4_5_mmu_common_t *armv4_5_mmu, uint32_t address, uint32_t size, uint32_t count, uint8_t *buffer); extern int armv4_5_mmu_handle_virt2phys_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc, target_t *target, armv4_5_mmu_common_t *armv4_5_mmu); extern int armv4_5_mmu_handle_md_phys_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc, target_t *target, armv4_5_mmu_common_t *armv4_5_mmu); |