cache.h (204152) | cache.h (207537) |
---|---|
1/*- 2 * Copyright (c) 1996 3 * The President and Fellows of Harvard College. All rights reserved. 4 * Copyright (c) 1992, 1993 5 * The Regents of the University of California. All rights reserved. 6 * 7 * This software was developed by the Computer Systems Engineering group 8 * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and --- 25 unchanged lines hidden (view full) --- 34 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 35 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 36 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 37 * SUCH DAMAGE. 38 * 39 * from: @(#)cache.h 8.1 (Berkeley) 6/11/93 40 * from: NetBSD: cache.h,v 1.3 2000/08/01 00:28:02 eeh Exp 41 * | 1/*- 2 * Copyright (c) 1996 3 * The President and Fellows of Harvard College. All rights reserved. 4 * Copyright (c) 1992, 1993 5 * The Regents of the University of California. All rights reserved. 6 * 7 * This software was developed by the Computer Systems Engineering group 8 * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and --- 25 unchanged lines hidden (view full) --- 34 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 35 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 36 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 37 * SUCH DAMAGE. 38 * 39 * from: @(#)cache.h 8.1 (Berkeley) 6/11/93 40 * from: NetBSD: cache.h,v 1.3 2000/08/01 00:28:02 eeh Exp 41 * |
42 * $FreeBSD: head/sys/sparc64/include/cache.h 204152 2010-02-20 23:24:19Z marius $ | 42 * $FreeBSD: head/sys/sparc64/include/cache.h 207537 2010-05-02 19:38:17Z marius $ |
43 */ 44 45#ifndef _MACHINE_CACHE_H_ 46#define _MACHINE_CACHE_H_ 47 48#define DCACHE_COLOR_BITS (1) 49#define DCACHE_COLORS (1 << DCACHE_COLOR_BITS) 50#define DCACHE_COLOR_MASK (DCACHE_COLORS - 1) --- 57 unchanged lines hidden (view full) --- 108dcache_page_inval_t spitfire_dcache_page_inval; 109icache_page_inval_t spitfire_icache_page_inval; 110 111extern cache_enable_t *cache_enable; 112extern cache_flush_t *cache_flush; 113extern dcache_page_inval_t *dcache_page_inval; 114extern icache_page_inval_t *icache_page_inval; 115 | 43 */ 44 45#ifndef _MACHINE_CACHE_H_ 46#define _MACHINE_CACHE_H_ 47 48#define DCACHE_COLOR_BITS (1) 49#define DCACHE_COLORS (1 << DCACHE_COLOR_BITS) 50#define DCACHE_COLOR_MASK (DCACHE_COLORS - 1) --- 57 unchanged lines hidden (view full) --- 108dcache_page_inval_t spitfire_dcache_page_inval; 109icache_page_inval_t spitfire_icache_page_inval; 110 111extern cache_enable_t *cache_enable; 112extern cache_flush_t *cache_flush; 113extern dcache_page_inval_t *dcache_page_inval; 114extern icache_page_inval_t *icache_page_inval; 115 |
116cache_flush_t zeus_cache_flush; 117dcache_page_inval_t zeus_dcache_page_inval; 118icache_page_inval_t zeus_icache_page_inval; 119 |
|
116#endif /* KERNEL */ 117 118#endif /* !LOCORE */ 119 120#endif /* !_MACHINE_CACHE_H_ */ | 120#endif /* KERNEL */ 121 122#endif /* !LOCORE */ 123 124#endif /* !_MACHINE_CACHE_H_ */ |