diff options
Diffstat (limited to 'usr/src/uts/sun4u/sys/mmu.h')
-rw-r--r-- | usr/src/uts/sun4u/sys/mmu.h | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/usr/src/uts/sun4u/sys/mmu.h b/usr/src/uts/sun4u/sys/mmu.h index 0a8a71e541..8f0f8eb214 100644 --- a/usr/src/uts/sun4u/sys/mmu.h +++ b/usr/src/uts/sun4u/sys/mmu.h @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -20,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2006 Sun Microsystems, Inc. All rights reserved. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -63,6 +62,7 @@ extern "C" { #define MMU_TSB_SX 0x50 /* d tsb secondary extension reg */ #define MMU_TSB_NX 0x58 /* i/d tsb nucleus extension reg */ #define MMU_TAG_ACCESS_EXT 0x60 /* tlb tag access extension reg */ +#define MMU_SHARED_CONTEXT 0x68 /* SPARC64-VII shared context */ @@ -198,6 +198,19 @@ extern "C" { #define TAGACCEXT_MKSZPAIR(SZ1, SZ0) (((SZ1) << 3) | (SZ0)) /* + * SPARC64-VII tsb prefetch register layout and VAs + * + * +-------------------------+-+---------+-+--+------+ + * | virtual address [63:13] | | page_sz |V| |TSB_sz| + * +-------------------------+-+---------+-+--+------+ + * 63 13 11 9 8 5 0 + */ +#define VA_UTSBPREF_8K 0x00 +#define VA_UTSBPREF_4M 0x08 +#define VA_KTSBPREF_8K 0x40 +#define VA_KTSBPREF_4M 0x48 + +/* * MMU PRIMARY/SECONDARY CONTEXT register */ #define CTXREG_CTX_MASK 0x1FFF |