OpenOCD
|
Go to the source code of this file.
Functions | |
int | nds32_probe_tlb (struct nds32 *nds32, const target_addr_t virtual_address, target_addr_t *physical_address) |
int | nds32_walk_page_table (struct nds32 *nds32, const target_addr_t virtual_address, target_addr_t *physical_address) |
Variables | |
static struct page_table_walker_info_s | page_table_info [PAGE_SIZE_NUM] |
int nds32_probe_tlb | ( | struct nds32 * | nds32, |
const target_addr_t | virtual_address, | ||
target_addr_t * | physical_address | ||
) |
Definition at line 14 of file nds32_tlb.c.
References aice_read_tlb(), nds32::target, and target_to_aice().
Referenced by nds32_virtual_to_physical().
int nds32_walk_page_table | ( | struct nds32 * | nds32, |
const target_addr_t | virtual_address, | ||
target_addr_t * | physical_address | ||
) |
Definition at line 30 of file nds32_tlb.c.
References nds32_mmu_config::default_min_page_size, ERROR_FAIL, ERROR_OK, page_table_walker_info_s::l1_base_mask, page_table_walker_info_s::l1_offset_mask, page_table_walker_info_s::l1_offset_shift, page_table_walker_info_s::l2_base_mask, page_table_walker_info_s::l2_offset_mask, page_table_walker_info_s::l2_offset_shift, nds32::mmu_config, MR1, nds32_get_mapped_reg(), nds32_read_buffer(), page_table_info, page_table_walker_info_s::ppn_mask, nds32::target, and page_table_walker_info_s::va_offset_mask.
Referenced by nds32_virtual_to_physical().
|
static |
Definition at line 14 of file nds32_tlb.c.
Referenced by nds32_walk_page_table().