Print this page
PSARC 2009/104 Hot-Plug Support for ACPI-based Systems
6846955 Device tree creation and acpi virtual nexus driver for acpi based x86 systems
6849408 device match rule in ppm.conf is not flexible
| Split |
Close |
| Expand all |
| Collapse all |
--- old/usr/src/uts/i86pc/Makefile.files
+++ new/usr/src/uts/i86pc/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 file modules in the directory uts/i86pc
27 27 # and its children. These are the source files which are i86pc
28 28 # "implementation architecture" dependent.
29 29 #
30 30
31 31 #
32 32 # object lists
33 33 #
34 34 CORE_OBJS += \
35 35 acpi_stubs.o \
36 36 biosdisk.o \
37 37 bios_call.o \
38 38 cbe.o \
39 39 cmi.o \
40 40 cmi_hw.o \
41 41 cms.o \
42 42 confunix.o \
43 43 cpu_idle.o \
44 44 cpuid.o \
45 45 cpuid_subr.o \
46 46 cpupm.o \
47 47 cpupm_mach.o \
48 48 cpupm_amd.o \
49 49 cpupm_intel.o \
50 50 cpupm_throttle.o \
51 51 cpu_acpi.o \
52 52 dis_tables.o \
53 53 ddi_impl.o \
54 54 dtrace_subr.o \
55 55 dvma.o \
56 56 fpu_subr.o \
57 57 fakebop.o \
58 58 fastboot.o \
59 59 fb_swtch.o \
60 60 graphics.o \
61 61 hardclk.o \
62 62 hat_i86.o \
63 63 hat_kdi.o \
64 64 hment.o \
65 65 hold_page.o \
66 66 hrtimers.o \
67 67 htable.o \
68 68 i86_mmu.o \
69 69 ibft.o \
70 70 instr_size.o \
71 71 intr.o \
72 72 kboot_mmu.o \
73 73 kdi_subr.o \
74 74 kdi_idt.o \
75 75 kdi_idthdl.o \
76 76 kdi_asm.o \
77 77 lgrpplat.o \
78 78 mach_kdi.o \
79 79 mach_sysconfig.o \
80 80 machdep.o \
81 81 mem_config_stubs.o \
82 82 memnode.o \
83 83 microcode.o \
84 84 microfind.o \
85 85 mlsetup.o \
86 86 mp_call.o \
87 87 mp_implfuncs.o \
88 88 mp_machdep.o \
89 89 mp_pc.o \
90 90 mp_startup.o \
91 91 memscrub.o \
92 92 mpcore.o \
93 93 notes.o \
94 94 pci_bios.o \
95 95 pci_cfgspace.o \
96 96 pci_mech1.o \
97 97 pci_mech2.o \
98 98 pci_neptune.o \
99 99 pci_orion.o \
100 100 pmem.o \
101 101 ppage.o \
102 102 pwrnow.o \
103 103 speedstep.o \
104 104 startup.o \
105 105 timestamp.o \
106 106 todpc_subr.o \
107 107 trap.o \
108 108 vm_machdep.o \
109 109 x_call.o
110 110
111 111 #
112 112 # Add the SMBIOS subsystem object files directly to the list of objects
113 113 # built into unix itself; this is all common code except for smb_dev.c.
114 114 #
115 115 CORE_OBJS += $(SMBIOS_OBJS)
116 116
117 117 #
118 118 # These get compiled twice:
119 119 # - once in the dboot (direct boot) identity mapped code
120 120 # - once for use during early startup in unix
121 121 #
122 122 BOOT_DRIVER_OBJS = \
123 123 boot_console.o \
124 124 boot_keyboard.o \
125 125 boot_keyboard_table.o \
126 126 boot_vga.o \
127 127 boot_mmu.o
128 128
129 129 CORE_OBJS += $(BOOT_DRIVER_OBJS)
130 130
131 131 #
132 132 # locore.o is special. It must be the first file relocated so that it
133 133 # it is relocated just where its name implies.
134 134 #
135 135 SPECIAL_OBJS_32 += \
136 136 locore.o \
137 137 fast_trap_asm.o \
138 138 interrupt.o \
139 139 syscall_asm.o
140 140
141 141 SPECIAL_OBJS_64 += \
142 142 locore.o \
143 143 fast_trap_asm.o \
144 144 interrupt.o \
145 145 syscall_asm_amd64.o
146 146
147 147 SPECIAL_OBJS += $(SPECIAL_OBJS_$(CLASS))
148 148
149 149 #
150 150 # Objects that get compiled into the identity mapped PT_LOAD section of unix
151 151 # to handle the earliest part of booting.
152 152 #
153 153 DBOOT_OBJS_32 =
154 154
155 155 DBOOT_OBJS_64 += dboot_elfload.o
156 156
157 157 DBOOT_OBJS += \
158 158 dboot_asm.o \
159 159 dboot_grub.o \
160 160 dboot_printf.o \
161 161 dboot_startkern.o \
162 162 memcpy.o \
163 163 memset.o \
164 164 muldiv.o \
165 165 string.o \
166 166 $(BOOT_DRIVER_OBJS) \
167 167 $(DBOOT_OBJS_$(CLASS))
168 168
169 169 #
170 170 # driver and misc modules
171 171 #
172 172 GFX_PRIVATE_OBJS += gfx_private.o gfxp_pci.o gfxp_segmap.o \
173 173 gfxp_devmap.o gfxp_vgatext.o gfxp_vm.o vgasubr.o
174 174 FIPE_OBJS += fipe_drv.o fipe_pm.o
|
↓ open down ↓ |
174 lines elided |
↑ open up ↑ |
175 175 IOAT_OBJS += ioat.o ioat_rs.o ioat_ioctl.o ioat_chan.o
176 176 ISANEXUS_OBJS += isa.o dma_engine.o i8237A.o
177 177 PCIE_MISC_OBJS += pcie_acpi.o
178 178 PCI_E_NEXUS_OBJS += npe.o npe_misc.o
179 179 PCI_E_NEXUS_OBJS += pci_common.o pci_kstats.o pci_tools.o
180 180 PCINEXUS_OBJS += pci.o pci_common.o pci_kstats.o pci_tools.o
181 181 PCPLUSMP_OBJS += apic.o apic_regops.o psm_common.o apic_introp.o \
182 182 mp_platform_common.o hpet_acpi.o
183 183
184 184 ACPI_DRV_OBJS += acpi_drv.o acpi_video.o
185 +ACPINEX_OBJS += acpinex_drv.o
185 186
186 187 CPUDRV_OBJS += \
187 188 cpudrv.o \
188 189 cpudrv_mach.o
189 190
190 191 PPM_OBJS += ppm_subr.o ppm.o ppm_plat.o
191 192
192 193 ACPIPPM_OBJS += acpippm.o acpisleep.o
194 +ACPIDEV_OBJS += acpidev_drv.o \
195 + acpidev_scope.o acpidev_device.o \
196 + acpidev_container.o \
197 + acpidev_cpu.o \
198 + acpidev_memory.o \
199 + acpidev_resource.o \
200 + acpidev_util.o
193 201
194 202 ROOTNEX_OBJS += rootnex.o iommu_rscs.o dmar_acpi.o intel_iommu.o
195 203 TZMON_OBJS += tzmon.o
196 204 UPPC_OBJS += uppc.o psm_common.o
197 205 XSVC_OBJS += xsvc.o
198 206
199 207 #
200 208 # Build up defines and paths.
201 209 #
202 210 ALL_DEFS += -Di86pc
203 211 INC_PATH += -I$(UTSBASE)/i86pc -I$(SRC)/common
204 212
205 213 #
206 214 # Since the assym files are derived, the dependencies must be explicit for
207 215 # all files including this file. (This is only actually required in the
208 216 # instance when the .nse_depinfo file does not exist.) It may seem that
209 217 # the lint targets should also have a similar dependency, but they don't
210 218 # since only C headers are included when #defined(__lint) is true.
211 219 #
212 220
213 221 ASSYM_DEPS += \
214 222 copy.o \
215 223 desctbls_asm.o \
216 224 ddi_i86_asm.o \
217 225 exception.o \
218 226 fast_trap_asm.o \
219 227 float.o \
220 228 i86_subr.o \
221 229 interrupt.o \
222 230 lock_prim.o \
223 231 locore.o \
224 232 mpcore.o \
225 233 sseblk.o \
226 234 swtch.o \
227 235 syscall_asm.o \
228 236 syscall_asm_amd64.o \
229 237 cpr_wakecode.o
230 238
231 239 CPR_IMPL_OBJS = cpr_impl.o cpr_wakecode.o
232 240
233 241 $(KDI_ASSYM_DEPS:%=$(OBJS_DIR)/%): $(DSF_DIR)/$(OBJS_DIR)/kdi_assym.h
234 242
235 243 ASSYM_DEPS += kdi_asm.o
|
↓ open down ↓ |
33 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX