mips32_read_config_mmu() is only used within OpenOCD.
 
Symbols
loading...
Files
loading...
CodeScopeDevelopment ToolsOpenOCDmips32_read_config_mmu()

mips32_read_config_mmu() function

mips32_read_config_mmu - Reads MMU configuration and logs relevant information. Reads the MMU configuration from the CP0 register and calculates the number of TLB entries, ways, and sets. Handles different MMU types like VTLB only, root RPU/Fixed, and VTLB and FTLB.

Syntax

static int mips32_read_config_mmu(struct mips_ejtag *ejtag_info);

Arguments

ejtag_info

EJTAG interface information.

Return value

ERROR_OK on success; error code on failure.

References

LocationReferrerText
mips32.c:1377
static int mips32_read_config_mmu(struct mips_ejtag *ejtag_info)
mips32.c:1999mips32_handle_cpuinfo_command()
retval = mips32_read_config_mmu(ejtag_info);

Call Tree

Functions calling mips32_read_config_mmu()
Functions called by mips32_read_config_mmu()
all items filtered out
mips32_read_config_mmu()
all items filtered out
Data read by mips32_read_config_mmu()
Data written by mips32_read_config_mmu()
mips32_read_config_mmu()::config4
mips32_read_config_mmu()::tlb_entries
mips32_read_config_mmu()::ways
mips32_read_config_mmu()::sets
mips32_read_config_mmu()::config0
mips32_read_config_mmu()::config1
mips32_read_config_mmu()::config3
mips32_read_config_mmu()::mmu_type
mips32_read_config_mmu()::vz_present
mips32_read_config_mmu()::retval
mips32_read_config_mmu()::index
all items filtered out
mips32_read_config_mmu()
mips32_read_config_mmu()::tlb_entries
mips32_read_config_mmu()::ways
mips32_read_config_mmu()::sets
mips32_read_config_mmu()::index
all items filtered out
Type of mips32_read_config_mmu()
mips32_read_config_mmu()
uint32_t
all items filtered out