/* * Some drivers need to perform DMA into kmalloc'ed buffers * and so we have to increase the kmalloc minalign for this.
*/ #define ARCH_DMA_MINALIGN L1_CACHE_BYTES
#ifndef __ASSEMBLER__ struct cache_info { unsignedint ways; /* Number of cache ways */ unsignedint sets; /* Number of cache sets */ unsignedint linesz; /* Cache line size (bytes) */
unsignedint way_size; /* sets * line size */
/* * way_incr is the address offset for accessing the next way * in memory mapped cache array ops.
*/ unsignedint way_incr; unsignedint entry_shift; unsignedint entry_mask;
/* * Compute a mask which selects the address bits which overlap between * 1. those used to select the cache set during indexing * 2. those in the physical page number.
*/ unsignedint alias_mask; unsignedint n_aliases; /* Number of aliases */
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.