Deleted Added
full compact
cache.h (211049) cache.h (223719)
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 211049 2010-08-08 00:01:08Z marius $
42 * $FreeBSD: head/sys/sparc64/include/cache.h 223719 2011-07-02 11:14:54Z 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)

--- 54 unchanged lines hidden (view full) ---

105dcache_page_inval_t cheetah_dcache_page_inval;
106icache_page_inval_t cheetah_icache_page_inval;
107
108cache_enable_t spitfire_cache_enable;
109cache_flush_t spitfire_cache_flush;
110dcache_page_inval_t spitfire_dcache_page_inval;
111icache_page_inval_t spitfire_icache_page_inval;
112
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)

--- 54 unchanged lines hidden (view full) ---

105dcache_page_inval_t cheetah_dcache_page_inval;
106icache_page_inval_t cheetah_icache_page_inval;
107
108cache_enable_t spitfire_cache_enable;
109cache_flush_t spitfire_cache_flush;
110dcache_page_inval_t spitfire_dcache_page_inval;
111icache_page_inval_t spitfire_icache_page_inval;
112
113cache_enable_t zeus_cache_enable;
114cache_flush_t zeus_cache_flush;
115dcache_page_inval_t zeus_dcache_page_inval;
116icache_page_inval_t zeus_icache_page_inval;
117
113extern cache_enable_t *cache_enable;
114extern cache_flush_t *cache_flush;
115extern dcache_page_inval_t *dcache_page_inval;
116extern icache_page_inval_t *icache_page_inval;
117
118extern cache_enable_t *cache_enable;
119extern cache_flush_t *cache_flush;
120extern dcache_page_inval_t *dcache_page_inval;
121extern icache_page_inval_t *icache_page_inval;
122
118cache_flush_t zeus_cache_flush;
119dcache_page_inval_t zeus_dcache_page_inval;
120icache_page_inval_t zeus_icache_page_inval;
121
122#endif /* KERNEL */
123
124#endif /* !LOCORE */
125
126#endif /* !_MACHINE_CACHE_H_ */
123#endif /* KERNEL */
124
125#endif /* !LOCORE */
126
127#endif /* !_MACHINE_CACHE_H_ */