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.
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.
Functions calling mips32_find_cpu_by_prid()
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()