OpenOCD
|
Go to the source code of this file.
Functions | |
int | armv4_5_mmu_read_physical (struct target *target, struct armv4_5_mmu_common *armv4_5_mmu, uint32_t address, uint32_t size, uint32_t count, uint8_t *buffer) |
int | armv4_5_mmu_translate_va (struct target *target, struct armv4_5_mmu_common *armv4_5_mmu, uint32_t va, uint32_t *cb, uint32_t *val) |
int | armv4_5_mmu_write_physical (struct target *target, struct armv4_5_mmu_common *armv4_5_mmu, uint32_t address, uint32_t size, uint32_t count, const uint8_t *buffer) |
int armv4_5_mmu_read_physical | ( | struct target * | target, |
struct armv4_5_mmu_common * | armv4_5_mmu, | ||
uint32_t | address, | ||
uint32_t | size, | ||
uint32_t | count, | ||
uint8_t * | buffer | ||
) |
Definition at line 104 of file armv4_5_mmu.c.
References armv4_5_mmu_common::armv4_5_cache, buffer, count, armv4_5_cache_common::d_u_cache_enabled, armv4_5_mmu_common::disable_mmu_caches, armv4_5_mmu_common::enable_mmu_caches, ERROR_OK, ERROR_TARGET_NOT_HALTED, armv4_5_cache_common::i_cache_enabled, armv4_5_mmu_common::mmu_enabled, armv4_5_mmu_common::read_memory, size, target::state, and TARGET_HALTED.
Referenced by arm720t_read_phys_memory(), arm920t_read_phys_memory(), arm926ejs_read_phys_memory(), and armv4_5_mmu_translate_va().
int armv4_5_mmu_translate_va | ( | struct target * | target, |
struct armv4_5_mmu_common * | armv4_5_mmu, | ||
uint32_t | va, | ||
uint32_t * | cb, | ||
uint32_t * | val | ||
) |
Definition at line 16 of file armv4_5_mmu.c.
References armv4_5_mmu_read_physical(), ERROR_OK, ERROR_TARGET_TRANSLATION_FAULT, armv4_5_mmu_common::get_ttb, armv4_5_mmu_common::has_tiny_pages, LOG_DEBUG, LOG_ERROR, and target_buffer_get_u32().
Referenced by arm720_virt2phys(), arm920_virt2phys(), arm920t_write_memory(), arm926ejs_virt2phys(), and xscale_virt2phys().
int armv4_5_mmu_write_physical | ( | struct target * | target, |
struct armv4_5_mmu_common * | armv4_5_mmu, | ||
uint32_t | address, | ||
uint32_t | size, | ||
uint32_t | count, | ||
const uint8_t * | buffer | ||
) |
Definition at line 132 of file armv4_5_mmu.c.
References armv4_5_mmu_common::armv4_5_cache, buffer, count, armv4_5_cache_common::d_u_cache_enabled, armv4_5_mmu_common::disable_mmu_caches, armv4_5_mmu_common::enable_mmu_caches, ERROR_OK, ERROR_TARGET_NOT_HALTED, armv4_5_cache_common::i_cache_enabled, armv4_5_mmu_common::mmu_enabled, size, target::state, TARGET_HALTED, and armv4_5_mmu_common::write_memory.
Referenced by arm720t_write_phys_memory(), arm920t_write_memory(), arm920t_write_phys_memory(), arm926ejs_write_memory(), and arm926ejs_write_phys_memory().