1# $NetBSD: files.x86,v 1.103 2018/07/16 06:18:31 maxv Exp $ 2 3# options for MP configuration through the MP spec 4defflag opt_mpbios.h MPBIOS MPDEBUG MPBIOS_SCANPCI 5defparam opt_mpbios.h MPVERBOSE 6 7# MTRR support 8defflag MTRR 9 10# Interrupt debug 11defflag opt_intrdebug.h INTRDEBUG 12 13# PCI fixup options 14defflag opt_pcifixup.h PCI_ADDR_FIXUP PCI_BUS_FIXUP 15 PCI_INTR_FIXUP PCI_INTR_FIXUP_FORCE 16 17# To be able to test for NetBSD/xen in shared files 18defflag opt_xen.h DO_NOT_DEFINE 19 20defflag SVS 21 22define cpubus { [apid = -1] } 23define cpufeaturebus {} 24define ioapicbus { [apid = -1] } 25define ipmibus {} 26 27# BIOS32 routines 28define bios32 29file arch/x86/x86/bios32.c bios32 needs-flag 30 31# 32# CPU features 33# 34device cpu: cpufeaturebus 35attach cpu at cpubus 36file arch/x86/x86/cpu.c cpu 37file arch/x86/x86/cpu_rng.c cpu 38 39device acpicpu: acpi 40attach acpicpu at cpufeaturebus 41file dev/acpi/acpi_cpu.c acpicpu 42file dev/acpi/acpi_cpu_cstate.c acpicpu 43file dev/acpi/acpi_cpu_pstate.c acpicpu 44file dev/acpi/acpi_cpu_tstate.c acpicpu 45file arch/x86/acpi/acpi_cpu_md.c acpicpu 46 47device coretemp: sysmon_envsys 48attach coretemp at cpufeaturebus 49file arch/x86/x86/coretemp.c coretemp 50 51device est 52attach est at cpufeaturebus 53file arch/x86/x86/est.c est 54file arch/x86/x86/intel_busclock.c est 55 56device odcm 57attach odcm at cpufeaturebus 58file arch/x86/x86/odcm.c odcm 59 60device padlock: opencrypto 61attach padlock at cpufeaturebus 62file arch/x86/x86/via_padlock.c padlock 63 64device powernow 65attach powernow at cpufeaturebus 66file arch/x86/x86/powernow.c powernow 67 68device viac7temp: sysmon_envsys 69attach viac7temp at cpufeaturebus 70file arch/x86/x86/viac7temp.c viac7temp 71 72device vmt: sysmon_power, sysmon_taskq 73attach vmt at cpufeaturebus 74file arch/x86/x86/vmt.c vmt 75 76file arch/x86/x86/apic.c ioapic | lapic 77file arch/x86/x86/bus_dma.c machdep 78file arch/x86/x86/bus_space.c machdep 79file arch/x86/x86/consinit.c machdep 80file arch/x86/x86/core_machdep.c coredump 81file arch/x86/x86/cpu_topology.c machdep 82file arch/x86/x86/db_memrw.c ddb | kgdb 83file arch/x86/x86/db_trace.c ddb 84file arch/x86/x86/efi.c machdep 85file arch/x86/x86/errata.c machdep 86file arch/x86/x86/genfb_machdep.c machdep 87file arch/x86/x86/identcpu.c machdep 88file arch/x86/x86/i8259.c machdep 89file arch/x86/x86/intr.c machdep 90file arch/x86/x86/kgdb_machdep.c kgdb 91file arch/x86/x86/nmi.c machdep 92file arch/x86/x86/idt.c machdep 93file arch/x86/x86/ipi.c machdep 94file arch/x86/x86/mtrr_i686.c mtrr 95file arch/x86/x86/patch.c machdep 96file arch/x86/x86/platform.c machdep 97file arch/x86/x86/pmap.c machdep 98file arch/x86/x86/x86_tlb.c machdep 99file arch/x86/x86/procfs_machdep.c procfs 100file arch/x86/x86/svs.c machdep & svs 101file arch/x86/x86/sys_machdep.c machdep 102file arch/x86/x86/syscall.c machdep 103file arch/x86/x86/tsc.c machdep 104file arch/x86/x86/vm_machdep.c machdep 105file arch/x86/x86/x86_autoconf.c machdep 106file arch/x86/x86/x86_userconf.c userconf 107file arch/x86/x86/x86_machdep.c machdep 108 109file uvm/pmap/pmap_pvt.c machdep 110 111file arch/x86/x86/cpu_ucode.c cpu_ucode needs-flag 112file arch/x86/x86/cpu_ucode_amd.c cpu_ucode needs-flag 113file arch/x86/x86/cpu_ucode_intel.c cpu_ucode needs-flag 114file arch/x86/x86/compat_60_cpu_ucode.c compat_60 & cpu_ucode 115 116define lapic 117file arch/x86/x86/lapic.c lapic needs-flag 118 119device ioapic: lapic 120attach ioapic at ioapicbus 121file arch/x86/x86/ioapic.c ioapic needs-flag 122 123# MP configuration using Intel SMP specification 1.4 124file arch/x86/x86/mpbios.c mpbios 125 126# MP configuration using either ACPI or Intel SMP specification 1.4 127file arch/x86/x86/mp.c acpi | mpbios 128 129# MP configuration using ACPI 130file arch/x86/x86/mpacpi.c acpi 131 132file arch/x86/acpi/acpi_pdc.c acpi 133file arch/x86/acpi/acpi_wakeup.c acpi 134file arch/x86/acpi/acpi_machdep.c acpi 135 136file arch/x86/isa/isa_machdep.c 137 138# PC clock 139file arch/x86/isa/clock.c 140file arch/x86/isa/rtc.c 141 142# Stubs for x86 routines not included in the system 143file arch/x86/x86/x86_stub.c 144 145# IPMI device 146device ipmi: sysmon_envsys, sysmon_wdog 147attach ipmi at ipmibus 148file arch/x86/x86/ipmi.c ipmi needs-flag 149 150file arch/x86/x86/vga_post.c vga_post 151 152file arch/x86/pci/pci_machdep.c pci 153#file arch/x86/pci/pci_ranges.c pci 154file arch/x86/pci/pci_intr_machdep.c pci 155file arch/x86/pci/pci_msi_machdep.c pci 156file arch/x86/pci/msipic.c pci 157 158file arch/x86/pci/pciide_machdep.c pciide_common 159 160file arch/x86/pci/pci_bus_fixup.c pci_bus_fixup 161file arch/x86/pci/pci_addr_fixup.c pci_addr_fixup 162