/* * On LoongArch, ioremap() has two variants, ioremap_wc() and ioremap_cache(). * They map bus memory into CPU space, the mapped memory is marked uncachable * (_CACHE_SUC), uncachable but accelerated by write-combine (_CACHE_WUC) and * cachable (_CACHE_CC) respectively for CPU access. * * @offset: bus address of the memory * @size: size of the resource to map
*/ #define ioremap_wc(offset, size) \
ioremap_prot((offset), (size), \
wc_enabled ? PAGE_KERNEL_WUC : PAGE_KERNEL_SUC)
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.