Home | History | Annotate | Line # | Download | only in conf
files.x86 revision 1.124
      1 #	$NetBSD: files.x86,v 1.124 2022/09/24 11:05:18 riastradh Exp $
      2 
      3 # options for MP configuration through the MP spec
      4 defflag opt_mpbios.h MPBIOS MPDEBUG MPBIOS_SCANPCI
      5 defparam opt_mpbios.h MPVERBOSE
      6 
      7 # MTRR support
      8 defflag                 MTRR
      9 
     10 # Interrupt debug
     11 defflag opt_intrdebug.h	INTRDEBUG
     12 
     13 # PCI fixup options
     14 defflag opt_pcifixup.h	PCI_ADDR_FIXUP PCI_BUS_FIXUP
     15 			PCI_INTR_FIXUP PCI_INTR_FIXUP_FORCE
     16 defflag opt_pci.h	NO_PCI_MSI_MSIX
     17 
     18 # To be able to test for NetBSD/xen in shared files
     19 defflag	opt_xen.h		DO_NOT_DEFINE
     20 
     21 # Option to have a static kernel memory layout
     22 defflag opt_kaslr.h	NO_X86_ASLR
     23 
     24 defflag opt_efi.h	EFI_RUNTIME
     25 
     26 defflag	SVS
     27 
     28 defflag	PCPU_IDT
     29 
     30 define  cpubus { [apid = -1] }
     31 define	cpufeaturebus {}
     32 define  ioapicbus { [apid = -1] }
     33 
     34 # BIOS32 routines
     35 define	bios32: smbios
     36 file	arch/x86/x86/bios32.c		bios32 needs-flag
     37 
     38 #
     39 # CPU features
     40 #
     41 device	cpu: cpufeaturebus
     42 attach	cpu at cpubus
     43 file 	arch/x86/x86/cpu.c 		cpu & !xenpv
     44 file	arch/x86/x86/cpu_rng.c		cpu | vcpu
     45 
     46 device	acpicpu: acpi
     47 attach	acpicpu at cpufeaturebus
     48 file	dev/acpi/acpi_cpu.c		acpicpu
     49 file	dev/acpi/acpi_cpu_cstate.c	acpicpu
     50 file	dev/acpi/acpi_cpu_pstate.c	acpicpu
     51 file	dev/acpi/acpi_cpu_tstate.c	acpicpu
     52 file	arch/x86/acpi/acpi_cpu_md.c	acpicpu
     53 
     54 device	coretemp: sysmon_envsys
     55 attach	coretemp at cpufeaturebus
     56 file	arch/x86/x86/coretemp.c		coretemp
     57 
     58 device	est
     59 attach	est at cpufeaturebus
     60 file	arch/x86/x86/est.c		est
     61 file	arch/x86/x86/intel_busclock.c	est
     62 
     63 device	odcm
     64 attach	odcm at cpufeaturebus
     65 file	arch/x86/x86/odcm.c		odcm
     66 
     67 device	padlock: opencrypto, aes
     68 attach	padlock at cpufeaturebus
     69 file	arch/x86/x86/via_padlock.c	padlock
     70 
     71 device	powernow
     72 attach	powernow at cpufeaturebus
     73 file	arch/x86/x86/powernow.c		powernow
     74 
     75 device	viac7temp: sysmon_envsys
     76 attach	viac7temp at cpufeaturebus
     77 file	arch/x86/x86/viac7temp.c	viac7temp
     78 
     79 attach	vmt at cpufeaturebus
     80 file	arch/x86/x86/vmt.c		vmt
     81 
     82 device	hyperv
     83 attach	hyperv at cpufeaturebus
     84 file	arch/x86/x86/hyperv.c		hyperv needs-flag
     85 
     86 file	arch/x86/x86/apic.c		ioapic | lapic
     87 file	arch/x86/x86/bus_dma.c		machdep
     88 file	arch/x86/x86/bus_space.c	machdep
     89 file	arch/x86/x86/consinit.c		machdep & !xenpv
     90 file	arch/x86/x86/core_machdep.c	coredump
     91 file	arch/x86/x86/cpu_topology.c	machdep
     92 file	arch/x86/x86/db_memrw.c		ddb | kgdb
     93 file	arch/x86/x86/db_trace.c		ddb
     94 file	arch/x86/x86/efi_machdep.c	machdep
     95 file	arch/x86/x86/errata.c		machdep
     96 file	arch/x86/x86/genfb_machdep.c	machdep
     97 file	arch/x86/x86/identcpu.c		machdep
     98 file	arch/x86/x86/identcpu_subr.c	machdep
     99 file	arch/x86/x86/i8259.c		machdep & (!xenpv | dom0ops)
    100 file	arch/x86/x86/intr.c		machdep & !xenpv
    101 file	arch/x86/x86/x86_softintr.c	machdep
    102 file	arch/x86/x86/kgdb_machdep.c	kgdb
    103 file	arch/x86/x86/nmi.c		machdep
    104 file	arch/x86/x86/idt.c		machdep
    105 file	arch/x86/x86/ipi.c		machdep & !xenpv
    106 file	arch/x86/x86/mtrr_i686.c	mtrr & !xenpv
    107 file 	arch/x86/x86/patch.c		machdep & !xenpv
    108 file	dev/smbios_platform.c		machdep
    109 file 	arch/x86/x86/pmap.c		machdep
    110 file 	arch/x86/x86/x86_tlb.c		machdep
    111 file	arch/x86/x86/procfs_machdep.c	procfs
    112 file 	arch/x86/x86/svs.c		machdep & svs
    113 file	arch/x86/x86/sys_machdep.c	machdep
    114 file	arch/x86/x86/syscall.c		machdep
    115 file	arch/x86/x86/tsc.c		machdep
    116 file	arch/x86/x86/vm_machdep.c	machdep
    117 file	arch/x86/x86/x86_autoconf.c	machdep & !xenpv
    118 file	arch/x86/x86/x86_userconf.c	userconf
    119 file	arch/x86/x86/x86_machdep.c	machdep
    120 
    121 file 	uvm/pmap/pmap_pvt.c		machdep
    122 
    123 file	arch/x86/x86/cpu_ucode.c	cpu_ucode needs-flag
    124 file	arch/x86/x86/cpu_ucode_amd.c	cpu_ucode needs-flag
    125 file	arch/x86/x86/cpu_ucode_intel.c	cpu_ucode needs-flag
    126 file    arch/x86/x86/compat_60_cpu_ucode.c	compat_60 & cpu_ucode
    127 
    128 define	lapic
    129 file	arch/x86/x86/lapic.c		lapic needs-flag
    130 
    131 device	ioapic: lapic
    132 attach	ioapic at ioapicbus
    133 file	arch/x86/x86/ioapic.c		ioapic needs-flag
    134 
    135 # MP configuration using Intel SMP specification 1.4
    136 file 	arch/x86/x86/mpbios.c		mpbios
    137 
    138 # MP configuration using either ACPI or Intel SMP specification 1.4
    139 file 	arch/x86/x86/mp.c		acpi | mpbios
    140 
    141 # MP configuration using ACPI
    142 file 	arch/x86/x86/mpacpi.c		acpi
    143 
    144 file	arch/x86/acpi/acpi_pdc.c	acpi
    145 file	arch/x86/acpi/acpi_wakeup.c	acpi & !xenpv
    146 file	arch/x86/acpi/acpi_machdep.c	acpi
    147 
    148 file	arch/x86/isa/isa_machdep.c	isa
    149 
    150 # PC clock
    151 file 	arch/x86/isa/clock.c	!xenpv
    152 file	arch/x86/isa/rtc.c  	isa
    153 
    154 # Stubs for x86 routines not included in the system
    155 file	arch/x86/x86/x86_stub.c
    156 
    157 # IPMI device
    158 file	arch/x86/x86/x86_ipmi.c		ipmi needs-flag
    159 
    160 file	arch/x86/x86/vga_post.c		vga_post
    161 
    162 file	arch/x86/pci/pci_machdep.c	pci
    163 #file	arch/x86/pci/pci_ranges.c	pci
    164 file	arch/x86/pci/pci_intr_machdep.c	pci
    165 file	arch/x86/pci/pci_msi_machdep.c	pci & ! no_pci_msi_msix
    166 file	arch/x86/pci/msipic.c		pci & ! no_pci_msi_msix
    167 
    168 file	arch/x86/pci/pciide_machdep.c	pciide_common
    169 
    170 file	arch/x86/pci/pci_bus_fixup.c	pci_bus_fixup
    171 file	arch/x86/pci/pci_addr_fixup.c	pci_addr_fixup
    172 
    173 # AES-NI
    174 include "crypto/aes/arch/x86/files.aesni"
    175 
    176 # VIA ACE
    177 include "crypto/aes/arch/x86/files.aesvia"
    178 
    179 # Bitsliced AES with SSE2
    180 include "crypto/aes/arch/x86/files.aessse2"
    181 
    182 # Permutation-based AES with PSHUFB
    183 include "crypto/aes/arch/x86/files.aesssse3"
    184 
    185 # ChaCha with SSE2
    186 include "crypto/chacha/arch/x86/files.chacha_x86"
    187