2002-03-10 22:56:37 +03:00
|
|
|
# $NetBSD: GENERIC,v 1.19 2002/03/10 19:56:40 lukem Exp $
|
2000-12-11 21:19:12 +03:00
|
|
|
#
|
2001-12-14 08:34:45 +03:00
|
|
|
# GENERIC machine description file
|
|
|
|
#
|
|
|
|
# This machine description file is used to generate the default NetBSD
|
|
|
|
# kernel. The generic kernel does not include all options, subsystems
|
|
|
|
# and device drivers, but should be useful for most applications.
|
2000-12-11 21:19:12 +03:00
|
|
|
#
|
2001-12-14 08:34:45 +03:00
|
|
|
# The machine description file can be customised for your specific
|
|
|
|
# machine to reduce the kernel size and improve its performance.
|
|
|
|
#
|
|
|
|
# For further information on compiling NetBSD kernels, see the config(8)
|
|
|
|
# man page.
|
|
|
|
#
|
|
|
|
# For further information on hardware support for this architecture, see
|
|
|
|
# the intro(4) man page. For further information about kernel options
|
|
|
|
# for this architecture, see the options(4) man page. For an explanation
|
|
|
|
# of each device driver in this file see the section 4 man page for the
|
|
|
|
# device.
|
2000-12-11 21:19:12 +03:00
|
|
|
|
2001-12-14 08:34:45 +03:00
|
|
|
include "arch/dreamcast/conf/std.dreamcast"
|
2000-12-11 21:19:12 +03:00
|
|
|
|
|
|
|
# Enable the hooks used for initializing the root memory-disk.
|
|
|
|
options MEMORY_DISK_HOOKS
|
|
|
|
options MEMORY_DISK_IS_ROOT # force root on memory disk
|
|
|
|
options MEMORY_DISK_SERVER=0 # no userspace memory disk support
|
2002-03-10 22:56:37 +03:00
|
|
|
options MEMORY_DISK_SIZE=2880 # size of memory disk, in blocks
|
|
|
|
#options MEMORY_DISK_SIZE=6000
|
2000-12-11 21:19:12 +03:00
|
|
|
|
2001-01-16 03:33:50 +03:00
|
|
|
# wscons options
|
|
|
|
options WSEMUL_VT100 # VT100 / VT220 emulation
|
2001-02-01 04:27:59 +03:00
|
|
|
options FONT_BOLD8x16
|
2001-01-16 03:33:50 +03:00
|
|
|
|
2000-12-11 21:19:12 +03:00
|
|
|
maxusers 16 # estimated number of users
|
|
|
|
|
|
|
|
# CPU support
|
|
|
|
options SH7750
|
2001-11-20 15:56:17 +03:00
|
|
|
options SH4
|
|
|
|
options PCLOCK=49900000 # 50MHz
|
|
|
|
#options PCLOCK=50000000 # 50MHz
|
|
|
|
options IOM_ROM_BEGIN=0x00000000
|
|
|
|
options IOM_ROM_SIZE=0x00100000 # 1MB
|
|
|
|
options IOM_RAM_BEGIN=0x8c000000
|
|
|
|
options IOM_RAM_SIZE=0x01000000 # 16MB
|
2000-12-11 21:19:12 +03:00
|
|
|
|
|
|
|
# Standard system options
|
|
|
|
#options UCONSOLE # users can use TIOCCONS (for xconsole)
|
|
|
|
#options INSECURE # disable kernel security levels
|
|
|
|
|
2001-11-20 15:56:17 +03:00
|
|
|
#options RTC_OFFSET=-540
|
2001-02-04 02:24:30 +03:00
|
|
|
options HZ=100 # clock interrupt generates every 1/HZ sec
|
2000-12-11 21:19:12 +03:00
|
|
|
#options NTP # NTP phase/frequency locked loop
|
|
|
|
|
|
|
|
#options KTRACE # system call tracing via ktrace(1)
|
|
|
|
|
2002-01-27 16:23:08 +03:00
|
|
|
#options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
|
|
|
|
|
2000-12-11 21:19:12 +03:00
|
|
|
#options SYSVMSG # System V-like message queues
|
|
|
|
#options SYSVSEM # System V-like semaphores
|
2001-11-20 15:56:17 +03:00
|
|
|
#options SEMMNI=10 # number of semaphore identifiers
|
|
|
|
#options SEMMNS=60 # number of semaphores in system
|
|
|
|
#options SEMUME=10 # max number of undo entries per process
|
|
|
|
#options SEMMNU=30 # number of undo structures in system
|
2000-12-11 21:19:12 +03:00
|
|
|
#options SYSVSHM # System V-like memory sharing
|
|
|
|
#options SHMMAXPGS=1024 # 1024 pages is the default
|
|
|
|
|
|
|
|
# Diagnostic/debugging support options
|
|
|
|
#options DIAGNOSTIC # cheap kernel consistency checks
|
|
|
|
#options DEBUG # expensive debugging checks/support
|
|
|
|
#options DDB # in-kernel debugger
|
2002-03-03 01:26:25 +03:00
|
|
|
#options KGDB # remote debugger
|
|
|
|
#options "KGDB_DEVNAME=\"scif\"",KGDB_DEVRATE=57600
|
2000-12-11 21:19:12 +03:00
|
|
|
#makeoptions DEBUG="-g" # compile full symbol table
|
|
|
|
#options SYSCALL_DEBUG
|
|
|
|
#options UVMHIST
|
2001-11-20 15:56:17 +03:00
|
|
|
#options UVMHIST_PRINT
|
2000-12-11 21:19:12 +03:00
|
|
|
|
|
|
|
# Compatibility options
|
|
|
|
options COMPAT_43 # and 4.3BSD
|
|
|
|
|
|
|
|
# Executable format options
|
|
|
|
options EXEC_COFF # COFF executables
|
|
|
|
options EXEC_ELF32 # 32-bit ELF executables
|
|
|
|
|
|
|
|
# File systems
|
|
|
|
file-system FFS # UFS
|
|
|
|
file-system MFS # memory file system
|
2001-02-01 04:09:12 +03:00
|
|
|
file-system NFS # Network File System client
|
2000-12-11 21:19:12 +03:00
|
|
|
file-system PROCFS # /proc
|
|
|
|
file-system KERNFS # /kern
|
|
|
|
#file-system NULLFS # loopback file system
|
|
|
|
#file-system UMAPFS # NULLFS + uid and gid remapping
|
2001-01-22 02:38:34 +03:00
|
|
|
file-system CD9660 # CD-ROM file system
|
2000-12-11 21:19:12 +03:00
|
|
|
|
|
|
|
# File system options
|
|
|
|
#options QUOTA # UFS quotas
|
|
|
|
#options NFSSERVER # Network File System server
|
|
|
|
|
|
|
|
# Networking options
|
|
|
|
options INET # IP + ICMP + TCP + UDP
|
2001-02-01 04:09:12 +03:00
|
|
|
options NFS_BOOT_DHCP # Support DHCP NFS root
|
2000-12-11 21:19:12 +03:00
|
|
|
|
|
|
|
#options PCIVERBOSE # verbose PCI device autoconfig messages
|
|
|
|
#options PCI_CONFIG_DUMP # verbosely dump PCI config space
|
|
|
|
|
|
|
|
# Kernel root file system and dump configuration.
|
|
|
|
#config netbsd root on ? type nfs
|
|
|
|
#config netbsd root on wd0a type ffs
|
2001-02-01 04:09:12 +03:00
|
|
|
config netbsd root on ? type ?
|
2000-12-11 21:19:12 +03:00
|
|
|
|
|
|
|
#
|
|
|
|
# Device configuration
|
|
|
|
#
|
|
|
|
|
|
|
|
mainbus0 at root
|
|
|
|
|
|
|
|
shb* at mainbus?
|
|
|
|
|
|
|
|
# Serial Devices
|
2002-03-03 01:26:25 +03:00
|
|
|
#options SCIFCONSOLE
|
2001-11-20 15:56:17 +03:00
|
|
|
options SCIFCN_SPEED=57600
|
2000-12-11 21:19:12 +03:00
|
|
|
scif0 at shb? port 0xffe80000 irq 12
|
|
|
|
|
2001-02-01 04:09:12 +03:00
|
|
|
pvr0 at shb?
|
2001-11-20 15:56:17 +03:00
|
|
|
wsdisplay* at pvr? console ?
|
2001-01-16 03:33:50 +03:00
|
|
|
|
2001-02-01 04:09:12 +03:00
|
|
|
maple0 at shb?
|
|
|
|
mkbd* at maple? port ? subunit ?
|
|
|
|
wskbd* at mkbd? console ?
|
|
|
|
|
|
|
|
gdrom0 at shb?
|
2001-01-22 02:38:34 +03:00
|
|
|
|
2001-02-01 04:09:12 +03:00
|
|
|
g2bus0 at shb?
|
|
|
|
gapspci* at g2bus? # GAPS PCI bridge
|
|
|
|
pci* at gapspci?
|
|
|
|
rtk* at pci? dev ? function ? # SEGA Broadband Adapter
|
|
|
|
ukphy* at mii? phy ?
|
2001-01-16 03:33:50 +03:00
|
|
|
|
2000-12-11 21:19:12 +03:00
|
|
|
#pseudo-device vnd 4 # disk-like interface to files
|
|
|
|
#pseudo-device bpfilter 8 # Berkeley packet filter
|
2001-09-02 01:52:23 +04:00
|
|
|
#pseudo-device bridge # simple inter-network bridging
|
2000-12-11 21:19:12 +03:00
|
|
|
#pseudo-device ipfilter # IP filter (firewall) and NAT
|
|
|
|
pseudo-device loop # network loopback
|
|
|
|
pseudo-device pty # pseudo-terminals
|
|
|
|
#pseudo-device ppp 2 # Point-to-Point Protocol
|
2001-12-28 15:21:52 +03:00
|
|
|
#pseudo-device pppoe # PPP over Ethernet (RFC 2516)
|
2000-12-11 21:19:12 +03:00
|
|
|
#pseudo-device tun 2 # network tunneling over tty
|
2001-02-14 07:57:44 +03:00
|
|
|
pseudo-device rnd # /dev/random and in-kernel generator
|
2000-12-11 21:19:12 +03:00
|
|
|
pseudo-device md 1 # memory disk device (ramdisk)
|