/* Set PTEA register */ #ifdef CONFIG_X2TLB /* *FortheextendedmodeTLBthisistrivial,onlytheESZand *EPRbitsneedtobewrittenouttoPTEA,withtheremainderof *theprotectionbits(withtheexceptionofthecompat-modeSZ *andPRbits,whicharecleared)beingwrittenoutinPTEL.
*/
__raw_writel(pte.pte_high, MMU_PTEA); #else if (cpu_data->flags & CPU_HAS_PTEA) { /* The last 3 bits and the first one of pteval contains *thePTEAtimingcontrolandspaceattributebits
*/
__raw_writel(copy_ptea_attributes(pteval), MMU_PTEA);
} #endif
/* Set PTEL register */
pteval &= _PAGE_FLAGS_HARDWARE_MASK; /* drop software flags */ #ifdef CONFIG_CACHE_WRITETHROUGH
pteval |= _PAGE_WT; #endif /* conveniently, we want all the software flags to be 0 anyway */
__raw_writel(pteval, MMU_PTEL);
/* Load the TLB */ asmvolatile("ldtlb": /* no output */ : /* no input */ : "memory");
local_irq_restore(flags);
}
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.