1*7c478bd9Sstevel@tonic-gate /* 2*7c478bd9Sstevel@tonic-gate * CDDL HEADER START 3*7c478bd9Sstevel@tonic-gate * 4*7c478bd9Sstevel@tonic-gate * The contents of this file are subject to the terms of the 5*7c478bd9Sstevel@tonic-gate * Common Development and Distribution License, Version 1.0 only 6*7c478bd9Sstevel@tonic-gate * (the "License"). You may not use this file except in compliance 7*7c478bd9Sstevel@tonic-gate * with the License. 8*7c478bd9Sstevel@tonic-gate * 9*7c478bd9Sstevel@tonic-gate * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10*7c478bd9Sstevel@tonic-gate * or http://www.opensolaris.org/os/licensing. 11*7c478bd9Sstevel@tonic-gate * See the License for the specific language governing permissions 12*7c478bd9Sstevel@tonic-gate * and limitations under the License. 13*7c478bd9Sstevel@tonic-gate * 14*7c478bd9Sstevel@tonic-gate * When distributing Covered Code, include this CDDL HEADER in each 15*7c478bd9Sstevel@tonic-gate * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16*7c478bd9Sstevel@tonic-gate * If applicable, add the following below this CDDL HEADER, with the 17*7c478bd9Sstevel@tonic-gate * fields enclosed by brackets "[]" replaced with your own identifying 18*7c478bd9Sstevel@tonic-gate * information: Portions Copyright [yyyy] [name of copyright owner] 19*7c478bd9Sstevel@tonic-gate * 20*7c478bd9Sstevel@tonic-gate * CDDL HEADER END 21*7c478bd9Sstevel@tonic-gate */ 22*7c478bd9Sstevel@tonic-gate /* 23*7c478bd9Sstevel@tonic-gate * Copyright 2005 Sun Microsystems, Inc. All rights reserved. 24*7c478bd9Sstevel@tonic-gate * Use is subject to license terms. 25*7c478bd9Sstevel@tonic-gate */ 26*7c478bd9Sstevel@tonic-gate 27*7c478bd9Sstevel@tonic-gate #ifndef _SYS_SUN4ASI_H 28*7c478bd9Sstevel@tonic-gate #define _SYS_SUN4ASI_H 29*7c478bd9Sstevel@tonic-gate 30*7c478bd9Sstevel@tonic-gate #pragma ident "%Z%%M% %I% %E% SMI" 31*7c478bd9Sstevel@tonic-gate 32*7c478bd9Sstevel@tonic-gate #ifdef __cplusplus 33*7c478bd9Sstevel@tonic-gate extern "C" { 34*7c478bd9Sstevel@tonic-gate #endif 35*7c478bd9Sstevel@tonic-gate 36*7c478bd9Sstevel@tonic-gate /* 37*7c478bd9Sstevel@tonic-gate * alternate address space identifiers 38*7c478bd9Sstevel@tonic-gate * 39*7c478bd9Sstevel@tonic-gate * 0x00 - 0x7F are privileged or hyperprivileged 40*7c478bd9Sstevel@tonic-gate * 0x80 - 0xFF can be used by users 41*7c478bd9Sstevel@tonic-gate */ 42*7c478bd9Sstevel@tonic-gate 43*7c478bd9Sstevel@tonic-gate /* 44*7c478bd9Sstevel@tonic-gate * ASIs common to all UltraSPARC processors in the sun4 machine classes. 45*7c478bd9Sstevel@tonic-gate */ 46*7c478bd9Sstevel@tonic-gate #define ASI_MEM 0x14 /* memory (e$, no d$) */ 47*7c478bd9Sstevel@tonic-gate #define ASI_IO 0x15 /* I/O (uncached, side effect) */ 48*7c478bd9Sstevel@tonic-gate #define ASI_MEML 0x1C /* memory little */ 49*7c478bd9Sstevel@tonic-gate #define ASI_IOL 0x1D /* I/O little */ 50*7c478bd9Sstevel@tonic-gate 51*7c478bd9Sstevel@tonic-gate #define ASI_PST8_P 0xC0 /* primary 8bit partial store */ 52*7c478bd9Sstevel@tonic-gate #define ASI_PST8_S 0xC1 /* secondary 8bit partial store */ 53*7c478bd9Sstevel@tonic-gate #define ASI_PST16_P 0xC2 /* primary 16bit partial store */ 54*7c478bd9Sstevel@tonic-gate #define ASI_PST16_S 0xC3 /* secondary 16bit partial store */ 55*7c478bd9Sstevel@tonic-gate #define ASI_PST32_P 0xC4 /* primary 32bit partial store */ 56*7c478bd9Sstevel@tonic-gate #define ASI_PST32_S 0xC5 /* secondary 32bit partial store */ 57*7c478bd9Sstevel@tonic-gate #define ASI_PST8_PL 0xC8 /* primary 8bit partial little */ 58*7c478bd9Sstevel@tonic-gate #define ASI_PST8_SL 0xC9 /* secondary 8bit partial little */ 59*7c478bd9Sstevel@tonic-gate #define ASI_PST16_PL 0xCA /* primary 16bit partial little */ 60*7c478bd9Sstevel@tonic-gate #define ASI_PST16_SL 0xCB /* secondary 16bit partial little */ 61*7c478bd9Sstevel@tonic-gate #define ASI_PST32_PL 0xCC /* primary 32bit partial little */ 62*7c478bd9Sstevel@tonic-gate #define ASI_PST32_SL 0xCD /* secondary 32bit partial little */ 63*7c478bd9Sstevel@tonic-gate 64*7c478bd9Sstevel@tonic-gate #define ASI_FL8_P 0xD0 /* primary 8bit floating store */ 65*7c478bd9Sstevel@tonic-gate #define ASI_FL8_S 0xD1 /* secondary 8bit floating store */ 66*7c478bd9Sstevel@tonic-gate #define ASI_FL16_P 0xD2 /* primary 16bit floating store */ 67*7c478bd9Sstevel@tonic-gate #define ASI_FL16_S 0xD3 /* secondary 16bit floating store */ 68*7c478bd9Sstevel@tonic-gate #define ASI_FL8_PL 0xD8 /* primary 8bit floating little */ 69*7c478bd9Sstevel@tonic-gate #define ASI_FL8_SL 0xD9 /* secondary 8bit floating little */ 70*7c478bd9Sstevel@tonic-gate #define ASI_FL16_PL 0xDA /* primary 16bit floating little */ 71*7c478bd9Sstevel@tonic-gate #define ASI_FL16_SL 0xDB /* secondary 16bit floating little */ 72*7c478bd9Sstevel@tonic-gate 73*7c478bd9Sstevel@tonic-gate #define ASI_BLK_COMMIT_P 0xE0 /* block commit primary */ 74*7c478bd9Sstevel@tonic-gate #define ASI_BLK_COMMIT_S 0xE1 /* block commit secondary */ 75*7c478bd9Sstevel@tonic-gate #define ASI_BLK_P 0xF0 /* block primary */ 76*7c478bd9Sstevel@tonic-gate #define ASI_BLK_S 0xF1 /* block secondary */ 77*7c478bd9Sstevel@tonic-gate #define ASI_BLK_PL 0xF8 /* block primary little */ 78*7c478bd9Sstevel@tonic-gate #define ASI_BLK_SL 0xF9 /* block secondary little */ 79*7c478bd9Sstevel@tonic-gate 80*7c478bd9Sstevel@tonic-gate #ifdef __cplusplus 81*7c478bd9Sstevel@tonic-gate } 82*7c478bd9Sstevel@tonic-gate #endif 83*7c478bd9Sstevel@tonic-gate 84*7c478bd9Sstevel@tonic-gate #endif /* _SYS_SUN4ASI_H */ 85