OpenOCD
nds32_tlb.c File Reference
Include dependency graph for nds32_tlb.c:

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]
 

Function Documentation

◆ nds32_probe_tlb()

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().

◆ nds32_walk_page_table()

Variable Documentation

◆ page_table_info

struct page_table_walker_info_s page_table_info[PAGE_SIZE_NUM]
static
Initial value:
= {
{0xFFC00000, 20, 0x003FF000, 10, 0x00000FFF, 0xFFFFF000, 0xFFFFF000, 0xFFFFF000},
{0xFF000000, 22, 0x00FFE000, 11, 0x00001FFF, 0xFFFFF000, 0xFFFFE000, 0xFFFFE000},
}

Definition at line 14 of file nds32_tlb.c.

Referenced by nds32_walk_page_table().