Print this page
remove xhat
The xhat infrastructure was added to support hardware such as the zulu
graphics card - hardware which had on-board MMUs. The VM used the xhat code
to keep the CPU's and Zulu's page tables in-sync. Since the only xhat user
was zulu (which is gone), we can safely remove it simplifying the whole VM
subsystem.
Assorted notes:
- AS_BUSY flag was used solely by xhat
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/uts/sun4u/Makefile.files
+++ new/usr/src/uts/sun4u/Makefile.files
1 1 #
2 2 # CDDL HEADER START
3 3 #
4 4 # The contents of this file are subject to the terms of the
5 5 # Common Development and Distribution License (the "License").
6 6 # You may not use this file except in compliance with the License.
7 7 #
8 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 # or http://www.opensolaris.org/os/licensing.
10 10 # See the License for the specific language governing permissions
11 11 # and limitations under the License.
12 12 #
13 13 # When distributing Covered Code, include this CDDL HEADER in each
14 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 15 # If applicable, add the following below this CDDL HEADER, with the
16 16 # fields enclosed by brackets "[]" replaced with your own identifying
17 17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 18 #
19 19 # CDDL HEADER END
20 20 #
21 21
22 22 #
23 23 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
24 24 # Use is subject to license terms.
25 25 #
26 26 # This Makefile defines all file modules for the directory uts/sun4u
27 27 # and it's children. These are the source files which are sun4u
28 28 # "implementation architecture" dependent.
29 29 #
30 30
31 31 #
32 32 # object lists
33 33 #
34 34 CORE_OBJS += atomic.o
35 35 CORE_OBJS += bootops.o
36 36 CORE_OBJS += cmp.o
37 37 CORE_OBJS += cpc_hwreg.o
38 38 CORE_OBJS += cpc_subr.o
39 39 CORE_OBJS += cpupm.o
40 40 CORE_OBJS += mach_cpu_states.o
41 41 CORE_OBJS += mach_ddi_impl.o
42 42 CORE_OBJS += ecc.o
43 43 CORE_OBJS += fillsysinfo.o
44 44 CORE_OBJS += forthdebug.o
45 45 CORE_OBJS += hardclk.o
46 46 CORE_OBJS += hat_sfmmu.o
47 47 CORE_OBJS += hat_kdi.o
48 48 CORE_OBJS += iscsi_boot.o
49 49 CORE_OBJS += mach_copy.o
50 50 CORE_OBJS += mach_kpm.o
51 51 CORE_OBJS += mach_mp_startup.o
52 52 CORE_OBJS += mach_mp_states.o
53 53 CORE_OBJS += mach_sfmmu.o
54 54 CORE_OBJS += mach_startup.o
55 55 CORE_OBJS += mach_subr_asm.o
56 56 CORE_OBJS += mach_trap.o
↓ open down ↓ |
56 lines elided |
↑ open up ↑ |
57 57 CORE_OBJS += mach_vm_dep.o
58 58 CORE_OBJS += mach_xc.o
59 59 CORE_OBJS += mem_cage.o
60 60 CORE_OBJS += mem_config.o
61 61 CORE_OBJS += memlist_new.o
62 62 CORE_OBJS += memscrub.o
63 63 CORE_OBJS += memscrub_asm.o
64 64 CORE_OBJS += ppage.o
65 65 CORE_OBJS += sfmmu_kdi.o
66 66 CORE_OBJS += swtch.o
67 -CORE_OBJS += xhat_sfmmu.o
68 67
69 68 #
70 69 # Some objects must be linked at the front of the image (or
71 70 # near other objects at the front of the image).
72 71 #
73 72 SPECIAL_OBJS += trap_table.o
74 73 SPECIAL_OBJS += locore.o
75 74 SPECIAL_OBJS += mach_locore.o
76 75 SPECIAL_OBJS += sfmmu_asm.o
77 76 SPECIAL_OBJS += mach_sfmmu_asm.o
78 77 SPECIAL_OBJS += interrupt.o
79 78 SPECIAL_OBJS += mach_interrupt.o
80 79 SPECIAL_OBJS += wbuf.o
81 80
82 81 #
83 82 # driver modules
84 83 #
85 84 ROOTNEX_OBJS += mach_rootnex.o
86 85 UPA64S_OBJS += upa64s.o
87 86 SYSIO_SBUS_OBJS += iommu.o sysioerr.o sysiosbus.o iocache.o
88 87 PX_OBJS += px_asm_4u.o px_err.o px_hlib.o px_lib4u.o px_tools_4u.o
89 88 PCI_COMMON_OBJS += pci.o pci_util.o pci_dma.o pci_devctl.o \
90 89 pci_fdvma.o pci_iommu.o pci_sc.o pci_debug.o \
91 90 pci_cb.o pci_ib.o pci_ecc.o pci_pbm.o pci_intr.o \
92 91 pci_space.o pci_counters.o pci_axq.o \
93 92 pci_fm.o pci_reloc.o pci_tools.o pci_asm.o
94 93 RMCLOMV_OBJS += rmclomv.o
95 94
96 95 PSYCHO_PCI_OBJS += $(PCI_COMMON_OBJS) pcipsy.o
97 96 SCHIZO_PCI_OBJS += $(PCI_COMMON_OBJS) pcisch_asm.o pcisch.o pcix.o
98 97 SIMBA_PCI_OBJS += simba.o
99 98 DB21554_OBJS += db21554.o
100 99 US_OBJS += cpudrv.o cpudrv_mach.o
101 100 POWER_OBJS += power.o
102 101 EPIC_OBJS += epic.o
103 102 GRBEEP_OBJS += grbeep.o
104 103 ADM1031_OBJS += adm1031.o
105 104 ICS951601_OBJS += ics951601.o
106 105 PPM_OBJS += ppm_subr.o ppm.o ppm_plat.o
107 106 OPLCFG_OBJS += opl_cfg.o
108 107 PCF8584_OBJS += pcf8584.o
109 108 PCA9556_OBJS += pca9556.o
110 109 ADM1026_OBJS += adm1026.o
111 110 BBC_OBJS += bbc_beep.o
112 111 TDA8444_OBJS += tda8444.o
113 112 MAX1617_OBJS += max1617.o
114 113 SEEPROM_OBJS += seeprom.o
115 114 I2C_SVC_OBJS += i2c_svc.o
116 115 SMBUS_OBJS += smbus.o
117 116 SCHPPM_OBJS += schppm.o
118 117 MC_OBJS += mc-us3.o mc-us3_asm.o
119 118 MC_US3I_OBJS += mc-us3i.o
120 119 GPIO_87317_OBJS += gpio_87317.o
121 120 ISADMA_OBJS += isadma.o
122 121 SBBC_OBJS += sbbc.o
123 122 LM75_OBJS += lm75.o
124 123 LTC1427_OBJS += ltc1427.o
125 124 PIC16F747_OBJS += pic16f747.o
126 125 PIC16F819_OBJS += pic16f819.o
127 126 PCF8574_OBJS += pcf8574.o
128 127 PCF8591_OBJS += pcf8591.o
129 128 SSC050_OBJS += ssc050.o
130 129 SSC100_OBJS += ssc100.o
131 130 PMUBUS_OBJS += pmubus.o
132 131 PMUGPIO_OBJS += pmugpio.o
133 132 PMC_OBJS += pmc.o
134 133 TRAPSTAT_OBJS += trapstat.o
135 134 I2BSC_OBJS += i2bsc.o
136 135 GPTWOCFG_OBJS += gptwocfg.o
137 136 GPTWO_CPU_OBJS += gptwo_cpu.o
138 137
139 138 JBUSPPM_OBJS += jbusppm.o
140 139 RMC_COMM_OBJS += rmc_comm.o rmc_comm_crctab.o rmc_comm_dp.o rmc_comm_drvintf.o
141 140 RMCADM_OBJS += rmcadm.o
142 141 MEM_CACHE_OBJS += mem_cache.o panther_asm.o
143 142
144 143 #
145 144 # kernel cryptographic framework
146 145 #
147 146
148 147 BIGNUM_PSR_OBJS += mont_mulf_kernel_v9.o
149 148
150 149 AES_OBJS += aes.o aes_impl.o aes_modes.o aes_crypt_asm.o
151 150
152 151 DES_OBJS += des_crypt_asm.o
153 152
154 153 ARCFOUR_OBJS += arcfour.o arcfour_crypt.o arcfour_crypt_asm.o
155 154
156 155 SHA1_OBJS += sha1_asm.o
157 156
158 157 #
159 158 # tod modules
160 159 #
161 160 TODMOSTEK_OBJS += todmostek.o
162 161 TODDS1287_OBJS += todds1287.o
163 162 TODDS1337_OBJS += todds1337.o
164 163 TODSTARFIRE_OBJS += todstarfire.o
165 164 TODSTARCAT_OBJS += todstarcat.o
166 165 TODBLADE_OBJS += todblade.o
167 166 TODM5819_OBJS += todm5819.o
168 167 TODM5819P_RMC_OBJS += todm5819p_rmc.o
169 168 TODBQ4802_OBJS += todbq4802.o
170 169 TODSG_OBJS += todsg.o
171 170 TODOPL_OBJS = todopl.o
172 171
173 172 #
174 173 # Misc modules
175 174 #
176 175 OBPSYM_OBJS += obpsym.o obpsym_1275.o
177 176 BOOTDEV_OBJS += bootdev.o
178 177
179 178 CPR_FIRST_OBJS = cpr_resume_setup.o
180 179 CPR_IMPL_OBJS = cpr_impl.o
181 180
182 181 SBD_OBJS += sbd.o sbd_cpu.o sbd_mem.o sbd_io.o
183 182
184 183 PCIE_MISC_OBJS += pci_cfgacc_4u.o pci_cfgacc.o
185 184
186 185 #
187 186 # Brand modules
188 187 #
189 188 SN1_BRAND_OBJS = sn1_brand.o sn1_brand_asm.o
190 189 S10_BRAND_OBJS = s10_brand.o s10_brand_asm.o
191 190
192 191 #
193 192 # Performance Counter BackEnd (PCBE) Modules
194 193 #
195 194 US_PCBE_OBJS = us234_pcbe.o
196 195 OPL_PCBE_OBJS = opl_pcbe.o
197 196
198 197 #
199 198 # cpu modules
200 199 #
201 200 CPU_OBJ += $(OBJS_DIR)/mach_cpu_module.o
202 201 SPITFIRE_OBJS = spitfire.o spitfire_asm.o spitfire_copy.o spitfire_kdi.o common_asm.o
203 202 HUMMINGBIRD_OBJS= $(SPITFIRE_OBJS)
204 203 US3_CMN_OBJS = us3_common.o us3_common_mmu.o us3_common_asm.o us3_kdi.o cheetah_copy.o common_asm.o
205 204 CHEETAH_OBJS = $(US3_CMN_OBJS) us3_cheetah.o us3_cheetah_asm.o
206 205 CHEETAHPLUS_OBJS= $(US3_CMN_OBJS) us3_cheetahplus.o us3_cheetahplus_asm.o
207 206 JALAPENO_OBJS = $(US3_CMN_OBJS) us3_jalapeno.o us3_jalapeno_asm.o
208 207 OLYMPUS_OBJS = opl_olympus.o opl_olympus_asm.o opl_olympus_copy.o \
209 208 opl_kdi.o common_asm.o
210 209
211 210 #
212 211 # platform module
213 212 #
214 213 PLATMOD_OBJS = platmod.o
215 214
216 215 # Section 3: Misc.
217 216 #
218 217 ALL_DEFS += -Dsun4u
219 218 INC_PATH += -I$(UTSBASE)/sun4u
220 219
221 220 #
222 221 # Since assym.h is a derived file, the dependency must be explicit for
223 222 # all files including this file. (This is only actually required in the
224 223 # instance when the .make.state file does not exist.) It may seem that
225 224 # the lint targets should also have a similar dependency, but they don't
226 225 # since only C headers are included when #defined(lint) is true.
227 226 #
228 227 ASSYM_DEPS += mach_locore.o
229 228 ASSYM_DEPS += module_sfmmu_asm.o
230 229 ASSYM_DEPS += spitfire_asm.o spitfire_copy.o
231 230 ASSYM_DEPS += cheetah_asm.o cheetah_copy.o
232 231 ASSYM_DEPS += mach_subr_asm.o swtch.o
233 232 ASSYM_DEPS += mach_interrupt.o mach_xc.o
234 233 ASSYM_DEPS += trap_table.o wbuf.o
235 234 ASSYM_DEPS += mach_sfmmu_asm.o sfmmu_asm.o memscrub_asm.o
236 235 ASSYM_DEPS += mach_copy.o
↓ open down ↓ |
159 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX