diff options
Diffstat (limited to 'usr/src/uts/sun4v/sys/mmu.h')
| -rw-r--r-- | usr/src/uts/sun4v/sys/mmu.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/src/uts/sun4v/sys/mmu.h b/usr/src/uts/sun4v/sys/mmu.h index b38d007d83..61d0812ace 100644 --- a/usr/src/uts/sun4v/sys/mmu.h +++ b/usr/src/uts/sun4v/sys/mmu.h @@ -1,5 +1,5 @@ /* - * Copyright 2005 Sun Microsystems, Inc. All rights reserved. + * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -117,6 +117,10 @@ extern "C" { */ #define FLUSH_ADDR (KERNELBASE + 2 * MMU_PAGESIZE4M) +#define MAX_NCTXS_BITS 16 /* sun4v max. contexts bits */ +#define MIN_NCTXS_BITS 2 +#define MAX_NCTXS (1ull << MAX_NCTXS_BITS) + #ifdef __cplusplus } #endif |
