mips32_find_cpu_by_prid() is only used within OpenOCD.
 
Symbols
loading...
Files
loading...
CodeScopeDevelopment ToolsOpenOCDmips32_find_cpu_by_prid()

mips32_find_cpu_by_prid() function

mips32_find_cpu_by_prid - Find CPU information by processor ID. This function looks up the CPU entry in the mips32_cpu_entry array based on the provided processor ID. It also handles special cases like AMD/Alchemy CPUs that use Company Options instead of Processor IDs.

Syntax

static const struct cpu_entry *mips32_find_cpu_by_prid(uint32_t prid);

Arguments

prid

Processor ID of the CPU.

Return value

Pointer to the corresponding cpu_entry struct, or the 'unknown' entry if not found.

References

LocationReferrerText
mips32.c:899
static const struct cpu_entry *mips32_find_cpu_by_prid(uint32_t prid)
mips32.c:986mips32_cpu_probe()
const struct cpu_entry *entry = mips32_find_cpu_by_prid(mips32->prid);

Call Tree

Functions calling mips32_find_cpu_by_prid()
all items filtered out
mips32_find_cpu_by_prid()
Data read by mips32_find_cpu_by_prid()
Data written by mips32_find_cpu_by_prid()
mips32_find_cpu_by_prid()::i
mips32_find_cpu_by_prid()::entry
all items filtered out
mips32_find_cpu_by_prid()
mips32_find_cpu_by_prid()::i
all items filtered out
Type of mips32_find_cpu_by_prid()
mips32_find_cpu_by_prid()
all items filtered out