ia64/xen-unstable

view freebsd-5.3-xen-sparse/conf/files.i386-xen @ 7238:971e7c7411b3

Raise an exception if an error appears on the pipes to our children, and make
sure that the child's pipes are closed even under that exception. Move the
handling of POLLHUP to the end of the loop, so that we guarantee to read any
remaining data from the child if POLLHUP and POLLIN appear at the same time.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@ewan
date Thu Oct 06 10:13:11 2005 +0100 (2005-10-06)
parents 35357e323f14
children
line source
1 # This file tells config what files go into building a kernel,
2 # files marked standard are always included.
3 #
4 # $FreeBSD: src/sys/conf/files.i386,v 1.457 2003/12/03 23:06:30 imp Exp $
5 #
6 # The long compile-with and dependency lines are required because of
7 # limitations in config: backslash-newline doesn't work in strings, and
8 # dependency lines other than the first are silently ignored.
9 #
10 linux_genassym.o optional compat_linux \
11 dependency "$S/i386/linux/linux_genassym.c" \
12 compile-with "${CC} ${CFLAGS:N-fno-common} -c ${.IMPSRC}" \
13 no-obj no-implicit-rule \
14 clean "linux_genassym.o"
15 #
16 linux_assym.h optional compat_linux \
17 dependency "$S/kern/genassym.sh linux_genassym.o" \
18 compile-with "sh $S/kern/genassym.sh linux_genassym.o > ${.TARGET}" \
19 no-obj no-implicit-rule before-depend \
20 clean "linux_assym.h"
21 #
22 svr4_genassym.o optional compat_svr4 \
23 dependency "$S/i386/svr4/svr4_genassym.c" \
24 compile-with "${CC} ${CFLAGS:N-fno-common} -c ${.IMPSRC}" \
25 no-obj no-implicit-rule \
26 clean "svr4_genassym.o"
27 #
28 svr4_assym.h optional compat_svr4 \
29 dependency "$S/kern/genassym.sh svr4_genassym.o" \
30 compile-with "sh $S/kern/genassym.sh svr4_genassym.o > ${.TARGET}" \
31 no-obj no-implicit-rule before-depend \
32 clean "svr4_assym.h"
33 #
34 font.h optional sc_dflt_font \
35 compile-with "uudecode < /usr/share/syscons/fonts/${SC_DFLT_FONT}-8x16.fnt && file2c 'static u_char dflt_font_16[16*256] = {' '};' < ${SC_DFLT_FONT}-8x16 > font.h && uudecode < /usr/share/syscons/fonts/${SC_DFLT_FONT}-8x14.fnt && file2c 'static u_char dflt_font_14[14*256] = {' '};' < ${SC_DFLT_FONT}-8x14 >> font.h && uudecode < /usr/share/syscons/fonts/${SC_DFLT_FONT}-8x8.fnt && file2c 'static u_char dflt_font_8[8*256] = {' '};' < ${SC_DFLT_FONT}-8x8 >> font.h" \
36 no-obj no-implicit-rule before-depend \
37 clean "font.h ${SC_DFLT_FONT}-8x14 ${SC_DFLT_FONT}-8x16 ${SC_DFLT_FONT}-8x8"
38 #
39 atkbdmap.h optional atkbd_dflt_keymap \
40 compile-with "/usr/sbin/kbdcontrol -L ${ATKBD_DFLT_KEYMAP} | sed -e 's/^static keymap_t.* = /static keymap_t key_map = /' -e 's/^static accentmap_t.* = /static accentmap_t accent_map = /' > atkbdmap.h" \
41 no-obj no-implicit-rule before-depend \
42 clean "atkbdmap.h"
43 #
44 ukbdmap.h optional ukbd_dflt_keymap \
45 compile-with "/usr/sbin/kbdcontrol -L ${UKBD_DFLT_KEYMAP} | sed -e 's/^static keymap_t.* = /static keymap_t key_map = /' -e 's/^static accentmap_t.* = /static accentmap_t accent_map = /' > ukbdmap.h" \
46 no-obj no-implicit-rule before-depend \
47 clean "ukbdmap.h"
48 #
49 msysosak.o optional fla \
50 dependency "$S/contrib/dev/fla/i386/msysosak.o.uu" \
51 compile-with "uudecode < $S/contrib/dev/fla/i386/msysosak.o.uu" \
52 no-implicit-rule
53 #
54 trlld.o optional oltr \
55 dependency "$S/contrib/dev/oltr/i386-elf.trlld.o.uu" \
56 compile-with "uudecode < $S/contrib/dev/oltr/i386-elf.trlld.o.uu" \
57 no-implicit-rule
58 #
59 hal.o optional ath_hal \
60 dependency "$S/contrib/dev/ath/freebsd/i386-elf.hal.o.uu" \
61 compile-with "uudecode < $S/contrib/dev/ath/freebsd/i386-elf.hal.o.uu" \
62 no-implicit-rule
63 #
64 #
65 compat/linux/linux_file.c optional compat_linux
66 compat/linux/linux_getcwd.c optional compat_linux
67 compat/linux/linux_ioctl.c optional compat_linux
68 compat/linux/linux_ipc.c optional compat_linux
69 compat/linux/linux_mib.c optional compat_linux
70 compat/linux/linux_misc.c optional compat_linux
71 compat/linux/linux_signal.c optional compat_linux
72 compat/linux/linux_socket.c optional compat_linux
73 compat/linux/linux_stats.c optional compat_linux
74 compat/linux/linux_sysctl.c optional compat_linux
75 compat/linux/linux_uid16.c optional compat_linux
76 compat/linux/linux_util.c optional compat_linux
77 compat/pecoff/imgact_pecoff.c optional pecoff_support
78 compat/svr4/imgact_svr4.c optional compat_svr4
79 compat/svr4/svr4_fcntl.c optional compat_svr4
80 compat/svr4/svr4_filio.c optional compat_svr4
81 compat/svr4/svr4_ioctl.c optional compat_svr4
82 compat/svr4/svr4_ipc.c optional compat_svr4
83 compat/svr4/svr4_misc.c optional compat_svr4
84 compat/svr4/svr4_resource.c optional compat_svr4
85 compat/svr4/svr4_signal.c optional compat_svr4
86 compat/svr4/svr4_socket.c optional compat_svr4
87 compat/svr4/svr4_sockio.c optional compat_svr4
88 compat/svr4/svr4_stat.c optional compat_svr4
89 compat/svr4/svr4_stream.c optional compat_svr4
90 compat/svr4/svr4_syscallnames.c optional compat_svr4
91 compat/svr4/svr4_sysent.c optional compat_svr4
92 compat/svr4/svr4_sysvec.c optional compat_svr4
93 compat/svr4/svr4_termios.c optional compat_svr4
94 compat/svr4/svr4_ttold.c optional compat_svr4
95 contrib/dev/fla/fla.c optional fla
96 contrib/dev/oltr/if_oltr.c optional oltr
97 contrib/dev/oltr/trlldbm.c optional oltr
98 contrib/dev/oltr/trlldhm.c optional oltr
99 contrib/dev/oltr/trlldmac.c optional oltr
100 bf_enc.o optional ipsec ipsec_esp \
101 dependency "$S/crypto/blowfish/arch/i386/bf_enc.S $S/crypto/blowfish/arch/i386/bf_enc_586.S $S/crypto/blowfish/arch/i386/bf_enc_686.S" \
102 compile-with "${CC} -c -I$S/crypto/blowfish/arch/i386 ${ASM_CFLAGS} ${WERROR} ${.IMPSRC}" \
103 no-implicit-rule
104 crypto/des/arch/i386/des_enc.S optional ipsec ipsec_esp
105 crypto/des/des_ecb.c optional netsmbcrypto
106 crypto/des/arch/i386/des_enc.S optional netsmbcrypto
107 crypto/des/des_setkey.c optional netsmbcrypto
108 bf_enc.o optional crypto \
109 dependency "$S/crypto/blowfish/arch/i386/bf_enc.S $S/crypto/blowfish/arch/i386/bf_enc_586.S $S/crypto/blowfish/arch/i386/bf_enc_686.S" \
110 compile-with "${CC} -c -I$S/crypto/blowfish/arch/i386 ${ASM_CFLAGS} ${WERROR} ${.IMPSRC}" \
111 no-implicit-rule
112 crypto/des/arch/i386/des_enc.S optional crypto
113 crypto/des/des_ecb.c optional crypto
114 crypto/des/des_setkey.c optional crypto
115 dev/ar/if_ar.c optional ar
116 dev/ar/if_ar_pci.c optional ar pci
117 dev/cx/csigma.c optional cx
118 dev/cx/cxddk.c optional cx
119 dev/cx/if_cx.c optional cx
120 dev/dgb/dgb.c count dgb
121 dev/fb/fb.c optional fb
122 dev/fb/fb.c optional vga
123 dev/fb/splash.c optional splash
124 dev/fb/vga.c optional vga
125 dev/kbd/atkbd.c optional atkbd
126 dev/kbd/atkbdc.c optional atkbdc
127 dev/kbd/kbd.c optional atkbd
128 dev/kbd/kbd.c optional kbd
129 dev/kbd/kbd.c optional sc
130 dev/kbd/kbd.c optional ukbd
131 dev/kbd/kbd.c optional vt
132 dev/mem/memutil.c standard
133 dev/random/nehemiah.c standard
134 dev/ppc/ppc.c optional ppc
135 dev/ppc/ppc_puc.c optional ppc puc pci
136 dev/sio/sio.c optional sio
137 dev/sio/sio_isa.c optional sio isa
138 dev/syscons/schistory.c optional sc
139 dev/syscons/scmouse.c optional sc
140 dev/syscons/scterm.c optional sc
141 dev/syscons/scterm-dumb.c optional sc
142 dev/syscons/scterm-sc.c optional sc
143 dev/syscons/scvesactl.c optional sc vga vesa
144 dev/syscons/scvgarndr.c optional sc vga
145 dev/syscons/scvidctl.c optional sc
146 dev/syscons/scvtb.c optional sc
147 dev/syscons/syscons.c optional sc
148 dev/syscons/sysmouse.c optional sc
149 dev/uart/uart_cpu_i386.c optional uart
150 geom/geom_bsd.c standard
151 geom/geom_bsd_enc.c standard
152 geom/geom_mbr.c standard
153 geom/geom_mbr_enc.c standard
154 i386/acpica/OsdEnvironment.c optional acpi
155 i386/acpica/acpi_machdep.c optional acpi
156 i386/acpica/acpi_wakeup.c optional acpi
157 acpi_wakecode.h optional acpi \
158 dependency "$S/i386/acpica/acpi_wakecode.S" \
159 compile-with "${MAKE} -f $S/i386/acpica/Makefile MAKESRCPATH=$S/i386/acpica" \
160 no-obj no-implicit-rule before-depend \
161 clean "acpi_wakecode.h acpi_wakecode.o acpi_wakecode.bin"
162 #
163 i386/acpica/madt.c optional acpi apic
164 i386/bios/mca_machdep.c optional mca
165 i386/bios/smapi.c optional smapi
166 i386/bios/smapi_bios.S optional smapi
167 i386/bios/smbios.c optional smbios
168 i386/bios/vpd.c optional vpd
169 i386/i386/apic_vector.s optional apic
170 i386/i386/atomic.c standard \
171 compile-with "${CC} -c ${CFLAGS} ${DEFINED_PROF:S/^$/-fomit-frame-pointer/} ${.IMPSRC}"
172 i386/i386/autoconf.c standard
173 i386/i386/busdma_machdep.c standard
174 i386-xen/i386-xen/critical.c standard
175 i386/i386/db_disasm.c optional ddb
176 i386-xen/i386-xen/db_interface.c optional ddb
177 i386/i386/db_trace.c optional ddb
178 i386/i386/i386-gdbstub.c optional ddb
179 i386/i386/dump_machdep.c standard
180 i386/i386/elf_machdep.c standard
181 i386-xen/i386-xen/exception.s standard
182 i386-xen/i386-xen/i686_mem.c standard
183 i386/i386/identcpu.c standard
184 i386/i386/in_cksum.c optional inet
185 i386-xen/i386-xen/initcpu.c standard
186 i386-xen/i386-xen/intr_machdep.c standard
187 i386-xen/i386-xen/io_apic.c optional apic
188 i386/i386/legacy.c standard
189 i386-xen/i386-xen/locore.s standard no-obj
190 i386-xen/i386-xen/machdep.c standard
191 i386/i386/mem.c standard
192 i386-xen/i386-xen/mp_clock.c optional smp
193 i386-xen/i386-xen/mp_machdep.c optional smp
194 i386/i386/mpboot.s optional smp
195 i386-xen/i386-xen/mptable.c optional apic
196 i386-xen/i386-xen/local_apic.c optional apic
197 i386/i386/mptable_pci.c optional apic pci
198 i386/i386/nexus.c standard
199 i386/i386/uio_machdep.c standard
200 i386/i386/perfmon.c optional perfmon
201 i386/i386/perfmon.c optional perfmon profiling-routine
202 i386-xen/i386-xen/pmap.c standard
203 i386-xen/i386-xen/support.s standard
204 i386-xen/i386-xen/swtch.s standard
205 i386-xen/i386-xen/sys_machdep.c standard
206 i386-xen/i386-xen/trap.c standard
207 i386/i386/tsc.c standard
208 i386-xen/i386-xen/vm_machdep.c standard
209 i386-xen/i386-xen/clock.c standard
211 # xen specific arch-dep files
212 i386-xen/i386-xen/hypervisor.c standard
213 i386-xen/i386-xen/xen_machdep.c standard
214 i386-xen/i386-xen/xen_bus.c standard
215 i386-xen/i386-xen/evtchn.c standard
216 i386-xen/i386-xen/ctrl_if.c standard
217 i386-xen/i386-xen/gnttab.c standard
220 i386/isa/asc.c count asc
221 i386/isa/ctx.c optional ctx
222 i386/isa/cy.c count cy
223 i386/isa/elink.c optional ep
224 i386/isa/elink.c optional ie
225 i386/isa/gpib.c optional gp
226 i386/isa/gsc.c count gsc
227 i386/isa/istallion.c optional stli nowerror
228 i386/isa/loran.c optional loran
229 i386/isa/mse.c optional mse
230 i386/isa/nmi.c standard
232 # drivers
233 i386-xen/xen/misc/npx.c optional npx
234 i386-xen/xen/misc/evtchn_dev.c standard
235 i386-xen/xen/char/console.c standard
236 i386-xen/xen/netfront/xn_netfront.c standard
237 i386-xen/xen/blkfront/xb_blkfront.c standard
241 i386/isa/pcf.c optional pcf
242 i386/isa/pcvt/pcvt_drv.c optional vt
243 i386/isa/pcvt/pcvt_ext.c optional vt
244 i386/isa/pcvt/pcvt_kbd.c optional vt
245 i386/isa/pcvt/pcvt_out.c optional vt
246 i386/isa/pcvt/pcvt_sup.c optional vt
247 i386/isa/pcvt/pcvt_vtf.c optional vt
248 i386/isa/pmtimer.c optional pmtimer
249 i386/isa/prof_machdep.c optional profiling-routine
250 i386/isa/spic.c optional spic
251 i386/isa/spigot.c count spigot
252 i386/isa/spkr.c optional speaker
253 i386/isa/stallion.c optional stl nowerror
254 i386/isa/vesa.c optional vga vesa
255 i386/isa/wt.c count wt
256 i386/linux/imgact_linux.c optional compat_linux
257 i386/linux/linux_dummy.c optional compat_linux
258 i386/linux/linux_locore.s optional compat_linux \
259 dependency "linux_assym.h"
260 i386/linux/linux_machdep.c optional compat_linux
261 i386/linux/linux_ptrace.c optional compat_linux
262 i386/linux/linux_sysent.c optional compat_linux
263 i386/linux/linux_sysvec.c optional compat_linux
264 i386/pci/pci_cfgreg.c optional pci
265 i386/pci/pci_bus.c optional pci
266 i386/svr4/svr4_locore.s optional compat_svr4 \
267 dependency "svr4_assym.h" \
268 warning "COMPAT_SVR4 is broken and should be avoided"
269 i386/svr4/svr4_machdep.c optional compat_svr4
270 isa/atkbd_isa.c optional atkbd
271 isa/atkbdc_isa.c optional atkbdc
272 isa/fd.c optional fdc
273 isa/psm.c optional psm
274 isa/syscons_isa.c optional sc
275 isa/vga_isa.c optional vga
276 kern/imgact_aout.c optional compat_aout
277 kern/imgact_gzip.c optional gzip
278 libkern/divdi3.c standard
279 libkern/moddi3.c standard
280 libkern/qdivrem.c standard
281 libkern/ucmpdi2.c standard
282 libkern/udivdi3.c standard
283 libkern/umoddi3.c standard
284 libkern/flsl.c standard
285 libkern/ffsl.c standard
287 pci/cy_pci.c optional cy pci
288 pci/agp_intel.c optional agp
289 pci/agp_via.c optional agp
290 pci/agp_sis.c optional agp
291 pci/agp_ali.c optional agp
292 pci/agp_amd.c optional agp
293 pci/agp_i810.c optional agp
294 pci/agp_nvidia.c optional agp