Annotation of src/sys/arch/xen/conf/files.xen, Revision 1.49
1.49 ! bouyer 1: # $NetBSD: files.xen,v 1.48 2006/09/28 18:53:15 bouyer Exp $
1.1 cl 2: # NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp
1.4 cl 3: # NetBSD: files.i386,v 1.254 2004/03/25 23:32:10 jmc Exp
1.1 cl 4:
1.3 wiz 5: maxpartitions 8
1.1 cl 6:
7: maxusers 2 16 128
8:
1.30 yamt 9: defparam opt_kernbase.h KERNBASE
10:
1.1 cl 11: # Processor type options.
12: defflag opt_cputype.h I686_CPU
13:
1.48 bouyer 14: # options for MP configuration through the MP spec
15: defflag opt_mpbios.h MPBIOS MPVERBOSE MPDEBUG MPBIOS_SCANPCI
16:
1.1 cl 17: # delay before cpu_reset() for reboot.
18: defparam CPURESET_DELAY
19:
20: # No unmapped page below kernel stack
21: defflag NOREDZONE
22:
23: # Beep on halt
24: defflag opt_beep.h BEEP_ONHALT
25: defparam opt_beep.h BEEP_ONHALT_COUNT
26: defparam opt_beep.h BEEP_ONHALT_PITCH BEEP_ONHALT_PERIOD
27:
1.40 bouyer 28: # PCI fixup options
29: defflag opt_pcifixup.h PCI_ADDR_FIXUP PCI_BUS_FIXUP
30: PCI_INTR_FIXUP PCI_INTR_FIXUP_FORCE
31:
32: defparam PCI_CONF_MODE
33:
1.1 cl 34: file arch/xen/i386/autoconf.c
35: file arch/i386/i386/db_dbgreg.S ddb | kstack_check_dr0
36: file arch/i386/i386/db_disasm.c ddb
37: file arch/i386/i386/db_interface.c ddb
38: file arch/i386/i386/db_memrw.c ddb | kgdb
39: file arch/i386/i386/db_trace.c ddb
40: file kern/subr_disk_mbr.c disk
41: file arch/xen/i386/gdt.c
1.5 cl 42: file arch/xen/i386/hypervisor_machdep.c
1.1 cl 43: file arch/i386/i386/in_cksum.S inet | inet6
44: file arch/i386/i386/ipkdb_glue.c ipkdb
45: file arch/i386/i386/kgdb_machdep.c kgdb
46: file arch/xen/i386/machdep.c
47: file arch/xen/i386/identcpu.c
48: file arch/i386/i386/math_emulate.c math_emulate
49: file arch/i386/i386/mem.c
50: file kern/kern_microtime.c i586_cpu | i686_cpu
51: file arch/i386/i386/mtrr_k6.c mtrr
52: file netns/ns_cksum.c ns
53: file arch/xen/i386/pmap.c
54: file arch/i386/i386/process_machdep.c
55: file arch/i386/i386/procfs_machdep.c procfs
1.11 cl 56: file arch/xen/i386/sys_machdep.c
1.1 cl 57: file arch/i386/i386/syscall.c
58: file arch/xen/i386/trap.c
59: file arch/i386/i386/vm_machdep.c
60: file arch/xen/i386/xen_machdep.c
61:
62: file arch/xen/xen/xen_debug.c
63:
64: file arch/xen/xen/clock.c
1.17 bouyer 65: file arch/xen/xen/evtchn.c
1.33 bouyer 66: file arch/xen/xen/ctrl_if.c !xen3
1.1 cl 67:
1.35 bouyer 68: file arch/xen/xen/xengnt.c xen3
69:
1.1 cl 70: file dev/cons.c
71:
72: file arch/i386/i386/mptramp.S multiprocessor
1.33 bouyer 73: file arch/i386/i386/ipifuncs.c multiprocessor
1.1 cl 74:
1.33 bouyer 75: file arch/i386/i386/pmc.c perfctrs
1.1 cl 76:
77: file crypto/des/arch/i386/des_enc.S des
78: file crypto/des/arch/i386/des_cbc.S des
79:
80: file crypto/blowfish/arch/i386/bf_enc.S blowfish
81: file crypto/blowfish/arch/i386/bf_cbc.S blowfish & !i386_cpu
82:
83: #
84: # Machine-independent SCSI drivers
85: #
86:
1.17 bouyer 87: include "dev/scsipi/files.scsipi"
1.1 cl 88:
89: #
90: # Machine-independent ATA drivers
91: #
92:
1.17 bouyer 93: include "dev/ata/files.ata"
1.1 cl 94:
95: # Memory Disk for install floppy
96: file dev/md_root.c memory_disk_hooks
97:
1.27 bouyer 98: file arch/x86/x86/bus_dma.c pci
1.28 bouyer 99: file arch/xen/x86/xen_bus_dma.c pci
1.27 bouyer 100: file arch/xen/x86/bus_space.c pci
1.1 cl 101: file arch/x86/x86/cacheinfo.c
102: file arch/xen/x86/consinit.c
103: file arch/xen/x86/intr.c
104: file arch/x86/x86/ipi.c multiprocessor
105: file arch/x86/x86/lock_machdep.c lockdebug
106: file arch/x86/x86/softintr.c
1.32 jmmv 107: file arch/x86/x86/x86_machdep.c
1.1 cl 108:
109: include "arch/xen/conf/files.compat"
110:
1.49 ! bouyer 111: # BIOS32 routines
! 112: define bios32
! 113: file arch/xen/i386/bios32.c bios32 needs-flag
! 114:
1.13 drochner 115: # i386 specific mainbus attributes
116: define cpubus { [apid = -1] }
117: define apmbus {}
118: define pnpbiosbus {}
1.17 bouyer 119: define vesabiosbus {}
1.13 drochner 120: define hypervisorbus {}
1.29 bouyer 121: define xendevbus {}
1.49 ! bouyer 122: define ipmibus {}
1.13 drochner 123:
1.1 cl 124: #
125: # System bus types
126: #
127:
1.49 ! bouyer 128: device mainbus: cpubus, hypervisorbus, bios32, ipmibus
1.1 cl 129: attach mainbus at root
1.5 cl 130: file arch/xen/i386/mainbus.c mainbus
131:
132: # Xen hypervisor
1.48 bouyer 133: device hypervisor { [apid = -1]}: isabus, pcibus, sysmon_power, xendevbus, acpibus
1.17 bouyer 134: attach hypervisor at hypervisorbus
1.5 cl 135: file arch/xen/xen/hypervisor.c hypervisor needs-flag
1.46 yamt 136: file arch/xen/xen/shutdown_xenbus.c hypervisor & xen3
1.1 cl 137:
1.35 bouyer 138: # Xenbus (xen3 only)
139: device xenbus {[id = -1]}
140: attach xenbus at xendevbus
141: file arch/xen/xenbus/xenbus_client.c xenbus & xen3 needs-flag
142: file arch/xen/xenbus/xenbus_comms.c xenbus & xen3 needs-flag
1.37 bouyer 143: file arch/xen/xenbus/xenbus_dev.c xenbus & xen3 & dom0ops needs-flag
1.35 bouyer 144: file arch/xen/xenbus/xenbus_probe.c xenbus & xen3 needs-flag
145: file arch/xen/xenbus/xenbus_xs.c xenbus & xen3 needs-flag
146:
1.1 cl 147: # Numeric Processing Extension; Math Co-processor
148: device npx
149: file arch/xen/i386/npx.c npx needs-flag
150:
1.29 bouyer 151: attach npx at xendevbus with npx_hv
1.1 cl 152: file arch/xen/i386/npx_hv.c npx_hv
153:
154: # Xen console support
1.6 cl 155: device xencons: tty
1.29 bouyer 156: attach xencons at xendevbus
1.6 cl 157: file arch/xen/xen/xencons.c xencons needs-flag
1.1 cl 158:
1.17 bouyer 159: # Xen event peudo-device
160: defpseudo xenevt
1.41 bouyer 161: defpseudo xvif
1.43 bouyer 162: defpseudo xbdback
1.17 bouyer 163:
1.27 bouyer 164: # Xen Network driver
165: device xennet: arp, ether, ifnet
1.36 bouyer 166: attach xennet at xendevbus with xennet_hypervisor
167: attach xennet at xenbus with xennet_xenbus
1.37 bouyer 168: file arch/xen/xen/if_xennet_xenbus.c xennet_xenbus needs-flag
1.36 bouyer 169: file arch/xen/xen/if_xennet.c xennet_hypervisor needs-flag
1.27 bouyer 170:
171: # Xen Block device driver and wd/sd/cd identities
172: device xbd: disk
1.38 bouyer 173: attach xbd at xendevbus with xbd_hypervisor
174: attach xbd at xenbus with xbd_xenbus
175: #file arch/xen/xen/xbd_hypervisor.c xbd_hypervisor
176: file arch/xen/xen/xbd_xenbus.c xbd_xenbus
177: #file arch/xen/xen/xbd.c xbd | xbd_hypervisor | xbd_xenbus needs-flag
178: file arch/xen/xen/xbd.c xbd_hypervisor needs-flag
1.27 bouyer 179:
180: # Non-Xen specific devices and options
181:
1.9 cl 182: include "dev/wscons/files.wscons"
183: include "dev/wsfont/files.wsfont"
1.1 cl 184:
1.10 cl 185: include "dev/pckbport/files.pckbport"
186:
1.17 bouyer 187: #
188: # Machine-independent PCI devices
189: #
190: include "dev/i2o/files.i2o"
191: include "dev/pci/files.pci"
192: include "dev/pci/files.agp"
193: file arch/i386/pci/agp_machdep.c agp
194: file arch/xen/xen/pciide_machdep.c pciide_common
1.23 chs 195:
1.17 bouyer 196: #
197: # Machine-independent ISA devices
198: #
199: include "dev/isa/files.isa"
200:
1.31 bouyer 201: include "dev/usb/files.usb"
1.17 bouyer 202:
1.31 bouyer 203: include "dev/ieee1394/files.ieee1394"
1.17 bouyer 204:
1.40 bouyer 205: device fdc {drive = -1} #XXX
206:
1.44 christos 207: include "dev/apm/files.apm"
208:
1.40 bouyer 209: include "dev/acpi/files.acpi"
210: file arch/xen/xen/xen_acpi_machdep.c acpi
1.48 bouyer 211: file arch/x86/x86/mpacpi.c acpi
1.40 bouyer 212: file arch/x86/x86/acpi_machdep.c acpi
1.48 bouyer 213: file arch/x86/x86/i8259.c xen3
214:
215: # MP configuration using Intel SMP specification 1.4
216: file arch/x86/x86/mpbios.c mpbios
1.40 bouyer 217:
218: file arch/i386/pci/pci_bus_fixup.c pci_bus_fixup
219: file arch/i386/pci/pci_addr_fixup.c pci_addr_fixup
220:
1.48 bouyer 221: file arch/x86/x86/apic.c ioapic
222:
223: device ioapic
224: attach ioapic at cpubus
225: file arch/x86/x86/ioapic.c ioapic needs-flag
226:
1.49 ! bouyer 227: #IPMI device
! 228: device ipmi : sysmon_envsys, sysmon_wdog
! 229: attach ipmi at ipmibus
! 230: file arch/x86/x86/ipmi.c ipmi needs-flag
! 231:
1.17 bouyer 232: # PCI-Host bridge chipsets
233: device pchb: pcibus, agpbus, agp_ali, agp_amd, agp_i810, agp_intel, agp_sis,
234: agp_via
235: attach pchb at pci
236: file arch/i386/pci/pchb.c pchb needs-flag
1.34 tron 237: file arch/x86/pci/pchb_rnd.c pchb & rnd
1.17 bouyer 238:
239: # PCI-ISA bridges
240: device pcib: isabus
241: attach pcib at pci
242: file arch/xen/xen/pcib.c pcib
243:
1.1 cl 244: # CPUS
245:
246: device cpu
1.13 drochner 247: attach cpu at cpubus
1.48 bouyer 248:
249: device vcpu
250: attach vcpu at xendevbus
251:
252: file arch/xen/i386/cpu.c cpu | vcpu
1.1 cl 253:
254: #
255: # Compatibility modules
256: #
257:
258: # VM86 mode
259: file arch/i386/i386/vm86.c vm86
260:
261: # VM86 in kernel
262: file arch/i386/i386/kvm86.c kvm86
263: file arch/i386/i386/kvm86call.S kvm86
264:
265: # Binary compatibility with previous NetBSD releases (COMPAT_XX)
266: file arch/i386/i386/compat_13_machdep.c compat_13 | compat_aout
267: file arch/i386/i386/compat_16_machdep.c compat_16 | compat_ibcs2
268:
269: # SVR4 binary compatibility (COMPAT_SVR4)
270: include "compat/svr4/files.svr4"
271: file arch/i386/i386/svr4_machdep.c compat_svr4
272: file arch/i386/i386/svr4_sigcode.S compat_svr4
273: file arch/i386/i386/svr4_syscall.c compat_svr4
274:
275: # MACH binary compatibility (COMPAT_MACH)
276: include "compat/mach/files.mach"
277: file arch/i386/i386/mach_machdep.c compat_mach | compat_darwin
278: file arch/i386/i386/mach_sigcode.S compat_mach | compat_darwin
279: file arch/i386/i386/mach_syscall.c compat_mach | compat_darwin
280: file arch/i386/i386/macho_machdep.c exec_macho
281:
282: # DARWIN binary compatibility (COMPAT_DARWIN)
283: include "compat/darwin/files.darwin"
284: file arch/i386/i386/darwin_machdep.c compat_darwin
285:
286: # iBCS-2 binary compatibility (COMPAT_IBCS2)
287: include "compat/ibcs2/files.ibcs2"
288: file arch/i386/i386/ibcs2_machdep.c compat_ibcs2
289: file arch/i386/i386/ibcs2_sigcode.S compat_ibcs2
290: file arch/i386/i386/ibcs2_syscall.c compat_ibcs2
291:
292: # Linux binary compatibility (COMPAT_LINUX)
293: include "compat/linux/files.linux"
294: include "compat/linux/arch/i386/files.linux_i386"
295: file arch/i386/i386/linux_sigcode.S compat_linux
296: file arch/i386/i386/linux_syscall.c compat_linux
1.22 yamt 297: file arch/x86/x86/linux_trap.c compat_linux
1.1 cl 298:
299: # FreeBSD binary compatibility (COMPAT_FREEBSD)
300: include "compat/freebsd/files.freebsd"
301: file arch/i386/i386/freebsd_machdep.c compat_freebsd
302: file arch/i386/i386/freebsd_sigcode.S compat_freebsd
303: file arch/i386/i386/freebsd_syscall.c compat_freebsd
304:
305: # Win32 binary compatibility (COMPAT_PECOFF)
306: include "compat/pecoff/files.pecoff"
307:
308: # OSS audio driver compatibility
309: include "compat/ossaudio/files.ossaudio"
310:
1.26 yamt 311: #
312: # CARDBUS
313: #
314: include "dev/cardbus/files.cardbus"
315: file arch/i386/i386/rbus_machdep.c cardbus
316:
317: # this wants to be probed as late as possible.
318: #
319: # Machine-independent PCMCIA drivers
320: #
321: include "dev/pcmcia/files.pcmcia"
322:
1.12 cl 323: # Domain-0 operations
1.47 bouyer 324: defflag opt_xen.h DOM0OPS XEN_NO_HYPERCALLPAGE
1.12 cl 325: file arch/xen/xen/privcmd.c dom0ops
1.42 bouyer 326: file arch/xen/i386/xen_shm_machdep.c dom0ops | xen3
1.33 bouyer 327: file arch/xen/xen/xbdback.c dom0ops & !xen3
328: file arch/xen/xen/xennetback.c dom0ops & !xen3
1.40 bouyer 329: file arch/xen/xen/pci_machdep.c hypervisor & pci & !xen3
330: file arch/x86/pci/pci_machdep.c hypervisor & pci & xen3
331: file arch/xen/xen/pci_intr_machdep.c hypervisor & pci
1.17 bouyer 332: file arch/xen/xen/isa_machdep.c hypervisor & dom0ops
333: file arch/xen/xen/xenevt.c xenevt & dom0ops
1.41 bouyer 334: file arch/xen/xen/xennetback_xenbus.c xvif & xen3
1.45 yamt 335: file arch/xen/xen/xennet_checksum.c (xvif & xen3) | xennet_xenbus
1.43 bouyer 336: file arch/xen/xen/xbdback_xenbus.c xbdback & xen3
1.12 cl 337:
1.18 bouyer 338: include "arch/i386/conf/majors.i386"
CVSweb <webmaster@jp.NetBSD.org>