diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/asm-sparc64/asi.h |
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
Diffstat (limited to 'include/asm-sparc64/asi.h')
-rw-r--r-- | include/asm-sparc64/asi.h | 145 |
1 files changed, 145 insertions, 0 deletions
diff --git a/include/asm-sparc64/asi.h b/include/asm-sparc64/asi.h new file mode 100644 index 000000000000..534855660f2a --- /dev/null +++ b/include/asm-sparc64/asi.h | |||
@@ -0,0 +1,145 @@ | |||
1 | /* $Id: asi.h,v 1.5 2001/03/29 11:47:47 davem Exp $ */ | ||
2 | #ifndef _SPARC64_ASI_H | ||
3 | #define _SPARC64_ASI_H | ||
4 | |||
5 | /* asi.h: Address Space Identifier values for the V9. | ||
6 | * | ||
7 | * Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu) | ||
8 | */ | ||
9 | |||
10 | /* V9 Architecture mandary ASIs. */ | ||
11 | #define ASI_N 0x04 /* Nucleus */ | ||
12 | #define ASI_NL 0x0c /* Nucleus, little endian */ | ||
13 | #define ASI_AIUP 0x10 /* Primary, user */ | ||
14 | #define ASI_AIUS 0x11 /* Secondary, user */ | ||
15 | #define ASI_AIUPL 0x18 /* Primary, user, little endian */ | ||
16 | #define ASI_AIUSL 0x19 /* Secondary, user, little endian */ | ||
17 | #define ASI_P 0x80 /* Primary, implicit */ | ||
18 | #define ASI_S 0x81 /* Secondary, implicit */ | ||
19 | #define ASI_PNF 0x82 /* Primary, no fault */ | ||
20 | #define ASI_SNF 0x83 /* Secondary, no fault */ | ||
21 | #define ASI_PL 0x88 /* Primary, implicit, l-endian */ | ||
22 | #define ASI_SL 0x89 /* Secondary, implicit, l-endian */ | ||
23 | #define ASI_PNFL 0x8a /* Primary, no fault, l-endian */ | ||
24 | #define ASI_SNFL 0x8b /* Secondary, no fault, l-endian */ | ||
25 | |||
26 | /* SpitFire and later extended ASIs. The "(III)" marker designates | ||
27 | * UltraSparc-III and later specific ASIs. The "(CMT)" marker designates | ||
28 | * Chip Multi Threading specific ASIs. | ||
29 | */ | ||
30 | #define ASI_PHYS_USE_EC 0x14 /* PADDR, E-cachable */ | ||
31 | #define ASI_PHYS_BYPASS_EC_E 0x15 /* PADDR, E-bit */ | ||
32 | #define ASI_PHYS_USE_EC_L 0x1c /* PADDR, E-cachable, little endian*/ | ||
33 | #define ASI_PHYS_BYPASS_EC_E_L 0x1d /* PADDR, E-bit, little endian */ | ||
34 | #define ASI_NUCLEUS_QUAD_LDD 0x24 /* Cachable, qword load */ | ||
35 | #define ASI_NUCLEUS_QUAD_LDD_L 0x2c /* Cachable, qword load, l-endian */ | ||
36 | #define ASI_PCACHE_DATA_STATUS 0x30 /* (III) PCache data stat RAM diag */ | ||
37 | #define ASI_PCACHE_DATA 0x31 /* (III) PCache data RAM diag */ | ||
38 | #define ASI_PCACHE_TAG 0x32 /* (III) PCache tag RAM diag */ | ||
39 | #define ASI_PCACHE_SNOOP_TAG 0x33 /* (III) PCache snoop tag RAM diag */ | ||
40 | #define ASI_QUAD_LDD_PHYS 0x34 /* (III+) PADDR, qword load */ | ||
41 | #define ASI_WCACHE_VALID_BITS 0x38 /* (III) WCache Valid Bits diag */ | ||
42 | #define ASI_WCACHE_DATA 0x39 /* (III) WCache data RAM diag */ | ||
43 | #define ASI_WCACHE_TAG 0x3a /* (III) WCache tag RAM diag */ | ||
44 | #define ASI_WCACHE_SNOOP_TAG 0x3b /* (III) WCache snoop tag RAM diag */ | ||
45 | #define ASI_QUAD_LDD_PHYS_L 0x3c /* (III+) PADDR, qw-load, l-endian */ | ||
46 | #define ASI_SRAM_FAST_INIT 0x40 /* (III+) Fast SRAM init */ | ||
47 | #define ASI_CORE_AVAILABLE 0x41 /* (CMT) LP Available */ | ||
48 | #define ASI_CORE_ENABLE_STAT 0x41 /* (CMT) LP Enable Status */ | ||
49 | #define ASI_CORE_ENABLE 0x41 /* (CMT) LP Enable RW */ | ||
50 | #define ASI_XIR_STEERING 0x41 /* (CMT) XIR Steering RW */ | ||
51 | #define ASI_CORE_RUNNING_RW 0x41 /* (CMT) LP Running RW */ | ||
52 | #define ASI_CORE_RUNNING_W1S 0x41 /* (CMT) LP Running Write-One Set */ | ||
53 | #define ASI_CORE_RUNNING_W1C 0x41 /* (CMT) LP Running Write-One Clr */ | ||
54 | #define ASI_CORE_RUNNING_STAT 0x41 /* (CMT) LP Running Status */ | ||
55 | #define ASI_CMT_ERROR_STEERING 0x41 /* (CMT) Error Steering RW */ | ||
56 | #define ASI_DCACHE_INVALIDATE 0x42 /* (III) DCache Invalidate diag */ | ||
57 | #define ASI_DCACHE_UTAG 0x43 /* (III) DCache uTag diag */ | ||
58 | #define ASI_DCACHE_SNOOP_TAG 0x44 /* (III) DCache snoop tag RAM diag */ | ||
59 | #define ASI_LSU_CONTROL 0x45 /* Load-store control unit */ | ||
60 | #define ASI_DCU_CONTROL_REG 0x45 /* (III) DCache Unit Control reg */ | ||
61 | #define ASI_DCACHE_DATA 0x46 /* DCache data-ram diag access */ | ||
62 | #define ASI_DCACHE_TAG 0x47 /* Dcache tag/valid ram diag access*/ | ||
63 | #define ASI_INTR_DISPATCH_STAT 0x48 /* IRQ vector dispatch status */ | ||
64 | #define ASI_INTR_RECEIVE 0x49 /* IRQ vector receive status */ | ||
65 | #define ASI_UPA_CONFIG 0x4a /* UPA config space */ | ||
66 | #define ASI_JBUS_CONFIG 0x4a /* (IIIi) JBUS Config Register */ | ||
67 | #define ASI_SAFARI_CONFIG 0x4a /* (III) Safari Config Register */ | ||
68 | #define ASI_SAFARI_ADDRESS 0x4a /* (III) Safari Address Register */ | ||
69 | #define ASI_ESTATE_ERROR_EN 0x4b /* E-cache error enable space */ | ||
70 | #define ASI_AFSR 0x4c /* Async fault status register */ | ||
71 | #define ASI_AFAR 0x4d /* Async fault address register */ | ||
72 | #define ASI_EC_TAG_DATA 0x4e /* E-cache tag/valid ram diag acc */ | ||
73 | #define ASI_IMMU 0x50 /* Insn-MMU main register space */ | ||
74 | #define ASI_IMMU_TSB_8KB_PTR 0x51 /* Insn-MMU 8KB TSB pointer reg */ | ||
75 | #define ASI_IMMU_TSB_64KB_PTR 0x52 /* Insn-MMU 64KB TSB pointer reg */ | ||
76 | #define ASI_ITLB_DATA_IN 0x54 /* Insn-MMU TLB data in reg */ | ||
77 | #define ASI_ITLB_DATA_ACCESS 0x55 /* Insn-MMU TLB data access reg */ | ||
78 | #define ASI_ITLB_TAG_READ 0x56 /* Insn-MMU TLB tag read reg */ | ||
79 | #define ASI_IMMU_DEMAP 0x57 /* Insn-MMU TLB demap */ | ||
80 | #define ASI_DMMU 0x58 /* Data-MMU main register space */ | ||
81 | #define ASI_DMMU_TSB_8KB_PTR 0x59 /* Data-MMU 8KB TSB pointer reg */ | ||
82 | #define ASI_DMMU_TSB_64KB_PTR 0x5a /* Data-MMU 16KB TSB pointer reg */ | ||
83 | #define ASI_DMMU_TSB_DIRECT_PTR 0x5b /* Data-MMU TSB direct pointer reg */ | ||
84 | #define ASI_DTLB_DATA_IN 0x5c /* Data-MMU TLB data in reg */ | ||
85 | #define ASI_DTLB_DATA_ACCESS 0x5d /* Data-MMU TLB data access reg */ | ||
86 | #define ASI_DTLB_TAG_READ 0x5e /* Data-MMU TLB tag read reg */ | ||
87 | #define ASI_DMMU_DEMAP 0x5f /* Data-MMU TLB demap */ | ||
88 | #define ASI_IIU_INST_TRAP 0x60 /* (III) Instruction Breakpoint */ | ||
89 | #define ASI_INTR_ID 0x63 /* (CMT) Interrupt ID register */ | ||
90 | #define ASI_CORE_ID 0x63 /* (CMT) LP ID register */ | ||
91 | #define ASI_CESR_ID 0x63 /* (CMT) CESR ID register */ | ||
92 | #define ASI_IC_INSTR 0x66 /* Insn cache instrucion ram diag */ | ||
93 | #define ASI_IC_TAG 0x67 /* Insn cache tag/valid ram diag */ | ||
94 | #define ASI_IC_STAG 0x68 /* (III) Insn cache snoop tag ram */ | ||
95 | #define ASI_IC_PRE_DECODE 0x6e /* Insn cache pre-decode ram diag */ | ||
96 | #define ASI_IC_NEXT_FIELD 0x6f /* Insn cache next-field ram diag */ | ||
97 | #define ASI_BRPRED_ARRAY 0x6f /* (III) Branch Prediction RAM diag*/ | ||
98 | #define ASI_BLK_AIUP 0x70 /* Primary, user, block load/store */ | ||
99 | #define ASI_BLK_AIUS 0x71 /* Secondary, user, block ld/st */ | ||
100 | #define ASI_MCU_CTRL_REG 0x72 /* (III) Memory controller regs */ | ||
101 | #define ASI_EC_DATA 0x74 /* (III) E-cache data staging reg */ | ||
102 | #define ASI_EC_CTRL 0x75 /* (III) E-cache control reg */ | ||
103 | #define ASI_EC_W 0x76 /* E-cache diag write access */ | ||
104 | #define ASI_UDB_ERROR_W 0x77 /* External UDB error regs W */ | ||
105 | #define ASI_UDB_CONTROL_W 0x77 /* External UDB control regs W */ | ||
106 | #define ASI_INTR_W 0x77 /* IRQ vector dispatch write */ | ||
107 | #define ASI_INTR_DATAN_W 0x77 /* (III) Out irq vector data reg N */ | ||
108 | #define ASI_INTR_DISPATCH_W 0x77 /* (III) Interrupt vector dispatch */ | ||
109 | #define ASI_BLK_AIUPL 0x78 /* Primary, user, little, blk ld/st*/ | ||
110 | #define ASI_BLK_AIUSL 0x79 /* Secondary, user, little, blk ld/st*/ | ||
111 | #define ASI_EC_R 0x7e /* E-cache diag read access */ | ||
112 | #define ASI_UDBH_ERROR_R 0x7f /* External UDB error regs rd hi */ | ||
113 | #define ASI_UDBL_ERROR_R 0x7f /* External UDB error regs rd low */ | ||
114 | #define ASI_UDBH_CONTROL_R 0x7f /* External UDB control regs rd hi */ | ||
115 | #define ASI_UDBL_CONTROL_R 0x7f /* External UDB control regs rd low*/ | ||
116 | #define ASI_INTR_R 0x7f /* IRQ vector dispatch read */ | ||
117 | #define ASI_INTR_DATAN_R 0x7f /* (III) In irq vector data reg N */ | ||
118 | #define ASI_PST8_P 0xc0 /* Primary, 8 8-bit, partial */ | ||
119 | #define ASI_PST8_S 0xc1 /* Secondary, 8 8-bit, partial */ | ||
120 | #define ASI_PST16_P 0xc2 /* Primary, 4 16-bit, partial */ | ||
121 | #define ASI_PST16_S 0xc3 /* Secondary, 4 16-bit, partial */ | ||
122 | #define ASI_PST32_P 0xc4 /* Primary, 2 32-bit, partial */ | ||
123 | #define ASI_PST32_S 0xc5 /* Secondary, 2 32-bit, partial */ | ||
124 | #define ASI_PST8_PL 0xc8 /* Primary, 8 8-bit, partial, L */ | ||
125 | #define ASI_PST8_SL 0xc9 /* Secondary, 8 8-bit, partial, L */ | ||
126 | #define ASI_PST16_PL 0xca /* Primary, 4 16-bit, partial, L */ | ||
127 | #define ASI_PST16_SL 0xcb /* Secondary, 4 16-bit, partial, L */ | ||
128 | #define ASI_PST32_PL 0xcc /* Primary, 2 32-bit, partial, L */ | ||
129 | #define ASI_PST32_SL 0xcd /* Secondary, 2 32-bit, partial, L */ | ||
130 | #define ASI_FL8_P 0xd0 /* Primary, 1 8-bit, fpu ld/st */ | ||
131 | #define ASI_FL8_S 0xd1 /* Secondary, 1 8-bit, fpu ld/st */ | ||
132 | #define ASI_FL16_P 0xd2 /* Primary, 1 16-bit, fpu ld/st */ | ||
133 | #define ASI_FL16_S 0xd3 /* Secondary, 1 16-bit, fpu ld/st */ | ||
134 | #define ASI_FL8_PL 0xd8 /* Primary, 1 8-bit, fpu ld/st, L */ | ||
135 | #define ASI_FL8_SL 0xd9 /* Secondary, 1 8-bit, fpu ld/st, L*/ | ||
136 | #define ASI_FL16_PL 0xda /* Primary, 1 16-bit, fpu ld/st, L */ | ||
137 | #define ASI_FL16_SL 0xdb /* Secondary, 1 16-bit, fpu ld/st,L*/ | ||
138 | #define ASI_BLK_COMMIT_P 0xe0 /* Primary, blk store commit */ | ||
139 | #define ASI_BLK_COMMIT_S 0xe1 /* Secondary, blk store commit */ | ||
140 | #define ASI_BLK_P 0xf0 /* Primary, blk ld/st */ | ||
141 | #define ASI_BLK_S 0xf1 /* Secondary, blk ld/st */ | ||
142 | #define ASI_BLK_PL 0xf8 /* Primary, blk ld/st, little */ | ||
143 | #define ASI_BLK_SL 0xf9 /* Secondary, blk ld/st, little */ | ||
144 | |||
145 | #endif /* _SPARC64_ASI_H */ | ||