0N/A/*
2362N/A * Copyright (c) 1998, 2003, Oracle and/or its affiliates. All rights reserved.
0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A *
0N/A * This code is free software; you can redistribute it and/or modify it
0N/A * under the terms of the GNU General Public License version 2 only, as
2362N/A * published by the Free Software Foundation. Oracle designates this
0N/A * particular file as subject to the "Classpath" exception as provided
2362N/A * by Oracle in the LICENSE file that accompanied this code.
0N/A *
0N/A * This code is distributed in the hope that it will be useful, but WITHOUT
0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/A * version 2 for more details (a copy is included in the LICENSE file that
0N/A * accompanied this code).
0N/A *
0N/A * You should have received a copy of the GNU General Public License version
0N/A * 2 along with this work; if not, write to the Free Software Foundation,
0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A *
2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2362N/A * or visit www.oracle.com if you need additional information or have any
2362N/A * questions.
0N/A */
0N/A
0N/A
0N/A#ifndef VIS_ASI_H
0N/A#define VIS_ASI_H
0N/A
0N/A/* evolved from asm_asi.h in VSDK 1.0 */
0N/A
0N/A#ifdef __cplusplus
0N/Aextern "C" {
0N/A#endif
0N/A
0N/A/* ASI definitions for VIS */
0N/A
0N/A#define ASI_N 0x04
0N/A#define ASI_NL 0x0C
0N/A#define ASI_AIUP 0x10
0N/A#define ASI_AIUS 0x11
0N/A#define ASI_AIUPL 0x18
0N/A#define ASI_AIUSL 0x19
0N/A#define ASI_PHYS_USE_EC_L 0x1C
0N/A#define ASI_PHYS_BYPASS_EC_WITH_EBIT_L 0x1D
0N/A#define ASI_DC_DATA 0x46
0N/A#define ASI_DC_TAG 0x47
0N/A#define ASI_UPA_CONTROL 0x4A
0N/A#define ASI_MONDO_SEND_CTRL 0x48
0N/A#define ASI_MONDO_RECEIVE_CTRL 0x49
0N/A#define ASI_AFSR 0x4C
0N/A#define ASI_AFAR 0x4D
0N/A#define ASI_EC_TAG_DATA 0x4E
0N/A#define ASI_ICACHE_DATA 0x66
0N/A#define ASI_IC_INSTR 0x66
0N/A#define ASI_IC_TAG 0x67
0N/A#define ASI_IC_PRE_DECODE 0x6E
0N/A#define ASI_IC_NEXT_FIELD 0x6F
0N/A#define ASI_BLK_AIUP 0x70
0N/A#define ASI_BLK_AIUS 0x71
0N/A#define ASI_EC 0x76
0N/A#define ASI_BLK_AIUPL 0x78
0N/A#define ASI_BLK_AIUSL 0x79
0N/A#define ASI_P 0x80
0N/A#define ASI_S 0x81
0N/A#define ASI_PNF 0x82
0N/A#define ASI_SNF 0x83
0N/A#define ASI_PL 0x88
0N/A#define ASI_SL 0x89
0N/A#define ASI_PNFL 0x8A
0N/A#define ASI_SNFL 0x8B
0N/A#define ASI_PST8_P 0xC0
0N/A#define ASI_PST8_S 0xC1
0N/A#define ASI_PST16_P 0xC2
0N/A#define ASI_PST16_S 0xC3
0N/A#define ASI_PST32_P 0xC4
0N/A#define ASI_PST32_S 0xC5
0N/A#define ASI_PST8_PL 0xC8
0N/A#define ASI_PST8_SL 0xC9
0N/A#define ASI_PST16_PL 0xCA
0N/A#define ASI_PST16_SL 0xCB
0N/A#define ASI_PST32_PL 0xCC
0N/A#define ASI_PST32_SL 0xCD
0N/A#define ASI_FL8_P 0xD0
0N/A#define ASI_FL8_S 0xD1
0N/A#define ASI_FL16_P 0xD2
0N/A#define ASI_FL16_S 0xD3
0N/A#define ASI_FL8_PL 0xD8
0N/A#define ASI_FL8_SL 0xD9
0N/A#define ASI_FL16_PL 0xDA
0N/A#define ASI_FL16_SL 0xDB
0N/A#define ASI_COMMIT_P 0xE0
0N/A#define ASI_COMMIT_S 0xE1
0N/A#define ASI_BLK_P 0xF0
0N/A#define ASI_BLK_S 0xF1
0N/A#define ASI_BLK_PL 0xF8
0N/A#define ASI_BLK_SL 0xF9
0N/A
0N/A#define ASI_NUCLEUS 0x04
0N/A#define ASI_NUCLEUS_LITTLE 0x0C
0N/A#define ASI_AS_IF_USER_PRIMARY 0x10
0N/A#define ASI_AS_IF_USER_SECONDARY 0x11
0N/A#define ASI_PHYS_USE_EC 0x14
0N/A#define ASI_PHYS_BYPASS_EC_WITH_EBIT 0x15
0N/A#define ASI_AS_IF_USER_PRIMARY_LITTLE 0x18
0N/A#define ASI_AS_IF_USER_SECONDARY_LITTLE 0x19
0N/A#define ASI_PHYS_USE_EC_LITTLE 0x1C
0N/A#define ASI_PHYS_BYPASS_EC_WITH_EBIT_LITTLE 0x1D
0N/A#define ASI_LSU_CONTROL_REG 0x45
0N/A#define ASI_DCACHE_DATA 0x46
0N/A#define ASI_DCACHE_TAG 0x47
0N/A#define ASI_INTR_DISPATCH_STATUS 0x48
0N/A#define ASI_INTR_RECEIVE 0x49
0N/A#define ASI_UPA_CONFIG_REG 0x4A
0N/A#define ASI_ESTATE_ERROR_EN_REG 0x4B
0N/A#define ASI_ASYNC_FAULT_STATUS 0x4C
0N/A#define ASI_ASYNC_FAULT_ADDR 0x4D
0N/A#define ASI_ECACHE_TAG_DATA 0x4E
0N/A#define ASI_OBSERVABILITY_REG 0x4F
0N/A#define ASI_IMMU 0x50
0N/A#define ASI_IMU_TSB_BASE 0x50
0N/A#define ASI_IMU_TAG_ACCESS 0x50
0N/A#define ASI_IMU_SFSR 0x50
0N/A#define ASI_IMU_TAG_TARGET 0x50
0N/A#define ASI_IMU_TSB_POINTER_8K 0x51
0N/A#define ASI_IMU_TSB_POINTER_64K 0x52
0N/A#define ASI_IMU_DATAIN 0x54
0N/A#define ASI_IMMU_DATA_IN 0x54
0N/A#define ASI_IMU_DATA_ACCESS 0x55
0N/A#define ASI_IMU_TAG_READ 0x56
0N/A#define ASI_IMU_DEMAP 0x57
0N/A#define ASI_DMMU 0x58
0N/A#define ASI_PRIMARY_CONTEXT 0x58
0N/A#define ASI_SECONDARY_CONTEXT 0x58
0N/A#define ASI_DMU_TSB_BASE 0x58
0N/A#define ASI_DMU_TAG_ACCESS 0x58
0N/A#define ASI_DMU_TAG_TARGET 0x58
0N/A#define ASI_DMU_SFSR 0x58
0N/A#define ASI_DMU_SFAR 0x58
0N/A#define ASI_DMU_VA_WATCHPOINT 0x58
0N/A#define ASI_DMU_PA_WATCHPOINT 0x58
0N/A#define ASI_DMU_TSB_POINTER_8K 0x59
0N/A#define ASI_DMU_TSB_POINTER_64K 0x5A
0N/A#define ASI_DMU_TSB_POINTER_DIRECT 0x5B
0N/A#define ASI_DMU_DATAIN 0x5C
0N/A#define ASI_DMMU_DATA_IN 0x5C
0N/A#define ASI_DMU_DATA_ACCESS 0x5D
0N/A#define ASI_DMU_TAG_READ 0x5E
0N/A#define ASI_DMU_DEMAP 0x5F
0N/A#define ASI_ICACHE_INSTR 0x66
0N/A#define ASI_ICACHE_TAG 0x67
0N/A#define ASI_ICACHE_PRE_DECODE 0x6E
0N/A#define ASI_ICACHE_NEXT_FIELD 0x6F
0N/A#define ASI_BLOCK_AS_IF_USER_PRIMARY 0x70
0N/A#define ASI_BLOCK_AS_IF_USER_SECONDARY 0x71
0N/A#define ASI_EXT 0x76
0N/A#define ASI_ECACHE 0x76
0N/A#define ASI_ECACHE_DATA 0x76
0N/A#define ASI_ECACHE_TAG 0x76
0N/A#define ASI_SDB_INTR 0x77
0N/A#define ASI_SDBH_ERR_REG 0x77
0N/A#define ASI_SDBL_ERR_REG 0x77
0N/A#define ASI_SDBH_CONTROL_REG 0x77
0N/A#define ASI_SDBL_CONTROL_REG 0x77
0N/A#define ASI_INTR_DISPATCH 0x77
0N/A#define ASI_INTR_DATA0 0x77
0N/A#define ASI_INTR_DATA1 0x77
0N/A#define ASI_INTR_DATA2 0x77
0N/A#define ASI_BLOCK_AS_IF_USER_PRIMARY_LITTLE 0x78
0N/A#define ASI_BLOCK_AS_IF_USER_SECONDARY_LITTLE 0x79
0N/A#define ASI_PRIMARY 0x80
0N/A#define ASI_SECONDARY 0x81
0N/A#define ASI_PRIMARY_NO_FAULT 0x82
0N/A#define ASI_SECONDARY_NO_FAULT 0x83
0N/A#define ASI_PRIMARY_LITTLE 0x88
0N/A#define ASI_SECONDARY_LITTLE 0x89
0N/A#define ASI_PRIMARY_NO_FAULT_LITTLE 0x8A
0N/A#define ASI_SECONDARY_NO_FAULT_LITTLE 0x8B
0N/A#define ASI_PST8_PRIMARY 0xC0
0N/A#define ASI_PST8_SECONDARY 0xC1
0N/A#define ASI_PST16_PRIMARY 0xC2
0N/A#define ASI_PST16_SECONDARY 0xC3
0N/A#define ASI_PST32_PRIMARY 0xC4
0N/A#define ASI_PST32_SECONDARY 0xC5
0N/A#define ASI_PST8_PRIMARY_LITTLE 0xC8
0N/A#define ASI_PST8_SECONDARY_LITTLE 0xC9
0N/A#define ASI_PST16_PRIMARY_LITTLE 0xCA
0N/A#define ASI_PST16_SECONDARY_LITTLE 0xCB
0N/A#define ASI_PST32_PRIMARY_LITTLE 0xCC
0N/A#define ASI_PST32_SECONDARY_LITTLE 0xCD
0N/A#define ASI_FL8_PRIMARY 0xD0
0N/A#define ASI_FL8_SECONDARY 0xD1
0N/A#define ASI_FL16_PRIMARY 0xD2
0N/A#define ASI_FL16_SECONDARY 0xD3
0N/A#define ASI_FL8_PRIMARY_LITTLE 0xD8
0N/A#define ASI_FL8_SECONDARY_LITTLE 0xD9
0N/A#define ASI_FL16_PRIMARY_LITTLE 0xDA
0N/A#define ASI_FL16_SECONDARY_LITTLE 0xDB
0N/A#define ASI_COMMIT_PRIMARY 0xE0
0N/A#define ASI_COMMIT_SECONDARY 0xE1
0N/A#define ASI_BLOCK_PRIMARY 0xF0
0N/A#define ASI_BLOCK_SECONDARY 0xF1
0N/A#define ASI_BLOCK_PRIMARY_LITTLE 0xF8
0N/A#define ASI_BLOCK_SECONDARY_LITTLE 0xF9
0N/A
0N/A#ifdef __cplusplus
0N/A}
0N/A#endif
0N/A
0N/A#endif /* VIS_ASI_H */