staticinlinebool loongson3_cpucfg_emulation_enabled(struct cpuinfo_mips *c)
{ /* All supported cores have non-zero LOONGSON_CFG1 data. */ return c->loongson3_cpucfg_data[0] != 0;
}
staticinline u32 loongson3_cpucfg_read_synthesized(struct cpuinfo_mips *c,
__u64 sel)
{ switch (sel) { case LOONGSON_CFG0: return c->processor_id; case LOONGSON_CFG1: case LOONGSON_CFG2: case LOONGSON_CFG3: return c->loongson3_cpucfg_data[sel - 1]; case LOONGSON_CFG4: case LOONGSON_CFG5: /* CPUCFG selects 4 and 5 are related to the input clock *signal. * *Unimplementedfornow.
*/ return0; case LOONGSON_CFG6: /* CPUCFG select 6 is for the undocumented Safe Extension. */ return0; case LOONGSON_CFG7: /* CPUCFG select 7 is for the virtualization extension. *Wedon'tknowifthetwocurrentlyknownfeaturesare *supportedonoldercoresaccordingtothepublic *documentation,soleavethisatzero.
*/ return0;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.