Annotation of src/sys/arch/xen/conf/files.xen, Revision 1.160
1.160 ! cherry 1: # $NetBSD: files.xen,v 1.159 2017/11/04 08:55:50 cherry 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.110 bouyer 5: ifdef i386
1.3 wiz 6: maxpartitions 8
1.110 bouyer 7: else
8: maxpartitions 16
9: endif
1.1 cl 10:
11: maxusers 2 16 128
12:
1.30 yamt 13: defparam opt_kernbase.h KERNBASE
14:
1.48 bouyer 15: # options for MP configuration through the MP spec
16: defflag opt_mpbios.h MPBIOS MPVERBOSE MPDEBUG MPBIOS_SCANPCI
17:
1.157 cherry 18: # Interrupt debug
19: defflag opt_intrdebug.h INTRDEBUG
20:
1.1 cl 21: # delay before cpu_reset() for reboot.
22: defparam CPURESET_DELAY
23:
1.106 dyoung 24: # splraise()/spllower() debug
25: defflag opt_spldebug.h SPLDEBUG
26:
1.1 cl 27: # Beep on halt
28: defflag opt_beep.h BEEP_ONHALT
1.56 dsl 29: defparam opt_beep.h BEEP_ONHALT_COUNT=3
30: defparam opt_beep.h BEEP_ONHALT_PITCH=1500
31: defparam opt_beep.h BEEP_ONHALT_PERIOD=250
1.1 cl 32:
1.40 bouyer 33: # PCI fixup options
1.71 bouyer 34: defflag opt_pcifixup.h PCI_ADDR_FIXUP PCI_BUS_FIXUP
1.40 bouyer 35: PCI_INTR_FIXUP PCI_INTR_FIXUP_FORCE
36:
1.71 bouyer 37: defparam PCI_CONF_MODE
1.40 bouyer 38:
1.71 bouyer 39: file arch/xen/x86/autoconf.c
40: ifdef i386
1.90 ad 41: file arch/i386/i386/aout_machdep.c exec_aout
1.64 ad 42: file arch/i386/i386/busfunc.S
43: file arch/i386/i386/cpufunc.S
1.80 joerg 44: file arch/i386/i386/cpu_in_cksum.S (inet | inet6) & cpu_in_cksum
1.1 cl 45: file arch/i386/i386/db_disasm.c ddb
46: file arch/i386/i386/db_interface.c ddb
1.115 cegger 47: file arch/i386/i386/db_machdep.c ddb
1.78 ad 48: file arch/i386/i386/dumpsys.c
1.77 bouyer 49: file arch/i386/i386/gdt.c
1.1 cl 50: file arch/i386/i386/ipkdb_glue.c ipkdb
1.81 jmmv 51: file arch/i386/i386/kobj_machdep.c modular
1.77 bouyer 52: file arch/i386/i386/machdep.c
1.83 dogcow 53: file arch/i386/i386/longrun.c
1.1 cl 54: file arch/i386/i386/mtrr_k6.c mtrr
55: file arch/i386/i386/process_machdep.c
1.72 yamt 56: file arch/i386/i386/trap.c
1.55 ad 57: file arch/i386/i386/lock_stubs.S
1.1 cl 58:
1.71 bouyer 59: file crypto/des/arch/i386/des_enc.S des
60: file crypto/des/arch/i386/des_cbc.S des
61:
62: file crypto/blowfish/arch/i386/bf_enc.S blowfish
63: file crypto/blowfish/arch/i386/bf_cbc.S blowfish
1.103 jym 64:
1.71 bouyer 65: elifdef amd64
1.93 bouyer 66: file arch/amd64/amd64/busfunc.S
1.71 bouyer 67: file arch/amd64/amd64/cpufunc.S
1.80 joerg 68: file arch/amd64/amd64/cpu_in_cksum.S (inet | inet6) & cpu_in_cksum
1.71 bouyer 69: file arch/amd64/amd64/db_disasm.c ddb
1.115 cegger 70: file arch/amd64/amd64/db_interface.c ddb
71: file arch/amd64/amd64/db_machdep.c ddb
1.81 jmmv 72: file arch/amd64/amd64/kobj_machdep.c modular
1.71 bouyer 73: file arch/amd64/amd64/gdt.c
74: file arch/amd64/amd64/machdep.c
75: file arch/amd64/amd64/process_machdep.c
76: file arch/amd64/amd64/trap.c
77: file arch/amd64/amd64/lock_stubs.S
78: endif
79:
80: file kern/subr_disk_mbr.c disk
1.138 skrll 81: file uvm/pmap/pmap_pvt.c
1.131 dsl 82: file arch/x86/x86/convert_xmm_s87.c
1.126 jym 83: file arch/x86/x86/db_memrw.c ddb | kgdb
1.115 cegger 84: file arch/x86/x86/db_trace.c ddb
1.133 dsl 85: file arch/x86/x86/fpu.c
1.143 kamil 86: file arch/x86/x86/dbregs.c
1.71 bouyer 87: file arch/xen/x86/hypervisor_machdep.c
1.156 maxv 88: file arch/x86/x86/kgdb_machdep.c kgdb
1.71 bouyer 89: # file arch/x86/x86/mtrr_i686.c mtrr
1.97 cegger 90: file arch/x86/x86/syscall.c
1.71 bouyer 91: file arch/xen/x86/x86_xpmap.c
1.107 dyoung 92: file arch/xen/x86/xen_pmap.c
1.71 bouyer 93: file arch/xen/x86/xen_intr.c
94: file arch/xen/x86/xenfunc.c
95:
1.141 jnemeth 96: file arch/xen/xen/xen_ucode.c dom0ops & cpu_ucode needs-flag
97: file arch/x86/x86/cpu_ucode_amd.c dom0ops & cpu_ucode needs-flag
98: file arch/x86/x86/cpu_ucode_intel.c dom0ops & cpu_ucode needs-flag
1.124 cegger 99:
1.71 bouyer 100: file arch/xen/xen/xen_machdep.c
1.1 cl 101: file arch/xen/xen/xen_debug.c
102:
103: file arch/xen/xen/clock.c
1.102 cegger 104: file arch/x86/isa/rtc.c dom0ops
1.17 bouyer 105: file arch/xen/xen/evtchn.c
1.1 cl 106:
1.102 cegger 107: file arch/xen/xen/xengnt.c
1.35 bouyer 108:
1.140 mlelstv 109: file arch/x86/x86/cpu_rng.c
1.139 mlelstv 110:
1.1 cl 111: file dev/cons.c
112:
113:
114: #
1.137 uebayasi 115: # Stack-less Just-In-Time compiler
116: #
117:
118: include "external/bsd/sljit/conf/files.sljit"
119:
120: #
1.1 cl 121: # Machine-independent SCSI drivers
122: #
123:
1.17 bouyer 124: include "dev/scsipi/files.scsipi"
1.1 cl 125:
126: #
127: # Machine-independent ATA drivers
128: #
129:
1.17 bouyer 130: include "dev/ata/files.ata"
1.1 cl 131:
132: # Memory Disk for install floppy
133: file dev/md_root.c memory_disk_hooks
134:
1.134 uebayasi 135: file arch/x86/x86/bus_dma.c machdep
1.96 rmind 136: file arch/x86/x86/core_machdep.c coredump
1.134 uebayasi 137: file arch/xen/x86/xen_bus_dma.c machdep
138: file arch/x86/x86/bus_space.c machdep
139: file arch/xen/x86/consinit.c machdep
140: file arch/x86/x86/identcpu.c machdep
1.160 ! cherry 141: file arch/xen/x86/pintr.c machdep & dom0ops
1.134 uebayasi 142: file arch/xen/x86/intr.c machdep
1.122 cherry 143: file arch/xen/x86/xen_ipi.c multiprocessor
1.158 cherry 144: file arch/x86/x86/idt.c machdep
1.134 uebayasi 145: file arch/x86/x86/pmap.c machdep
146: file arch/x86/x86/pmap_tlb.c machdep
1.109 rmind 147: file arch/x86/x86/procfs_machdep.c procfs
1.134 uebayasi 148: file arch/x86/x86/sys_machdep.c machdep
149: file arch/x86/x86/tsc.c machdep
150: file arch/x86/x86/vm_machdep.c machdep
151: file arch/x86/x86/x86_machdep.c machdep
152: file arch/x86/x86/cpu_topology.c machdep
1.147 nonaka 153: file arch/x86/x86/platform.c machdep
1.1 cl 154:
155: include "arch/xen/conf/files.compat"
156:
1.49 bouyer 157: # BIOS32 routines
1.71 bouyer 158: define bios32
1.155 maxv 159: file arch/x86/x86/bios32.c bios32 needs-flag
1.49 bouyer 160:
1.71 bouyer 161: # xen specific mainbus attributes
1.13 drochner 162: define cpubus { [apid = -1] }
1.112 jruoho 163: define cpufeaturebus {}
1.57 drochner 164: define ioapicbus { [apid = -1] }
1.13 drochner 165: define apmbus {}
166: define pnpbiosbus {}
167: define hypervisorbus {}
1.29 bouyer 168: define xendevbus {}
1.49 bouyer 169: define ipmibus {}
1.13 drochner 170:
1.1 cl 171: #
172: # System bus types
173: #
174:
1.57 drochner 175: device mainbus: cpubus, ioapicbus, hypervisorbus, bios32, ipmibus
1.1 cl 176: attach mainbus at root
1.71 bouyer 177: file arch/xen/x86/mainbus.c mainbus
1.5 cl 178:
179: # Xen hypervisor
1.48 bouyer 180: device hypervisor { [apid = -1]}: isabus, pcibus, sysmon_power, xendevbus, acpibus
1.17 bouyer 181: attach hypervisor at hypervisorbus
1.5 cl 182: file arch/xen/xen/hypervisor.c hypervisor needs-flag
1.102 cegger 183: file arch/xen/xen/shutdown_xenbus.c hypervisor
1.1 cl 184:
1.102 cegger 185: # Xenbus
1.35 bouyer 186: device xenbus {[id = -1]}
187: attach xenbus at xendevbus
1.102 cegger 188: file arch/xen/xenbus/xenbus_client.c xenbus needs-flag
189: file arch/xen/xenbus/xenbus_comms.c xenbus needs-flag
1.123 jym 190: file arch/xen/xenbus/xenbus_dev.c xenbus needs-flag
1.102 cegger 191: file arch/xen/xenbus/xenbus_probe.c xenbus needs-flag
192: file arch/xen/xenbus/xenbus_xs.c xenbus needs-flag
1.35 bouyer 193:
1.1 cl 194: # Xen console support
1.6 cl 195: device xencons: tty
1.29 bouyer 196: attach xencons at xendevbus
1.6 cl 197: file arch/xen/xen/xencons.c xencons needs-flag
1.1 cl 198:
1.17 bouyer 199: # Xen event peudo-device
200: defpseudo xenevt
1.41 bouyer 201: defpseudo xvif
1.43 bouyer 202: defpseudo xbdback
1.17 bouyer 203:
1.27 bouyer 204: # Xen Network driver
205: device xennet: arp, ether, ifnet
1.102 cegger 206: attach xennet at xenbus
207: file arch/xen/xen/if_xennet_xenbus.c xennet needs-flag
1.27 bouyer 208:
209: # Xen Block device driver and wd/sd/cd identities
210: device xbd: disk
1.102 cegger 211: attach xbd at xenbus
212: file arch/xen/xen/xbd_xenbus.c xbd
1.27 bouyer 213:
1.93 bouyer 214: # PCI frontend
215: device xpci: pcibus
216: attach xpci at xenbus with xpci_xenbus
217: file arch/xen/xen/xpci_xenbus.c xpci_xenbus
218:
1.116 jym 219: # Xen Balloon driver
220: device balloon
221: attach balloon at xenbus
222: file arch/xen/xen/balloon.c balloon
223:
1.27 bouyer 224: # Non-Xen specific devices and options
225:
1.10 cl 226: include "dev/pckbport/files.pckbport"
227:
1.17 bouyer 228: #
229: # Machine-independent PCI devices
230: #
231: include "dev/i2o/files.i2o"
232: include "dev/pci/files.pci"
233: include "dev/pci/files.agp"
234: file arch/xen/xen/pciide_machdep.c pciide_common
1.23 chs 235:
1.93 bouyer 236: device pciback {unit = -1}
237: attach pciback at pci
238: file arch/xen/xen/pciback.c pciback
239:
240:
1.88 joerg 241: # x86 specific PCI hardware
242: include "arch/x86/pci/files.pci"
243:
1.17 bouyer 244: #
245: # Machine-independent ISA devices
246: #
247: include "dev/isa/files.isa"
248:
1.31 bouyer 249: include "dev/usb/files.usb"
1.17 bouyer 250:
1.31 bouyer 251: include "dev/ieee1394/files.ieee1394"
1.17 bouyer 252:
1.71 bouyer 253: device fdc {drive = -1} #XXX
1.40 bouyer 254:
1.44 christos 255: include "dev/apm/files.apm"
256:
1.40 bouyer 257: include "dev/acpi/files.acpi"
258: file arch/xen/xen/xen_acpi_machdep.c acpi
1.48 bouyer 259: file arch/x86/x86/mpacpi.c acpi
1.159 cherry 260: file arch/x86/x86/i8259.c dom0ops
1.48 bouyer 261:
1.114 dyoung 262: # Stubs for x86 routines not included in the system
263: file arch/x86/x86/x86_stub.c
264:
1.48 bouyer 265: # MP configuration using Intel SMP specification 1.4
266: file arch/x86/x86/mpbios.c mpbios
1.40 bouyer 267:
1.98 cegger 268: # MP configuration using either ACPI or Intel SMP specification 1.4
269: file arch/x86/x86/mp.c acpi | mpbios
270:
1.92 bouyer 271: file arch/x86/pci/pci_bus_fixup.c pci_bus_fixup
272: file arch/x86/pci/pci_addr_fixup.c pci_addr_fixup
1.40 bouyer 273:
1.48 bouyer 274: file arch/x86/x86/apic.c ioapic
1.114 dyoung 275: file arch/x86/x86/nmi.c
1.48 bouyer 276:
1.120 jruoho 277: file arch/x86/acpi/acpi_machdep.c acpi
1.121 pgoyette 278: file arch/x86/acpi/acpi_pdc.c acpi
1.120 jruoho 279:
1.48 bouyer 280: device ioapic
1.57 drochner 281: attach ioapic at ioapicbus
1.48 bouyer 282: file arch/x86/x86/ioapic.c ioapic needs-flag
283:
1.49 bouyer 284: #IPMI device
285: device ipmi : sysmon_envsys, sysmon_wdog
286: attach ipmi at ipmibus
287: file arch/x86/x86/ipmi.c ipmi needs-flag
288:
1.112 jruoho 289: # CPUs
290: #
291: device cpu: cpufeaturebus
1.13 drochner 292: attach cpu at cpubus
1.48 bouyer 293:
294: device vcpu
295: attach vcpu at xendevbus
296:
1.71 bouyer 297: file arch/xen/x86/cpu.c cpu | vcpu
1.1 cl 298:
1.112 jruoho 299: # CPU features
300: #
301: device est
302: attach est at cpufeaturebus
303: file arch/x86/x86/est.c est
304: file arch/x86/x86/intel_busclock.c est
305:
1.113 jruoho 306: device powernow
307: attach powernow at cpufeaturebus
308: file arch/x86/x86/powernow.c powernow
309:
1.1 cl 310: #
311: # Compatibility modules
312: #
313:
1.71 bouyer 314: ifdef i386
1.1 cl 315:
316: # Binary compatibility with previous NetBSD releases (COMPAT_XX)
1.53 drochner 317: file arch/i386/i386/compat_13_machdep.c compat_13
1.153 maxv 318: file arch/i386/i386/compat_16_machdep.c compat_16
1.1 cl 319:
320: # Linux binary compatibility (COMPAT_LINUX)
321: include "compat/linux/files.linux"
322: include "compat/linux/arch/i386/files.linux_i386"
323: file arch/i386/i386/linux_sigcode.S compat_linux
324: file arch/i386/i386/linux_syscall.c compat_linux
1.22 yamt 325: file arch/x86/x86/linux_trap.c compat_linux
1.1 cl 326:
327: # FreeBSD binary compatibility (COMPAT_FREEBSD)
328: include "compat/freebsd/files.freebsd"
329:
1.71 bouyer 330: elifdef amd64
1.136 christos 331:
1.135 ozaki-r 332: # Binary compatibility with previous NetBSD releases (COMPAT_XX)
333: file arch/amd64/amd64/compat_13_machdep.c compat_13
1.136 christos 334: file arch/amd64/amd64/compat_16_machdep.c compat_16
1.135 ozaki-r 335:
1.71 bouyer 336: # NetBSD/i386 32-bit binary compatibility (COMPAT_NETBSD32)
337: include "compat/netbsd32/files.netbsd32"
338: file arch/amd64/amd64/netbsd32_machdep.c compat_netbsd32
339: file arch/amd64/amd64/netbsd32_sigcode.S compat_netbsd32 & compat_16
340: file arch/amd64/amd64/netbsd32_syscall.c compat_netbsd32
341:
342: # Linux compatibility (COMPAT_LINUX)
343: include "compat/linux/files.linux"
344: include "compat/linux/arch/amd64/files.linux_amd64"
345: file arch/amd64/amd64/linux_sigcode.S compat_linux
346: file arch/amd64/amd64/linux_syscall.c compat_linux
347: file arch/x86/x86/linux_trap.c compat_linux
348: # Linux 32 bit compatibility (COMPAT_LINUX32)
349: include "compat/linux32/files.linux32"
350: include "compat/linux32/arch/amd64/files.linux32_amd64"
351: file arch/amd64/amd64/linux32_sigcode.S compat_linux32
352: file arch/amd64/amd64/linux32_syscall.c compat_linux32
353: endif
354:
1.1 cl 355: # OSS audio driver compatibility
356: include "compat/ossaudio/files.ossaudio"
357:
1.50 xtraeme 358: # Bluetooth
359: include "dev/bluetooth/files.bluetooth"
360:
1.148 khorben 361: include "dev/sdmmc/files.sdmmc"
362:
1.26 yamt 363: #
364: # CARDBUS
365: #
366: include "dev/cardbus/files.cardbus"
1.71 bouyer 367: ifdef i386
1.26 yamt 368: file arch/i386/i386/rbus_machdep.c cardbus
1.71 bouyer 369: elifdef amd64
370: file arch/amd64/amd64/rbus_machdep.c cardbus
371: endif
1.26 yamt 372:
373: # this wants to be probed as late as possible.
374: #
375: # Machine-independent PCMCIA drivers
376: #
377: include "dev/pcmcia/files.pcmcia"
378:
1.12 cl 379: # Domain-0 operations
1.127 jym 380: defflag opt_xen.h DOM0OPS
1.12 cl 381: file arch/xen/xen/privcmd.c dom0ops
1.102 cegger 382: file arch/xen/x86/xen_shm_machdep.c dom0ops
383: file arch/x86/pci/pci_machdep.c hypervisor & pci & dom0ops
1.40 bouyer 384: file arch/xen/xen/pci_intr_machdep.c hypervisor & pci
1.149 cherry 385: file arch/x86/isa/isa_machdep.c hypervisor & dom0ops
1.17 bouyer 386: file arch/xen/xen/xenevt.c xenevt & dom0ops
1.102 cegger 387: file arch/xen/xen/xennetback_xenbus.c xvif
388: file arch/xen/xen/xennet_checksum.c xvif | xennet
389: file arch/xen/xen/xbdback_xenbus.c xbdback
1.12 cl 390:
1.71 bouyer 391: ifdef i386
1.18 bouyer 392: include "arch/i386/conf/majors.i386"
1.71 bouyer 393: elifdef amd64
1.74 bouyer 394: include "arch/amd64/conf/majors.amd64"
1.71 bouyer 395: endif
CVSweb <webmaster@jp.NetBSD.org>