|
OpenOCD
|


Go to the source code of this file.
Data Structures | |
| struct | armv7m_arch_cache |
| struct | armv7m_cache_common |
| struct | armv7m_cache_size |
Functions | |
| int | armv7m_d_cache_flush (struct target *target, uint32_t address, unsigned int length) |
| int | armv7m_deferred_identify_cache (struct target *target) |
| int | armv7m_handle_cache_info_command (struct command_invocation *cmd, struct target *target) |
| int | armv7m_i_cache_inval (struct target *target, uint32_t address, unsigned int length) |
| int | armv7m_identify_cache (struct target *target) |
| int armv7m_d_cache_flush | ( | struct target * | target, |
| uint32_t | address, | ||
| unsigned int | length | ||
| ) |
Definition at line 242 of file armv7m_cache.c.
References address, ALIGN_DOWN, armv7m_common::armv7m_cache, armv7m_cache_common::d_min_line_len, adiv5_ap::dap, dap_run(), DCCIMVAC, armv7m_common::debug_ap, ERROR_OK, armv7m_cache_common::has_d_u_cache, armv7m_cache_common::info_valid, keep_alive(), length, mem_ap_write_u32(), and target_to_armv7m().
Referenced by cortex_m_set_breakpoint(), and cortex_m_unset_breakpoint().
| int armv7m_deferred_identify_cache | ( | struct target * | target | ) |
Definition at line 225 of file armv7m_cache.c.
References armv7m_common::armv7m_cache, armv7m_identify_cache_internal(), armv7m_cache_common::defer_identification, ERROR_OK, armv7m_cache_common::info_valid, and target_to_armv7m().
Referenced by cortex_m_debug_entry(), and cortex_m_poll_one().
| int armv7m_handle_cache_info_command | ( | struct command_invocation * | cmd, |
| struct target * | target | ||
| ) |
Definition at line 290 of file armv7m_cache.c.
References armv7m_cache_common::arch, armv7m_common::armv7m_cache, armv7m_cache_size::associativity, armv7m_cache_size::cache_size, CLIDR_CTYPE_D_CACHE, CLIDR_CTYPE_I_CACHE, CLIDR_CTYPE_UNIFIED_CACHE, cmd, command_print(), armv7m_arch_cache::ctype, armv7m_arch_cache::d_u_size, armv7m_cache_common::defer_identification, ERROR_FAIL, ERROR_OK, armv7m_arch_cache::i_size, armv7m_cache_common::info_valid, armv7m_cache_size::line_len, armv7m_cache_common::loc, armv7m_cache_size::num_sets, target_to_armv7m(), and target_was_examined().
Referenced by COMMAND_HANDLER().
| int armv7m_i_cache_inval | ( | struct target * | target, |
| uint32_t | address, | ||
| unsigned int | length | ||
| ) |
Definition at line 266 of file armv7m_cache.c.
References address, ALIGN_DOWN, armv7m_common::armv7m_cache, adiv5_ap::dap, dap_run(), armv7m_common::debug_ap, ERROR_OK, armv7m_cache_common::has_i_cache, armv7m_cache_common::i_min_line_len, ICIMVAU, armv7m_cache_common::info_valid, keep_alive(), length, mem_ap_write_u32(), and target_to_armv7m().
Referenced by cortex_m_set_breakpoint(), and cortex_m_unset_breakpoint().
| int armv7m_identify_cache | ( | struct target * | target | ) |
Definition at line 207 of file armv7m_cache.c.
References armv7m_common::armv7m_cache, armv7m_identify_cache_internal(), cortex_m_common::core_info, CORTEX_M7_PARTNO, cortex_m_common::dcb_dhcsr, armv7m_cache_common::defer_identification, ERROR_OK, cortex_m_part_info::impl_part, armv7m_cache_common::info_valid, S_RESET_ST, target_to_armv7m(), and target_to_cm().
Referenced by cortex_m_examine().