/* * debugfs ops for the L1 cache * * Copyright (C) 2006 Paul Mundt * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details.
*/ #include <linux/init.h> #include <linux/module.h> #include <linux/debugfs.h> #include <linux/seq_file.h> #include <asm/processor.h> #include <linux/uaccess.h> #include <asm/cache.h> #include <asm/io.h>
/* * If the OC is already in RAM mode, we only have * half of the entries to consider..
*/ if ((ccr & CCR_CACHE_ORA) && cache_type == CACHE_TYPE_DCACHE)
waysize >>= 1;
waysize <<= cache->entry_shift;
for (way = 0; way < cache->ways; way++) { unsignedlong addr; unsignedint line;
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.