Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | /* |
2 | * ========== Copyright Header Begin ========================================== | |
3 | * | |
4 | * OpenSPARC T2 Processor File: peptsb.s | |
5 | * Copyright (C) 1995-2007 Sun Microsystems, Inc. All Rights Reserved | |
6 | * 4150 Network Circle, Santa Clara, California 95054, U.S.A. | |
7 | * | |
8 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | |
9 | * | |
10 | * This program is free software; you can redistribute it and/or modify | |
11 | * it under the terms of the GNU General Public License as published by | |
12 | * the Free Software Foundation; version 2 of the License. | |
13 | * | |
14 | * This program is distributed in the hope that it will be useful, | |
15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 | * GNU General Public License for more details. | |
18 | * | |
19 | * You should have received a copy of the GNU General Public License | |
20 | * along with this program; if not, write to the Free Software | |
21 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
22 | * | |
23 | * For the avoidance of doubt, and except that if any non-GPL license | |
24 | * choice is available it will apply instead, Sun elects to use only | |
25 | * the General Public License version 2 (GPLv2) at this time for any | |
26 | * software where a choice of GPL license versions is made | |
27 | * available with the language indicating that GPLv2 or any later version | |
28 | * may be used, or where a choice of which version of the GPL is applied is | |
29 | * otherwise unspecified. | |
30 | * | |
31 | * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, | |
32 | * CA 95054 USA or visit www.sun.com if you need additional information or | |
33 | * have any questions. | |
34 | * | |
35 | * | |
36 | * ========== Copyright Header End ============================================ | |
37 | */ | |
38 | SECTION eng_blk BSS_VA=0x03330000 | |
39 | attr_bss { | |
40 | Name = eng_blk, | |
41 | VA=0x03330000, | |
42 | RA=0x03330000, | |
43 | PA=0x03330000, | |
44 | tsbonly, | |
45 | TTE_G=0, | |
46 | TTE_Context=PCONTEXT, | |
47 | TTE_V=1, | |
48 | TTE_Size=0, | |
49 | TTE_NFO=0, | |
50 | TTE_IE=0, | |
51 | TTE_Soft2=0, | |
52 | TTE_Diag=0, | |
53 | TTE_Soft=0, | |
54 | TTE_L=0, | |
55 | TTE_CP=1, | |
56 | TTE_CV=1, | |
57 | TTE_E=1, | |
58 | TTE_P=0, | |
59 | TTE_W=1, | |
60 | TTE_EP=0, | |
61 | part_0_ctx_nonzero_tsb_config_1 | |
62 | } | |
63 | .section .bss | |
64 | .global eng_blk | |
65 | eng_blk: | |
66 | .lcomm _empty_blk_start, 0x1000 | |
67 | .lcomm _empty_blk_end, 0 | |
68 | .end | |
69 | ||
70 | // Use a 256MB page for the DMA Data area. | |
71 | ||
72 | SECTION dma_data BSS_VA=0x1d0000000 | |
73 | attr_bss { | |
74 | Name = dma_data, | |
75 | VA=0x1d0000000, | |
76 | RA=0x1d0000000, | |
77 | PA=0x1d0000000, | |
78 | tsbonly, | |
79 | TTE_G=0, | |
80 | TTE_Context=PCONTEXT, | |
81 | TTE_V=1, | |
82 | TTE_Size=5, | |
83 | TTE_NFO=0, | |
84 | TTE_IE=0, | |
85 | TTE_Soft2=0, | |
86 | TTE_Diag=0, | |
87 | TTE_Soft=0, | |
88 | TTE_L=0, | |
89 | TTE_CP=1, | |
90 | TTE_CV=1, | |
91 | TTE_E=1, | |
92 | TTE_P=0, | |
93 | TTE_W=1, | |
94 | TTE_EP=0, | |
95 | part_0_ctx_nonzero_tsb_config_3 | |
96 | } | |
97 | .section .bss | |
98 | .global dma_data | |
99 | dma_data: | |
100 | .lcomm _empty_blk_start, 256*1024*1024 | |
101 | .lcomm _empty_blk_end, 0 | |
102 | .end | |
103 | ||
104 | SECTION eng_cfg_base BSS_VA=0x00600000 | |
105 | attr_bss { | |
106 | Name = eng_cfg_base, | |
107 | VA=0x00600000, | |
108 | RA=BOBO_PA, | |
109 | PA=BOBO_PA, | |
110 | tsbonly, | |
111 | TTE_G=0, | |
112 | TTE_Context=PCONTEXT, | |
113 | TTE_V=1, | |
114 | TTE_Size=1, | |
115 | TTE_NFO=0, | |
116 | TTE_IE=1, | |
117 | TTE_Soft2=0, | |
118 | TTE_Diag=0, | |
119 | TTE_Soft=0, | |
120 | TTE_L=0, | |
121 | TTE_CP=0, | |
122 | TTE_CV=0, | |
123 | TTE_E=1, | |
124 | TTE_P=0, | |
125 | TTE_W=1, | |
126 | TTE_EP=0, | |
127 | part_0_ctx_nonzero_tsb_config_2 | |
128 | } | |
129 | .section .bss | |
130 | .global eng_cfg_base | |
131 | eng_cfg_base: | |
132 | .lcomm start, DMAEPT_MEM_SIZE | |
133 | .lcomm end, 0 | |
134 | .end |