Fri Feb 23 22:10:40 2024 UTC (113d)
s/optionms/options/ in copy-pasted comment.


(andvar)
diff -r1.122 -r1.123 src/sys/arch/amd64/conf/files.amd64
diff -r1.407 -r1.408 src/sys/arch/i386/conf/files.i386
diff -r1.34 -r1.35 src/sys/arch/xen/conf/files.compat

cvs diff -r1.122 -r1.123 src/sys/arch/amd64/conf/files.amd64 (switch to unified diff)

--- src/sys/arch/amd64/conf/files.amd64 2023/12/05 16:32:38 1.122
+++ src/sys/arch/amd64/conf/files.amd64 2024/02/23 22:10:39 1.123
@@ -1,203 +1,203 @@ @@ -1,203 +1,203 @@
1# $NetBSD: files.amd64,v 1.122 2023/12/05 16:32:38 thorpej Exp $ 1# $NetBSD: files.amd64,v 1.123 2024/02/23 22:10:39 andvar Exp $
2# 2#
3# new style config file for amd64 architecture 3# new style config file for amd64 architecture
4# 4#
5 5
6# maxpartitions must be first item in files.${ARCH}.newconf 6# maxpartitions must be first item in files.${ARCH}.newconf
7maxpartitions 16 7maxpartitions 16
8 8
9maxusers 2 16 128 9maxusers 2 16 128
10 10
11# delay before cpu_reset() for reboot. 11# delay before cpu_reset() for reboot.
12defparam CPURESET_DELAY 12defparam CPURESET_DELAY
13 13
14# The REAL{BASE,EXT}MEM options 14# The REAL{BASE,EXT}MEM options
15defparam opt_realmem.h REALBASEMEM REALEXTMEM 15defparam opt_realmem.h REALBASEMEM REALEXTMEM
16 16
17# The PHYSMEM_MAX_{SIZE,ADDR} optionms 17# The PHYSMEM_MAX_{SIZE,ADDR} options
18defparam opt_physmem.h PHYSMEM_MAX_ADDR PHYSMEM_MAX_SIZE 18defparam opt_physmem.h PHYSMEM_MAX_ADDR PHYSMEM_MAX_SIZE
19 19
20# Enable GCC spectre V2 mitigation options 20# Enable GCC spectre V2 mitigation options
21defflag opt_spectre.h SPECTRE_V2_GCC_MITIGATION 21defflag opt_spectre.h SPECTRE_V2_GCC_MITIGATION
22 22
23# Enable kernel self-relocation at bootstrap 23# Enable kernel self-relocation at bootstrap
24defflag opt_selfreloc.h SELFRELOC 24defflag opt_selfreloc.h SELFRELOC
25 25
26# 26#
27# XXX these are just here at the moment so that we can share files 27# XXX these are just here at the moment so that we can share files
28# with the i386 (they include the opt_*.h for these) 28# with the i386 (they include the opt_*.h for these)
29# 29#
30 30
31defflag USER_LDT 31defflag USER_LDT
32defflag eisa.h EISA 32defflag eisa.h EISA
33 33
34# Start code 34# Start code
35file arch/amd64/amd64/locore.S machdep 35file arch/amd64/amd64/locore.S machdep
36file arch/amd64/amd64/vector.S machdep 36file arch/amd64/amd64/vector.S machdep
37file arch/amd64/amd64/copy.S machdep 37file arch/amd64/amd64/copy.S machdep
38file arch/amd64/amd64/spl.S machdep 38file arch/amd64/amd64/spl.S machdep
39 39
40file arch/amd64/amd64/amd64_trap.S machdep 40file arch/amd64/amd64/amd64_trap.S machdep
41file arch/amd64/amd64/autoconf.c machdep & !xenpv 41file arch/amd64/amd64/autoconf.c machdep & !xenpv
42file arch/amd64/amd64/busfunc.S machdep 42file arch/amd64/amd64/busfunc.S machdep
43file arch/amd64/amd64/cpu_in_cksum.S (inet | inet6) & cpu_in_cksum 43file arch/amd64/amd64/cpu_in_cksum.S (inet | inet6) & cpu_in_cksum
44file arch/amd64/amd64/cpufunc.S machdep 44file arch/amd64/amd64/cpufunc.S machdep
45file arch/amd64/amd64/db_disasm.c ddb 45file arch/amd64/amd64/db_disasm.c ddb
46file arch/amd64/amd64/db_interface.c ddb 46file arch/amd64/amd64/db_interface.c ddb
47file arch/amd64/amd64/db_machdep.c ddb 47file arch/amd64/amd64/db_machdep.c ddb
48file arch/amd64/amd64/kobj_machdep.c modular 48file arch/amd64/amd64/kobj_machdep.c modular
49file kern/subr_disk_mbr.c disk 49file kern/subr_disk_mbr.c disk
50file arch/amd64/amd64/gdt.c machdep 50file arch/amd64/amd64/gdt.c machdep
51file arch/amd64/amd64/machdep.c machdep 51file arch/amd64/amd64/machdep.c machdep
52file arch/amd64/amd64/prekern.c kaslr 52file arch/amd64/amd64/prekern.c kaslr
53file arch/amd64/amd64/process_machdep.c machdep 53file arch/amd64/amd64/process_machdep.c machdep
54file arch/amd64/amd64/trap.c machdep 54file arch/amd64/amd64/trap.c machdep
55file arch/x86/x86/fpu.c machdep 55file arch/x86/x86/fpu.c machdep
56file arch/x86/x86/dbregs.c machdep 56file arch/x86/x86/dbregs.c machdep
57file arch/x86/x86/convert_xmm_s87.c machdep 57file arch/x86/x86/convert_xmm_s87.c machdep
58file arch/x86/x86/spectre.c machdep & !xenpv 58file arch/x86/x86/spectre.c machdep & !xenpv
59file arch/amd64/amd64/lock_stubs.S machdep 59file arch/amd64/amd64/lock_stubs.S machdep
60file dev/cons.c machdep 60file dev/cons.c machdep
61 61
62file arch/amd64/amd64/mptramp.S multiprocessor & !xenpv 62file arch/amd64/amd64/mptramp.S multiprocessor & !xenpv
63 63
64# 64#
65# Stack-less Just-In-Time compiler 65# Stack-less Just-In-Time compiler
66# 66#
67 67
68include "external/bsd/sljit/conf/files.sljit" 68include "external/bsd/sljit/conf/files.sljit"
69 69
70# 70#
71# Machine-independent SCSI drivers 71# Machine-independent SCSI drivers
72# 72#
73 73
74include "dev/scsipi/files.scsipi" 74include "dev/scsipi/files.scsipi"
75 75
76# 76#
77# Machine-independent ATA drivers 77# Machine-independent ATA drivers
78# 78#
79 79
80include "dev/ata/files.ata" 80include "dev/ata/files.ata"
81 81
82# Memory Disk for install floppy 82# Memory Disk for install floppy
83file dev/md_root.c memory_disk_hooks 83file dev/md_root.c memory_disk_hooks
84 84
85# 85#
86# Machine-independent I2O drivers 86# Machine-independent I2O drivers
87# 87#
88 88
89include "dev/i2o/files.i2o" 89include "dev/i2o/files.i2o"
90 90
91# 91#
92# System bus types 92# System bus types
93# 93#
94 94
95# XXX BIOS32 only if something that uses it is configured! 95# XXX BIOS32 only if something that uses it is configured!
96device mainbus: isabus, pcibus, bios32, acpibus, cpubus, ioapicbus, 96device mainbus: isabus, pcibus, bios32, acpibus, cpubus, ioapicbus,
97 ipmibus, hypervisorbus 97 ipmibus, hypervisorbus
98attach mainbus at root 98attach mainbus at root
99file arch/amd64/amd64/amd64_mainbus.c mainbus & !xenpv 99file arch/amd64/amd64/amd64_mainbus.c mainbus & !xenpv
100file arch/x86/x86/mainbus.c mainbus 100file arch/x86/x86/mainbus.c mainbus
101 101
102# 102#
103# PCI-only drivers 103# PCI-only drivers
104# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches 104# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches
105# XXX devices to 'pci'. 105# XXX devices to 'pci'.
106# 106#
107 107
108include "dev/pci/files.pci" 108include "dev/pci/files.pci"
109defparam PCI_CONF_MODE 109defparam PCI_CONF_MODE
110include "dev/pci/files.agp" 110include "dev/pci/files.agp"
111 111
112# x86 specific PCI hardware 112# x86 specific PCI hardware
113include "arch/x86/pci/files.pci" 113include "arch/x86/pci/files.pci"
114 114
115# 115#
116# ISA or ISA+PCI drivers 116# ISA or ISA+PCI drivers
117# 117#
118 118
119include "dev/isa/files.isa" 119include "dev/isa/files.isa"
120 120
121# attribute used to represent the "keyboard controller" 121# attribute used to represent the "keyboard controller"
122# XXX should be a real device 122# XXX should be a real device
123define pckbcport { [irq = -1], [port = -1] } 123define pckbcport { [irq = -1], [port = -1] }
124 124
125include "dev/pckbport/files.pckbport" 125include "dev/pckbport/files.pckbport"
126 126
127device sysbeep 127device sysbeep
128attach sysbeep at pcppi 128attach sysbeep at pcppi
129 129
130# Floppy disk controller 130# Floppy disk controller
131device fdc {drive = -1}: isadma 131device fdc {drive = -1}: isadma
132file dev/isa/fd.c fdc needs-flag 132file dev/isa/fd.c fdc needs-flag
133 133
134attach fdc at isa with fdc_isa 134attach fdc at isa with fdc_isa
135file dev/isa/fdc_isa.c fdc_isa 135file dev/isa/fdc_isa.c fdc_isa
136 136
137device fd: disk 137device fd: disk
138attach fd at fdc 138attach fd at fdc
139 139
140# 140#
141# Compatibility modules 141# Compatibility modules
142# 142#
143# Binary compatibility with previous NetBSD releases (COMPAT_XX) 143# Binary compatibility with previous NetBSD releases (COMPAT_XX)
144file arch/amd64/amd64/compat_13_machdep.c compat_13 144file arch/amd64/amd64/compat_13_machdep.c compat_13
145file arch/amd64/amd64/compat_16_machdep.c compat_16 145file arch/amd64/amd64/compat_16_machdep.c compat_16
146 146
147# NetBSD/i386 32-bit binary compatibility (COMPAT_NETBSD32) 147# NetBSD/i386 32-bit binary compatibility (COMPAT_NETBSD32)
148include "compat/netbsd32/files.netbsd32" 148include "compat/netbsd32/files.netbsd32"
149file arch/amd64/amd64/netbsd32_machdep.c compat_netbsd32 149file arch/amd64/amd64/netbsd32_machdep.c compat_netbsd32
150file arch/amd64/amd64/netbsd32_machdep_13.c compat_netbsd32 & compat_13 150file arch/amd64/amd64/netbsd32_machdep_13.c compat_netbsd32 & compat_13
151file arch/amd64/amd64/netbsd32_machdep_16.c compat_netbsd32 & compat_16 151file arch/amd64/amd64/netbsd32_machdep_16.c compat_netbsd32 & compat_16
152file arch/amd64/amd64/netbsd32_sigcode.S compat_netbsd32 & compat_16 152file arch/amd64/amd64/netbsd32_sigcode.S compat_netbsd32 & compat_16
153file arch/amd64/amd64/netbsd32_syscall.c compat_netbsd32 153file arch/amd64/amd64/netbsd32_syscall.c compat_netbsd32
154 154
155# Linux compatibility (COMPAT_LINUX) 155# Linux compatibility (COMPAT_LINUX)
156include "compat/linux/files.linux" 156include "compat/linux/files.linux"
157include "compat/linux/arch/amd64/files.linux_amd64" 157include "compat/linux/arch/amd64/files.linux_amd64"
158file arch/amd64/amd64/linux_sigcode.S compat_linux 158file arch/amd64/amd64/linux_sigcode.S compat_linux
159file arch/amd64/amd64/linux_syscall.c compat_linux 159file arch/amd64/amd64/linux_syscall.c compat_linux
160file arch/x86/x86/linux_trap.c compat_linux 160file arch/x86/x86/linux_trap.c compat_linux
161 161
162# Linux 32 bit compatibility (COMPAT_LINUX32) 162# Linux 32 bit compatibility (COMPAT_LINUX32)
163include "compat/linux32/files.linux32" 163include "compat/linux32/files.linux32"
164include "compat/linux32/arch/amd64/files.linux32_amd64" 164include "compat/linux32/arch/amd64/files.linux32_amd64"
165file arch/amd64/amd64/linux32_sigcode.S compat_linux32 165file arch/amd64/amd64/linux32_sigcode.S compat_linux32
166file arch/amd64/amd64/linux32_syscall.c compat_linux32 166file arch/amd64/amd64/linux32_syscall.c compat_linux32
167 167
168# OSS audio driver compatibility 168# OSS audio driver compatibility
169include "compat/ossaudio/files.ossaudio" 169include "compat/ossaudio/files.ossaudio"
170 170
171# 171#
172# CARDBUS 172# CARDBUS
173# 173#
174include "dev/cardbus/files.cardbus" 174include "dev/cardbus/files.cardbus"
175file arch/amd64/amd64/rbus_machdep.c cardbus 175file arch/amd64/amd64/rbus_machdep.c cardbus
176 176
177# this wants to be probed as late as possible. 177# this wants to be probed as late as possible.
178# 178#
179# Machine-independent PCMCIA drivers 179# Machine-independent PCMCIA drivers
180# 180#
181include "dev/pcmcia/files.pcmcia" 181include "dev/pcmcia/files.pcmcia"
182 182
183include "dev/usb/files.usb" 183include "dev/usb/files.usb"
184 184
185include "dev/bluetooth/files.bluetooth" 185include "dev/bluetooth/files.bluetooth"
186 186
187include "dev/sdmmc/files.sdmmc" 187include "dev/sdmmc/files.sdmmc"
188 188
189include "dev/ieee1394/files.ieee1394" 189include "dev/ieee1394/files.ieee1394"
190include "dev/apm/files.apm" 190include "dev/apm/files.apm"
191include "dev/acpi/files.acpi" 191include "dev/acpi/files.acpi"
192file arch/amd64/acpi/acpi_wakeup_low.S acpi & !xenpv 192file arch/amd64/acpi/acpi_wakeup_low.S acpi & !xenpv
193 193
194# Microsoft Hyper-V 194# Microsoft Hyper-V
195include "dev/hyperv/files.hyperv" 195include "dev/hyperv/files.hyperv"
196 196
197attach vmbus at acpinodebus with vmbus_acpi 197attach vmbus at acpinodebus with vmbus_acpi
198file dev/acpi/vmbus_acpi.c vmbus_acpi 198file dev/acpi/vmbus_acpi.c vmbus_acpi
199 199
200# VMEbus support 200# VMEbus support
201include "dev/vme/files.vme" 201include "dev/vme/files.vme"
202 202
203include "arch/amd64/conf/majors.amd64" 203include "arch/amd64/conf/majors.amd64"

cvs diff -r1.407 -r1.408 src/sys/arch/i386/conf/files.i386 (switch to unified diff)

--- src/sys/arch/i386/conf/files.i386 2020/10/21 13:31:51 1.407
+++ src/sys/arch/i386/conf/files.i386 2024/02/23 22:10:39 1.408
@@ -1,424 +1,424 @@ @@ -1,424 +1,424 @@
1# $NetBSD: files.i386,v 1.407 2020/10/21 13:31:51 christos Exp $ 1# $NetBSD: files.i386,v 1.408 2024/02/23 22:10:39 andvar Exp $
2# 2#
3# new style config file for i386 architecture 3# new style config file for i386 architecture
4# 4#
5 5
6# maxpartitions must be first item in files.${ARCH}.newconf 6# maxpartitions must be first item in files.${ARCH}.newconf
7maxpartitions 8 7maxpartitions 8
8 8
9maxusers 2 16 128 9maxusers 2 16 128
10 10
11defparam opt_kernbase.h KERNBASE 11defparam opt_kernbase.h KERNBASE
12 12
13# delay before cpu_reset() for reboot. 13# delay before cpu_reset() for reboot.
14defparam CPURESET_DELAY 14defparam CPURESET_DELAY
15 15
16# Obsolete Xbox support 16# Obsolete Xbox support
17obsolete defflag XBOX 17obsolete defflag XBOX
18 18
19# User-settable LDT (used by WINE) 19# User-settable LDT (used by WINE)
20defflag USER_LDT 20defflag USER_LDT
21 21
22# X server support in console drivers 22# X server support in console drivers
23defflag opt_xserver.h XSERVER XSERVER_DDB 23defflag opt_xserver.h XSERVER XSERVER_DDB
24 24
25# The REAL{BASE,EXT}MEM options 25# The REAL{BASE,EXT}MEM options
26defparam opt_realmem.h REALBASEMEM REALEXTMEM 26defparam opt_realmem.h REALBASEMEM REALEXTMEM
27 27
28# The PHYSMEM_MAX_{SIZE,ADDR} optionms 28# The PHYSMEM_MAX_{SIZE,ADDR} options
29defparam opt_physmem.h PHYSMEM_MAX_ADDR PHYSMEM_MAX_SIZE 29defparam opt_physmem.h PHYSMEM_MAX_ADDR PHYSMEM_MAX_SIZE
30 30
31# PCI BIOS options 31# PCI BIOS options
32defflag opt_pcibios.h PCIBIOS PCIBIOSVERBOSE 32defflag opt_pcibios.h PCIBIOS PCIBIOSVERBOSE
33 PCIBIOS_INTR_GUESS PCIINTR_DEBUG 33 PCIBIOS_INTR_GUESS PCIINTR_DEBUG
34defparam opt_pcibios.h PCIBIOS_IRQS_HINT 34defparam opt_pcibios.h PCIBIOS_IRQS_HINT
35 35
36# splraise()/spllower() debug 36# splraise()/spllower() debug
37defflag opt_spldebug.h SPLDEBUG 37defflag opt_spldebug.h SPLDEBUG
38 38
39# Enable GCC spectre V2 mitigation options 39# Enable GCC spectre V2 mitigation options
40defflag opt_spectre.h SPECTRE_V2_GCC_MITIGATION 40defflag opt_spectre.h SPECTRE_V2_GCC_MITIGATION
41 41
42# Beep on halt 42# Beep on halt
43defflag opt_beep.h BEEP_ONHALT 43defflag opt_beep.h BEEP_ONHALT
44defparam opt_beep.h BEEP_ONHALT_COUNT=3 44defparam opt_beep.h BEEP_ONHALT_COUNT=3
45defparam opt_beep.h BEEP_ONHALT_PITCH=1500 45defparam opt_beep.h BEEP_ONHALT_PITCH=1500
46defparam opt_beep.h BEEP_ONHALT_PERIOD=250 46defparam opt_beep.h BEEP_ONHALT_PERIOD=250
47 47
48# Multiboot support 48# Multiboot support
49defflag opt_multiboot.h MULTIBOOT 49defflag opt_multiboot.h MULTIBOOT
50obsolete defparam MULTIBOOT_SYMTAB_SPACE 50obsolete defparam MULTIBOOT_SYMTAB_SPACE
51file arch/i386/i386/multiboot.c multiboot 51file arch/i386/i386/multiboot.c multiboot
52file arch/x86/x86/multiboot2.c multiboot 52file arch/x86/x86/multiboot2.c multiboot
53 53
54file arch/i386/i386/autoconf.c !xenpv 54file arch/i386/i386/autoconf.c !xenpv
55file arch/i386/i386/aout_machdep.c exec_aout 55file arch/i386/i386/aout_machdep.c exec_aout
56file arch/i386/i386/busfunc.S 56file arch/i386/i386/busfunc.S
57file arch/i386/i386/cpufunc.S 57file arch/i386/i386/cpufunc.S
58file arch/i386/i386/cpu_in_cksum.S (inet | inet6) & cpu_in_cksum 58file arch/i386/i386/cpu_in_cksum.S (inet | inet6) & cpu_in_cksum
59file arch/i386/i386/db_disasm.c ddb 59file arch/i386/i386/db_disasm.c ddb
60file arch/i386/i386/db_interface.c ddb 60file arch/i386/i386/db_interface.c ddb
61file arch/i386/i386/db_machdep.c ddb 61file arch/i386/i386/db_machdep.c ddb
62file arch/i386/i386/dumpsys.c 62file arch/i386/i386/dumpsys.c
63file kern/subr_disk_mbr.c disk 63file kern/subr_disk_mbr.c disk
64file kern/subr_spldebug.c spldebug 64file kern/subr_spldebug.c spldebug
65file arch/i386/i386/gdt.c 65file arch/i386/i386/gdt.c
66file arch/i386/i386/i386func.S !xenpv 66file arch/i386/i386/i386func.S !xenpv
67file arch/i386/i386/kobj_machdep.c modular 67file arch/i386/i386/kobj_machdep.c modular
68file arch/i386/i386/machdep.c 68file arch/i386/i386/machdep.c
69file arch/i386/i386/longrun.c 69file arch/i386/i386/longrun.c
70file arch/i386/i386/mtrr_k6.c mtrr 70file arch/i386/i386/mtrr_k6.c mtrr
71file arch/i386/i386/process_machdep.c 71file arch/i386/i386/process_machdep.c
72file arch/x86/x86/convert_xmm_s87.c 72file arch/x86/x86/convert_xmm_s87.c
73file arch/i386/i386/trap.c 73file arch/i386/i386/trap.c
74file dev/cons.c 74file dev/cons.c
75file arch/x86/x86/fpu.c 75file arch/x86/x86/fpu.c
76file arch/x86/x86/dbregs.c 76file arch/x86/x86/dbregs.c
77file arch/x86/x86/spectre.c 77file arch/x86/x86/spectre.c
78 78
79file arch/i386/i386/mptramp.S multiprocessor & ! xenpv 79file arch/i386/i386/mptramp.S multiprocessor & ! xenpv
80 80
81file crypto/des/arch/i386/des_enc.S des 81file crypto/des/arch/i386/des_enc.S des
82file crypto/des/arch/i386/des_cbc.S des 82file crypto/des/arch/i386/des_cbc.S des
83 83
84file crypto/blowfish/arch/i386/bf_enc.S blowfish 84file crypto/blowfish/arch/i386/bf_enc.S blowfish
85file crypto/blowfish/arch/i386/bf_cbc.S blowfish & !i386_cpu 85file crypto/blowfish/arch/i386/bf_cbc.S blowfish & !i386_cpu
86 86
87# 87#
88# Stack-less Just-In-Time compiler 88# Stack-less Just-In-Time compiler
89# 89#
90 90
91include "external/bsd/sljit/conf/files.sljit" 91include "external/bsd/sljit/conf/files.sljit"
92 92
93# 93#
94# Machine-independent SCSI drivers 94# Machine-independent SCSI drivers
95# 95#
96 96
97include "dev/scsipi/files.scsipi" 97include "dev/scsipi/files.scsipi"
98 98
99# 99#
100# Machine-independent ATA drivers 100# Machine-independent ATA drivers
101# 101#
102 102
103include "dev/ata/files.ata" 103include "dev/ata/files.ata"
104 104
105# Memory Disk for install floppy 105# Memory Disk for install floppy
106file dev/md_root.c memory_disk_hooks & md 106file dev/md_root.c memory_disk_hooks & md
107 107
108# 108#
109# Machine-independent I2O drivers 109# Machine-independent I2O drivers
110# 110#
111 111
112include "dev/i2o/files.i2o" 112include "dev/i2o/files.i2o"
113 113
114# attribute used to bring in BIOS trampoline code for real-mode probing 114# attribute used to bring in BIOS trampoline code for real-mode probing
115# of certain devices/BIOS features 115# of certain devices/BIOS features
116define bioscall 116define bioscall
117file arch/i386/i386/bioscall.S bioscall needs-flag 117file arch/i386/i386/bioscall.S bioscall needs-flag
118 118
119# i386 specific mainbus attributes 119# i386 specific mainbus attributes
120define apmbus {} 120define apmbus {}
121define pnpbiosbus {} 121define pnpbiosbus {}
122 122
123# 123#
124# System bus types 124# System bus types
125# 125#
126 126
127# XXX BIOS32 only if something that uses it is configured! 127# XXX BIOS32 only if something that uses it is configured!
128device mainbus: isabus, eisabus, mcabus, pcibus, bios32, acpibus, 128device mainbus: isabus, eisabus, mcabus, pcibus, bios32, acpibus,
129 cpubus, ioapicbus, apmbus, pnpbiosbus, ipmibus, 129 cpubus, ioapicbus, apmbus, pnpbiosbus, ipmibus,
130 bioscall, hypervisorbus 130 bioscall, hypervisorbus
131attach mainbus at root 131attach mainbus at root
132file arch/i386/i386/i386_mainbus.c mainbus & !xenpv 132file arch/i386/i386/i386_mainbus.c mainbus & !xenpv
133file arch/x86/x86/mainbus.c mainbus 133file arch/x86/x86/mainbus.c mainbus
134 134
135# 135#
136# PCI-only drivers 136# PCI-only drivers
137# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches 137# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches
138# XXX devices to 'pci'. 138# XXX devices to 'pci'.
139# 139#
140include "dev/pci/files.pci" 140include "dev/pci/files.pci"
141include "dev/pci/files.agp" 141include "dev/pci/files.agp"
142file arch/i386/pci/pcibios.c pcibios 142file arch/i386/pci/pcibios.c pcibios
143file arch/i386/pci/pci_intr_fixup.c pcibios & pci_intr_fixup 143file arch/i386/pci/pci_intr_fixup.c pcibios & pci_intr_fixup
144file arch/i386/pci/piix.c pcibios & pci_intr_fixup 144file arch/i386/pci/piix.c pcibios & pci_intr_fixup
145file arch/i386/pci/opti82c558.c pcibios & pci_intr_fixup 145file arch/i386/pci/opti82c558.c pcibios & pci_intr_fixup
146file arch/i386/pci/opti82c700.c pcibios & pci_intr_fixup 146file arch/i386/pci/opti82c700.c pcibios & pci_intr_fixup
147file arch/i386/pci/sis85c503.c pcibios & pci_intr_fixup 147file arch/i386/pci/sis85c503.c pcibios & pci_intr_fixup
148file arch/i386/pci/via82c586.c pcibios & pci_intr_fixup 148file arch/i386/pci/via82c586.c pcibios & pci_intr_fixup
149file arch/i386/pci/via8231.c pcibios & pci_intr_fixup 149file arch/i386/pci/via8231.c pcibios & pci_intr_fixup
150file arch/i386/pci/amd756.c pcibios & pci_intr_fixup 150file arch/i386/pci/amd756.c pcibios & pci_intr_fixup
151file arch/i386/pci/ali1543.c pcibios & pci_intr_fixup 151file arch/i386/pci/ali1543.c pcibios & pci_intr_fixup
152defparam PCI_CONF_MODE 152defparam PCI_CONF_MODE
153file arch/i386/pci/pcic_pci_machdep.c pcic_pci 153file arch/i386/pci/pcic_pci_machdep.c pcic_pci
154 154
155# x86 specific PCI hardware 155# x86 specific PCI hardware
156include "arch/x86/pci/files.pci" 156include "arch/x86/pci/files.pci"
157 157
158# AMD Elan SC520 System Controller (PCI-Host bridge) 158# AMD Elan SC520 System Controller (PCI-Host bridge)
159define elanparbus { } 159define elanparbus { }
160define elanpexbus { } 160define elanpexbus { }
161device elansc: sysmon_wdog, gpiobus, elanparbus, elanpexbus, pcibus 161device elansc: sysmon_wdog, gpiobus, elanparbus, elanpexbus, pcibus
162attach elansc at pcibus 162attach elansc at pcibus
163 163
164file arch/i386/pci/elan520.c elansc 164file arch/i386/pci/elan520.c elansc
165 165
166device elanpar 166device elanpar
167attach elanpar at elanparbus 167attach elanpar at elanparbus
168 168
169device elanpex 169device elanpex
170attach elanpex at elanpexbus 170attach elanpex at elanpexbus
171 171
172# AMD Geode CS5535 Companion IDE controller 172# AMD Geode CS5535 Companion IDE controller
173device gcscide: ata, ata_dma, ata_udma, pciide_common, wdc_common 173device gcscide: ata, ata_dma, ata_udma, pciide_common, wdc_common
174attach gcscide at pci 174attach gcscide at pci
175file arch/i386/pci/gcscide.c gcscide 175file arch/i386/pci/gcscide.c gcscide
176 176
177# AMD Geode CS5536 Companion EHCI 177# AMD Geode CS5536 Companion EHCI
178device gcscehci: usbus 178device gcscehci: usbus
179attach gcscehci at pci 179attach gcscehci at pci
180file arch/i386/pci/gcscehci.c gcscehci 180file arch/i386/pci/gcscehci.c gcscehci
181 181
182# AMD Geode SC1100 GCB area 182# AMD Geode SC1100 GCB area
183device geodegcb {} 183device geodegcb {}
184attach geodegcb at pci 184attach geodegcb at pci
185file arch/i386/pci/geode.c geodegcb 185file arch/i386/pci/geode.c geodegcb
186 186
187# AMD Geode SC1100 Watchdog Timer 187# AMD Geode SC1100 Watchdog Timer
188device geodewdog: sysmon_wdog, geodegcb 188device geodewdog: sysmon_wdog, geodegcb
189attach geodewdog at geodegcb 189attach geodewdog at geodegcb
190file arch/i386/pci/geodewdg.c geodewdog 190file arch/i386/pci/geodewdg.c geodewdog
191 191
192# AMD Geode SC1100 high resolution counter 192# AMD Geode SC1100 high resolution counter
193device geodecntr: geodegcb 193device geodecntr: geodegcb
194attach geodecntr at geodegcb 194attach geodecntr at geodegcb
195file arch/i386/pci/geodecntr.c geodecntr 195file arch/i386/pci/geodecntr.c geodecntr
196 196
197# PCI-EISA bridges 197# PCI-EISA bridges
198device pceb: eisabus, isabus 198device pceb: eisabus, isabus
199attach pceb at pci 199attach pceb at pci
200file arch/i386/pci/pceb.c pceb 200file arch/i386/pci/pceb.c pceb
201 201
202# PCI-ISA bridges 202# PCI-ISA bridges
203device gscpcib: isabus, gpiobus 203device gscpcib: isabus, gpiobus
204attach gscpcib at pci 204attach gscpcib at pci
205file arch/i386/pci/gscpcib.c gscpcib 205file arch/i386/pci/gscpcib.c gscpcib
206 206
207# AMD Geode CS5535/CS5536 PCI-ISA bridge 207# AMD Geode CS5535/CS5536 PCI-ISA bridge
208device gcscpcib: isabus, sysmon_wdog, gpiobus 208device gcscpcib: isabus, sysmon_wdog, gpiobus
209attach gcscpcib at pci with gcscpcib_pci 209attach gcscpcib at pci with gcscpcib_pci
210file arch/i386/pci/gcscpcib_pci.c gcscpcib_pci 210file arch/i386/pci/gcscpcib_pci.c gcscpcib_pci
211file dev/ic/gcscpcib.c gcscpcib 211file dev/ic/gcscpcib.c gcscpcib
212 212
213device piixpcib: isabus, bioscall 213device piixpcib: isabus, bioscall
214attach piixpcib at pci 214attach piixpcib at pci
215file arch/i386/pci/piixpcib.c piixpcib 215file arch/i386/pci/piixpcib.c piixpcib
216 216
217device viapcib: isabus, i2cbus 217device viapcib: isabus, i2cbus
218attach viapcib at pci 218attach viapcib at pci
219file arch/i386/pci/viapcib.c viapcib 219file arch/i386/pci/viapcib.c viapcib
220 220
221# PCI-MCA bridges 221# PCI-MCA bridges
222device pcmb: mcabus 222device pcmb: mcabus
223attach pcmb at pci 223attach pcmb at pci
224file arch/i386/pci/pcmb.c pcmb 224file arch/i386/pci/pcmb.c pcmb
225 225
226device p64h2apic 226device p64h2apic
227attach p64h2apic at pci 227attach p64h2apic at pci
228file arch/i386/pci/p64h2apic.c p64h2apic 228file arch/i386/pci/p64h2apic.c p64h2apic
229 229
230 230
231# 231#
232# ISA and mixed ISA+EISA or ISA+PCI drivers 232# ISA and mixed ISA+EISA or ISA+PCI drivers
233# 233#
234 234
235include "dev/isa/files.isa" 235include "dev/isa/files.isa"
236 236
237# Protech PS3100 cash drawer 237# Protech PS3100 cash drawer
238device ptcd: gpiobus 238device ptcd: gpiobus
239attach ptcd at isa 239attach ptcd at isa
240file dev/isa/ptcd.c ptcd 240file dev/isa/ptcd.c ptcd
241 241
242# PC Mice: Logitech-style and Microsoft-style 242# PC Mice: Logitech-style and Microsoft-style
243device lms: wsmousedev 243device lms: wsmousedev
244attach lms at isa 244attach lms at isa
245file arch/i386/isa/lms.c lms 245file arch/i386/isa/lms.c lms
246device mms: wsmousedev 246device mms: wsmousedev
247attach mms at isa 247attach mms at isa
248file arch/i386/isa/mms.c mms 248file arch/i386/isa/mms.c mms
249 249
250include "dev/pckbport/files.pckbport" 250include "dev/pckbport/files.pckbport"
251 251
252device sysbeep 252device sysbeep
253attach sysbeep at pcppi 253attach sysbeep at pcppi
254 254
255# Floppy disk controller 255# Floppy disk controller
256device fdc {drive = -1}: isadma 256device fdc {drive = -1}: isadma
257file dev/isa/fd.c fdc needs-flag 257file dev/isa/fd.c fdc needs-flag
258 258
259attach fdc at isa with fdc_isa 259attach fdc at isa with fdc_isa
260file dev/isa/fdc_isa.c fdc_isa 260file dev/isa/fdc_isa.c fdc_isa
261 261
262device fd: disk 262device fd: disk
263attach fd at fdc 263attach fd at fdc
264 264
265# Adaptec AHA-284x VL SCSI controllers 265# Adaptec AHA-284x VL SCSI controllers
266# device declaration in sys/conf/files 266# device declaration in sys/conf/files
267attach ahc at isa with ahc_isa: ahc_aic77xx, smc93cx6 267attach ahc at isa with ahc_isa: ahc_aic77xx, smc93cx6
268file arch/i386/isa/ahc_isa.c ahc_isa 268file arch/i386/isa/ahc_isa.c ahc_isa
269 269
270# 270#
271# EISA-only drivers 271# EISA-only drivers
272# 272#
273 273
274include "dev/eisa/files.eisa" 274include "dev/eisa/files.eisa"
275file arch/i386/eisa/eisa_machdep.c eisa 275file arch/i386/eisa/eisa_machdep.c eisa
276 276
277# 277#
278# MCA-only drivers 278# MCA-only drivers
279# 279#
280 280
281device mca {[slot = -1]} : bioscall 281device mca {[slot = -1]} : bioscall
282include "dev/mca/files.mca" 282include "dev/mca/files.mca"
283file arch/i386/mca/mca_machdep.c mca 283file arch/i386/mca/mca_machdep.c mca
284 284
285# ISA Plug 'n Play devices 285# ISA Plug 'n Play devices
286file arch/i386/isa/isapnp_machdep.c isapnp 286file arch/i386/isa/isapnp_machdep.c isapnp
287 287
288# 288#
289# VME support 289# VME support
290# 290#
291include "dev/vme/files.vme" 291include "dev/vme/files.vme"
292 292
293# 293#
294# GPIB support 294# GPIB support
295# 295#
296include "dev/gpib/files.gpib" 296include "dev/gpib/files.gpib"
297 297
298# 298#
299# CMOS RAM 299# CMOS RAM
300# 300#
301defpseudo cmos 301defpseudo cmos
302file arch/i386/isa/cmos.c cmos needs-flag 302file arch/i386/isa/cmos.c cmos needs-flag
303 303
304# 304#
305# Other mainbus-attached devices 305# Other mainbus-attached devices
306# 306#
307 307
308include "dev/apm/files.apm" 308include "dev/apm/files.apm"
309 309
310# 310#
311# Compatibility modules 311# Compatibility modules
312# 312#
313 313
314# Binary compatibility with previous NetBSD releases (COMPAT_XX) 314# Binary compatibility with previous NetBSD releases (COMPAT_XX)
315file arch/i386/i386/compat_13_machdep.c compat_13 315file arch/i386/i386/compat_13_machdep.c compat_13
316file arch/i386/i386/compat_16_machdep.c compat_16 316file arch/i386/i386/compat_16_machdep.c compat_16
317 317
318# Linux binary compatibility (COMPAT_LINUX) 318# Linux binary compatibility (COMPAT_LINUX)
319include "compat/linux/files.linux" 319include "compat/linux/files.linux"
320include "compat/linux/arch/i386/files.linux_i386" 320include "compat/linux/arch/i386/files.linux_i386"
321file arch/i386/i386/linux_sigcode.S compat_linux 321file arch/i386/i386/linux_sigcode.S compat_linux
322file arch/i386/i386/linux_syscall.c compat_linux 322file arch/i386/i386/linux_syscall.c compat_linux
323file arch/x86/x86/linux_trap.c compat_linux 323file arch/x86/x86/linux_trap.c compat_linux
324 324
325# FreeBSD binary compatibility (COMPAT_FREEBSD) 325# FreeBSD binary compatibility (COMPAT_FREEBSD)
326include "compat/freebsd/files.freebsd" 326include "compat/freebsd/files.freebsd"
327 327
328# OSS audio driver compatibility 328# OSS audio driver compatibility
329include "compat/ossaudio/files.ossaudio" 329include "compat/ossaudio/files.ossaudio"
330 330
331# 331#
332# CARDBUS 332# CARDBUS
333# 333#
334include "dev/cardbus/files.cardbus" 334include "dev/cardbus/files.cardbus"
335file arch/i386/i386/rbus_machdep.c cardbus 335file arch/i386/i386/rbus_machdep.c cardbus
336 336
337# XXXX pcic here because it needs to be late. The catch: pcic needs 337# XXXX pcic here because it needs to be late. The catch: pcic needs
338# to be late, so devices which attach to it are attached late. But it 338# to be late, so devices which attach to it are attached late. But it
339# needs to be before its isa and pci attachments. This answer is 339# needs to be before its isa and pci attachments. This answer is
340# non-optimal, but I don't have a better answer right now. 340# non-optimal, but I don't have a better answer right now.
341 341
342# PCIC pcmcia controller 342# PCIC pcmcia controller
343# XXX this needs to be done very late, so it's done here. This feels 343# XXX this needs to be done very late, so it's done here. This feels
344# like a kludge, but it might be for the best. 344# like a kludge, but it might be for the best.
345 345
346defparam PCIC_ISA_ALLOC_IOBASE 346defparam PCIC_ISA_ALLOC_IOBASE
347defparam PCIC_ISA_ALLOC_IOSIZE 347defparam PCIC_ISA_ALLOC_IOSIZE
348defparam PCIC_ISA_INTR_ALLOC_MASK 348defparam PCIC_ISA_INTR_ALLOC_MASK
349 349
350device pcic: pcmciabus 350device pcic: pcmciabus
351file dev/ic/i82365.c pcic 351file dev/ic/i82365.c pcic
352 352
353# PCIC pcmcia controller on ISA bus. 353# PCIC pcmcia controller on ISA bus.
354attach pcic at isa with pcic_isa 354attach pcic at isa with pcic_isa
355file dev/isa/i82365_isa.c pcic_isa 355file dev/isa/i82365_isa.c pcic_isa
356 356
357# PCIC pcmcia controller on PCI bus. 357# PCIC pcmcia controller on PCI bus.
358attach pcic at pci with pcic_pci 358attach pcic at pci with pcic_pci
359file dev/pci/i82365_pci.c pcic_pci 359file dev/pci/i82365_pci.c pcic_pci
360 360
361# PCIC pcmcia controller on PnP board 361# PCIC pcmcia controller on PnP board
362attach pcic at isapnp with pcic_isapnp 362attach pcic at isapnp with pcic_isapnp
363file dev/isapnp/i82365_isapnp.c pcic_isapnp 363file dev/isapnp/i82365_isapnp.c pcic_isapnp
364 364
365# Code common to ISA and ISAPnP attachments 365# Code common to ISA and ISAPnP attachments
366file dev/isa/i82365_isasubr.c pcic_isa | pcic_isapnp | pcic_pci 366file dev/isa/i82365_isasubr.c pcic_isa | pcic_isapnp | pcic_pci
367 367
368# XXXX tcic here because it needs to be late. The catch: tcic needs 368# XXXX tcic here because it needs to be late. The catch: tcic needs
369# to be late, so devices which attach to it are attached late. But it 369# to be late, so devices which attach to it are attached late. But it
370# needs to be before its isa and pci attachments. This answer is 370# needs to be before its isa and pci attachments. This answer is
371# non-optimal, but I don't have a better answer right now. 371# non-optimal, but I don't have a better answer right now.
372 372
373# TCIC pcmcia controller 373# TCIC pcmcia controller
374# XXX this needs to be done very late, so it's done here. This feels 374# XXX this needs to be done very late, so it's done here. This feels
375# like a kludge, but it might be for the best. 375# like a kludge, but it might be for the best.
376 376
377defparam TCIC_ISA_ALLOC_IOBASE 377defparam TCIC_ISA_ALLOC_IOBASE
378defparam TCIC_ISA_ALLOC_IOSIZE 378defparam TCIC_ISA_ALLOC_IOSIZE
379defparam TCIC_ISA_INTR_ALLOC_MASK 379defparam TCIC_ISA_INTR_ALLOC_MASK
380 380
381device tcic: pcmciabus 381device tcic: pcmciabus
382file dev/ic/tcic2.c tcic 382file dev/ic/tcic2.c tcic
383 383
384# TCIC pcmcia controller 384# TCIC pcmcia controller
385attach tcic at isa with tcic_isa 385attach tcic at isa with tcic_isa
386file dev/isa/tcic2_isa.c tcic_isa 386file dev/isa/tcic2_isa.c tcic_isa
387 387
388# this wants to be probed as late as possible. 388# this wants to be probed as late as possible.
389# 389#
390# Machine-independent PCMCIA drivers 390# Machine-independent PCMCIA drivers
391# 391#
392include "dev/pcmcia/files.pcmcia" 392include "dev/pcmcia/files.pcmcia"
393 393
394 394
395include "dev/usb/files.usb" 395include "dev/usb/files.usb"
396 396
397include "dev/bluetooth/files.bluetooth" 397include "dev/bluetooth/files.bluetooth"
398 398
399include "dev/sdmmc/files.sdmmc" 399include "dev/sdmmc/files.sdmmc"
400 400
401include "dev/ieee1394/files.ieee1394" 401include "dev/ieee1394/files.ieee1394"
402 402
403include "arch/i386/pnpbios/files.pnpbios" 403include "arch/i386/pnpbios/files.pnpbios"
404 404
405include "dev/acpi/files.acpi" 405include "dev/acpi/files.acpi"
406file arch/i386/acpi/acpi_wakeup_low.S acpi & !xenpv 406file arch/i386/acpi/acpi_wakeup_low.S acpi & !xenpv
407 407
408# Microsoft Hyper-V 408# Microsoft Hyper-V
409include "dev/hyperv/files.hyperv" 409include "dev/hyperv/files.hyperv"
410 410
411attach vmbus at acpinodebus with vmbus_acpi 411attach vmbus at acpinodebus with vmbus_acpi
412file dev/acpi/vmbus_acpi.c vmbus_acpi 412file dev/acpi/vmbus_acpi.c vmbus_acpi
413 413
414# Obsolete vesabios/vesafb flags 414# Obsolete vesabios/vesafb flags
415obsolete defflag opt_vesabios.h VESABIOSVERBOSE 415obsolete defflag opt_vesabios.h VESABIOSVERBOSE
416obsolete defparam opt_vesafb.h VESAFB_WIDTH VESAFB_HEIGHT VESAFB_DEPTH 416obsolete defparam opt_vesafb.h VESAFB_WIDTH VESAFB_HEIGHT VESAFB_DEPTH
417obsolete defflag opt_vesafb.h VESAFB_PM 417obsolete defflag opt_vesafb.h VESAFB_PM
418 418
419# AMD Geode LX Security Block 419# AMD Geode LX Security Block
420device glxsb: opencrypto 420device glxsb: opencrypto
421attach glxsb at pci 421attach glxsb at pci
422file arch/i386/pci/glxsb.c glxsb 422file arch/i386/pci/glxsb.c glxsb
423 423
424include "arch/i386/conf/majors.i386" 424include "arch/i386/conf/majors.i386"

cvs diff -r1.34 -r1.35 src/sys/arch/xen/conf/files.compat (switch to unified diff)

--- src/sys/arch/xen/conf/files.compat 2022/06/23 14:32:16 1.34
+++ src/sys/arch/xen/conf/files.compat 2024/02/23 22:10:39 1.35
@@ -1,48 +1,48 @@ @@ -1,48 +1,48 @@
1# $NetBSD: files.compat,v 1.34 2022/06/23 14:32:16 bouyer Exp $ 1# $NetBSD: files.compat,v 1.35 2024/02/23 22:10:39 andvar Exp $
2# NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp  2# NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp
3 3
4# options for MP configuration through the MP spec 4# options for MP configuration through the MP spec
5#defflag opt_mpbios.h MPBIOS MPVERBOSE MPDEBUG MPBIOS_SCANPCI 5#defflag opt_mpbios.h MPBIOS MPVERBOSE MPDEBUG MPBIOS_SCANPCI
6#defflag opt_mpacpi.h MPACPI MPACPI_SCANPCI 6#defflag opt_mpacpi.h MPACPI MPACPI_SCANPCI
7 7
8# XXX define fake options to make config create the .h files 8# XXX define fake options to make config create the .h files
9defflag lapic.h XXXLAPIC 9defflag lapic.h XXXLAPIC
10defflag apm.h XXXAPM 10defflag apm.h XXXAPM
11defflag eisa.h XXXEISA 11defflag eisa.h XXXEISA
12defflag mca.h XXXMCA 12defflag mca.h XXXMCA
13defflag ega.h XXXEGA 13defflag ega.h XXXEGA
14defflag pcdisplay.h XXXPCDISPLAY 14defflag pcdisplay.h XXXPCDISPLAY
15defflag pc.h XXXPC 15defflag pc.h XXXPC
16defflag pnpbios.h XXXPNPBIOS 16defflag pnpbios.h XXXPNPBIOS
17defflag bioscall.h XXXBIOSCALL 17defflag bioscall.h XXXBIOSCALL
18defflag opt_pcibios.h XXXOPT_PCIBIOS 18defflag opt_pcibios.h XXXOPT_PCIBIOS
19defflag opt_pcifixup.h XXXOPT_PCIFIXUP 19defflag opt_pcifixup.h XXXOPT_PCIFIXUP
20 20
21defflag opt_svs.h XXXSVS 21defflag opt_svs.h XXXSVS
22 22
23# User-settable LDT (used by WINE) 23# User-settable LDT (used by WINE)
24defflag opt_user_ldt.h XXXUSER_LDT 24defflag opt_user_ldt.h XXXUSER_LDT
25 25
26# X server support in console drivers 26# X server support in console drivers
27defflag opt_xserver.h XXXXSERVER XXXXSERVER_DDB 27defflag opt_xserver.h XXXXSERVER XXXXSERVER_DDB
28 28
29# The REAL{BASE,EXT}MEM options 29# The REAL{BASE,EXT}MEM options
30defparam opt_realmem.h XXXREALBASEMEM XXXREALEXTMEM 30defparam opt_realmem.h XXXREALBASEMEM XXXREALEXTMEM
31 31
32# Large page size 32# Large page size
33defflag opt_largepages.h XXXLARGEPAGES 33defflag opt_largepages.h XXXLARGEPAGES
34 34
35#Pentium 4+ Thermal Monitor ODCM (aka On Demand Clock Modulation) 35#Pentium 4+ Thermal Monitor ODCM (aka On Demand Clock Modulation)
36defflag opt_intel_odcm.h XXXINTEL_ONDEMAND_CLOCKMOD 36defflag opt_intel_odcm.h XXXINTEL_ONDEMAND_CLOCKMOD
37 37
38# Intel On Die Temperature sensor 38# Intel On Die Temperature sensor
39defflag opt_intel_coretemp.h XXXINTEL_CORETEMP 39defflag opt_intel_coretemp.h XXXINTEL_CORETEMP
40 40
41# VIA C7 Temperature sensor 41# VIA C7 Temperature sensor
42defflag opt_via_c7temp.h XXXVIA_CORETEMP 42defflag opt_via_c7temp.h XXXVIA_CORETEMP
43 43
44# Multiboot support 44# Multiboot support
45defflag opt_multiboot.h XXXMULTIBOOT 45defflag opt_multiboot.h XXXMULTIBOOT
46 46
47# The PHYSMEM_MAX_{SIZE,ADDR} optionms 47# The PHYSMEM_MAX_{SIZE,ADDR} options
48defparam opt_physmem.h XXXPHYSMEM_MAX_ADDR XXXPHYSMEM_MAX_SIZE 48defparam opt_physmem.h XXXPHYSMEM_MAX_ADDR XXXPHYSMEM_MAX_SIZE