From c2ec5cfaef7d218335e71c07deb6be4ed1b62122 Mon Sep 17 00:00:00 2001 From: uwe Date: Tue, 25 Oct 2005 22:03:43 +0000 Subject: [PATCH] Sync c_linesize and c_nlines comments with reality. --- sys/arch/sparc/sparc/cache.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/arch/sparc/sparc/cache.h b/sys/arch/sparc/sparc/cache.h index 4517799ff9b4..c3ccd5ad7ae2 100644 --- a/sys/arch/sparc/sparc/cache.h +++ b/sys/arch/sparc/sparc/cache.h @@ -1,4 +1,4 @@ -/* $NetBSD: cache.h,v 1.32 2004/04/27 16:37:43 pk Exp $ */ +/* $NetBSD: cache.h,v 1.33 2005/10/25 22:03:43 uwe Exp $ */ /* * Copyright (c) 1996 @@ -243,8 +243,9 @@ struct cacheinfo { int c_enabled; /* true => cache is enabled */ int c_hwflush; /* true => have hardware flush */ int c_linesize; /* line size, in bytes */ + /* if split, MIN(icache,dcache) */ int c_l2linesize; /* log2(linesize) */ - int c_nlines; /* number of cache lines */ + int c_nlines; /* precomputed # of lines to flush */ int c_physical; /* true => cache has physical address tags */ int c_associativity; /* # of "buckets" in cache line */