/* * Some bootloaders set the 'Kseg0 coherency algorithm' to * 'Cacheable, noncoherent, write-through, no write allocate' * and this cause performance issues. Let's go and change it to * 'Cacheable, noncoherent, write-back, write allocate'
*/
.macro kernel_entry_setup
mfc0 t0, CP0_CONFIG
li t1, ~CONF_CM_CMASK and t0, t1
ori t0, CONF_CM_CACHABLE_NONCOHERENT
mtc0 t0, CP0_CONFIG
nop
.endm
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.