asi.h revision 86226
1/*- 2 * Copyright (c) 1997 Berkeley Software Design, Inc. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. 9 * 2. Redistributions in binary form must reproduce the above copyright 10 * notice, this list of conditions and the following disclaimer in the 11 * documentation and/or other materials provided with the distribution. 12 * 3. Berkeley Software Design Inc's name may not be used to endorse or 13 * promote products derived from this software without specific prior 14 * written permission. 15 * 16 * THIS SOFTWARE IS PROVIDED BY BERKELEY SOFTWARE DESIGN INC ``AS IS'' AND 17 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 19 * ARE DISCLAIMED. IN NO EVENT SHALL BERKELEY SOFTWARE DESIGN INC BE LIABLE 20 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 * SUCH DAMAGE. 27 * 28 * from: BSDI: asi.h,v 1.3 1997/08/08 14:31:42 torek 29 * $FreeBSD: head/sys/sparc64/include/asi.h 86226 2001-11-09 19:37:52Z tmm $ 30 */ 31 32#ifndef _MACHINE_ASI_H_ 33#define _MACHINE_ASI_H_ 34 35/* 36 * Standard v9 asis 37 */ 38#define ASI_N 0x4 39#define ASI_NL 0xc 40#define ASI_AIUP 0x10 41#define ASI_AIUS 0x11 42#define ASI_AIUSL 0x19 43#define ASI_P 0x80 44#define ASI_S 0x81 45#define ASI_PNF 0x82 46#define ASI_SNF 0x83 47#define ASI_PL 0x88 48#define ASI_PNFL 0x8a 49#define ASI_SNFL 0x8b 50 51/* 52 * UltraSPARC extensions 53 */ 54#define ASI_PHYS_USE_EC 0x14 55#define ASI_PHYS_BYPASS_EC_WITH_EBIT 0x15 56#define ASI_PHYS_USE_EC_L 0x1c 57#define ASI_PHYS_BYPASS_EC_WITH_EBIT_L 0x1d 58 59#define ASI_NUCLEUS_QUAD_LDD 0x24 60#define ASI_NUCLEUS_QUAD_LDD_L 0x2c 61 62#define ASI_LSU_CTL_REG 0x45 63 64#define ASI_INTR_DISPATCH_STATUS 0x48 65#define ASI_INTR_RECEIVE 0x49 66 67#define ASI_IMMU_TAG_TARGET_REG 0x50 68#define ASI_IMMU 0x50 69#define AA_IMMU_TTR 0x0 70#define AA_IMMU_SFSR 0x18 71#define AA_IMMU_TSB 0x28 72#define AA_IMMU_TAR 0x30 73 74#define ASI_IMMU_TSB_8KB_PTR_REG 0x51 75#define ASI_IMMU_TSB_64KB_PTR_REG 0x52 76#define ASI_ITLB_DATA_IN_REG 0x54 77#define ASI_ITLB_DATA_ACCESS_REG 0x55 78#define ASI_ITLB_TAG_READ_REG 0x56 79#define ASI_IMMU_DEMAP 0x57 80 81#define ASI_DMMU_TAG_TARGET_REG 0x58 82#define ASI_DMMU 0x58 83#define AA_DMMU_TTR 0x0 84#define AA_DMMU_PCXR 0x8 85#define AA_DMMU_SCXR 0x10 86#define AA_DMMU_SFSR 0x18 87#define AA_DMMU_SFAR 0x20 88#define AA_DMMU_TSB 0x28 89#define AA_DMMU_TAR 0x30 90#define AA_DMMU_VWPR 0x38 91#define AA_DMMU_PWPR 0x40 92 93#define ASI_DCACHE_DATA 0x46 94#define ASI_DCACHE_TAG 0x47 95#define ASI_ECACHE_TAG_DATA 0x4e 96 97#define ASI_DMMU_TSB_8KB_PTR_REG 0x59 98#define ASI_DMMU_TSB_64KB_PTR_REG 0x5a 99#define ASI_DMMU_TSB_DIRECT_PTR_REG 0x5b 100#define ASI_DTLB_DATA_IN_REG 0x5c 101#define ASI_DTLB_DATA_ACCESS_REG 0x5d 102#define ASI_DTLB_TAG_READ_REG 0x5e 103#define ASI_DMMU_DEMAP 0x5f 104 105#define ASI_ICACHE_INSTR 0x66 106#define ASI_ICACHE_TAG 0x67 107#define ASI_ICACHE_PRE_DECODE 0x6e 108#define ASI_ICACHE_PRE_NEXT_FIELD 0x6f 109 110#define ASI_BLK_AUIP 0x70 111#define ASI_BLK_AIUS 0x71 112 113#define ASI_ECACHE_W 0x76 114 115#define ASI_SDB_INTR_W 0x77 116#define AA_SDB_INTR_D0 0x40 117#define AA_SDB_INTR_D1 0x50 118#define AA_SDB_INTR_D2 0x60 119 120#define ASI_BLK_AIUPL 0x78 121#define ASI_BLK_AIUSL 0x79 122 123#define ASI_ECACHE_R 0x7e 124 125#define ASI_SDB_INTR_R 0x7f 126 127#define ASI_BLK_COMMIT_P 0xe0 128#define ASI_BLK_COMMIT_S 0xe1 129#define ASI_BLK_P 0xf0 130#define ASI_BLK_S 0xf1 131#define ASI_BLK_PL 0xf8 132#define ASI_BLK_SL 0xf9 133 134#endif /* !_MACHINE_ASI_H_ */ 135