-
Notifications
You must be signed in to change notification settings - Fork 367
Expand file tree
/
Copy pathNINTENDO
More file actions
241 lines (202 loc) · 8.09 KB
/
Copy pathNINTENDO
File metadata and controls
241 lines (202 loc) · 8.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
# $NetBSD: NINTENDO,v 1.3 2026/01/24 19:03:11 jmcneill Exp $
#
# Nintendo Wii
#
include "arch/evbppc/conf/std.nintendo"
#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
options MSGBUFSIZE=0x10000
maxusers 32
options INSECURE # disable kernel security levels
options NTP # NTP phase/frequency locked loop
options KTRACE # system call tracing via ktrace(1)
options SYSVMSG # System V message queues
options SYSVSEM # System V semaphores
options SYSVSHM # System V shared memory
#options USERCONF # userconf(4) support
#options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
# Alternate buffer queue strategies for better responsiveness under high
# disk I/O load.
#options BUFQ_READPRIO
options BUFQ_PRIOCSCAN
# Diagnostic/debugging support options
options DIAGNOSTIC # cheap kernel consistency checks
#options DEBUG # expensive debugging checks/support
options DDB # in-kernel debugger
#options DDB_HISTORY_SIZE=100 # enable history editing in DDB
#options TRAP_PANICWAIT
makeoptions COPY_SYMTAB=1 # size for embedded symbol table
#options KGDB # remote debugger
#options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0xff600400,KGDB_DEVRATE=9600
makeoptions DEBUG="-g" # compile full symbol table
# Compatibility options
include "conf/compat_netbsd50.config"
#options COMPAT_386BSD_MBRPART # recognize old partition ID
# Wedge support
options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances
options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges
# File systems
file-system FFS # UFS
#file-system EXT2FS # second extended file system (linux)
#file-system LFS # log-structured file system
file-system MFS # memory file system
file-system NFS # Network File System client
file-system CD9660 # ISO 9660 + Rock Ridge file system
file-system MSDOSFS # MS-DOS file system
file-system FDESC # /dev/fd
file-system KERNFS # /kern
file-system NULLFS # loopback file system
file-system OVERLAY # overlay file system
file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
file-system PROCFS # /proc
file-system TMPFS # efficient memory file system
file-system UMAPFS # NULLFS + uid and gid remapping
file-system UNION # union file system
file-system PTYFS # /dev/pts/N support
# File system options
options FFS_EI # FFS Endian Independent support
options FFS_NO_SNAPSHOT # No FFS snapshot support
#options QUOTA # legacy UFS quotas
#options QUOTA2 # new, in-filesystem UFS quotas
#options UFS_DIRHASH # UFS Large Directory Hashing
#options UFS_EXTATTR # Extended attribute support for UFS1
options WAPBL # File system journaling support
#options LFS_DIRHASH # LFS version of UFS_DIRHASH - experimental
#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
# immutable) behave as system flags.
options DISKLABEL_EI # disklabel Endian Independent support
#options NFSSERVER # Network File System server
options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
options NFS_BOOT_RWSIZE=1024
# Networking options
#options GATEWAY # packet forwarding
options INET # IP + ICMP + TCP + UDP
options INET6 # IPV6
options IPSEC # IP security
#options IPSEC_DEBUG # debug for IP security
#options MROUTING # IP multicast routing
#options PIM # Protocol Independent Multicast
#options NETATALK # AppleTalk networking protocols
#options PPP_BSDCOMP # BSD-Compress compression support for PPP
#options PPP_DEFLATE # Deflate compression support for PPP
#options PPP_FILTER # Active filter support for PPP (requires bpf)
#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
#options MIIVERBOSE # verbose PHY autoconfig messages
#options SCSIVERBOSE # human readable SCSI error messages
#options USBVERBOSE # verbose USB device autoconfig messages
# Kernel root file system and dump configuration.
config netbsd root on ? type ?
#
# Device configuration
#
mainbus0 at root
cpu* at mainbus0
genfb0 at mainbus0
wsdisplay* at wsemuldisplaydev?
options WSEMUL_VT100
options WSDISPLAY_CUSTOM_OUTPUT
options WS_DEFAULT_FG=WSCOL_WHITE
options WS_DEFAULT_BG=WSCOL_BLACK
options WS_KERNEL_FG=WSCOL_GREEN
options WS_KERNEL_BG=WSCOL_BLACK
options WSDISPLAY_COMPAT_PCVT
options WSDISPLAY_COMPAT_SYSCONS
options WSDISPLAY_COMPAT_USL
#options WSDISPLAY_COMPAT_RAWKBD
options WSDISPLAY_DEFAULTSCREENS=4
options WSDISPLAY_SCROLLSUPPORT
options WSDISPLAY_MULTICONS
ahb0 at mainbus0 irq 14
si0 at mainbus0 addr 0x0d006400 irq 3 # Serial interface
gcport* at si0
uhid* at gcport?
exi0 at mainbus0 addr 0x0d006800 irq 4 # External interface
rtcsram0 at exi0 # RTC/SRAM chip
gecko0 at exi0 # USB Gecko
bwai0 at mainbus0 addr 0x0d006c00 irq 5 # Audio interface
bwdsp0 at mainbus0 addr 0x0c005000 irq 6 # DSP
hwgpio0 at ahb0 addr 0x0d0000c0 irq 10 # GPIO
gpio0 at hwgpio0
gpioiic0 at gpio0 offset 0 mask 0xc000 flag 1
iic0 at gpioiic0
avenc0 at iic0 addr 0x70 # A/V Encoder
hwgpio1 at ahb0 addr 0x0d000520 irq 11 # GPIO (Wii U)
gpio1 at hwgpio1
resetbtn0 at ahb0 irq 17 # Reset button
ehci0 at ahb0 addr 0x0d040000 irq 4 # EHCI0
ehci1 at ahb0 addr 0x0d120000 irq 34 # EHCI1 (Wii U)
ehci2 at ahb0 addr 0x0d140000 irq 36 # EHCI2 (Wii U)
ohci0 at ahb0 addr 0x0d050000 irq 5 # OHCI0
ohci1 at ahb0 addr 0x0d060000 irq 6 # OHCI1
ohci2 at ahb0 addr 0x0d130000 irq 35 # OHCI2 (Wii U)
ohci3 at ahb0 addr 0x0d150000 irq 37 # OHCI3 (Wii U)
usb* at usbus?
sdhc0 at ahb0 addr 0x0d070000 irq 7 # SD card
sdhc1 at ahb0 addr 0x0d080000 irq 8 # SDIO/BT
sdmmc* at sdmmcbus?
ld* at sdmmc?
bwi* at sdmmc? # WLAN (Wii)
bwfm* at sdmmc? # WLAN (Wii U)
di0 at ahb0 addr 0x0d806000 irq 18 # Drive interface
hwaes0 at ahb0 addr 0x0d020000 irq 2 # AES engine
ahcisata0 at ahb0 addr 0x0d160400 irq 38 # AHCI SATA (Wii U)
atabus* at ata?
atapibus* at atapi?
wd* at atabus? drive ?
cd* at atapibus? drive ?
include "dev/usb/usbdevices.config"
include "dev/bluetooth/bluetoothdevices.config"
# MII/PHY support
rgephy* at mii? phy ?
urlphy* at mii? phy ?
ukphy* at mii? phy ?
# Radio support
radio* at radiodev?
# Audio support
audio* at audiobus?
spkr* at audio? # PC speaker (synthesized)
midi* at midibus?
pseudo-device sequencer # MIDI sequencer
# SCSI bus support
scsibus* at scsi? channel ?
# SCSI devices
sd* at scsibus? target ? lun ? # SCSI disk drives
st* at scsibus? target ? lun ? # SCSI tape drives
cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
ch* at scsibus? target ? lun ? # SCSI autochangers
ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices
ss* at scsibus? target ? lun ? # SCSI scanners
uk* at scsibus? target ? lun ? # SCSI unknown
pseudo-device vnd # disk-like interface to files
#pseudo-device fss # file system snapshot device
pseudo-device cgd # cryptographic disk devices
#pseudo-device md # memory disk device
pseudo-device loop # network loopback
pseudo-device bpfilter # packet filter
#pseudo-device carp # Common Address Redundancy Protocol
pseudo-device npf # NPF packet filter
pseudo-device ppp # Point-to-Point Protocol
pseudo-device sl # Serial Line IP
pseudo-device tun # network tunneling over tty
pseudo-device gre # generic L3 over IP tunnel
pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
#pseudo-device faith # IPv[46] tcp relay translation i/f
pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
pseudo-device vlan # IEEE 802.1q encapsulation
pseudo-device pty # pseudo-terminals
pseudo-device clockctl # user control of clock subsystem
pseudo-device drvctl # user control of drive subsystem
pseudo-device putter # for puffs and pud
pseudo-device ksyms
# wscons pseudo-devices
pseudo-device wsmux # mouse & keyboard multiplexor
pseudo-device wsfont
options FONT_BOLD8x16
include "dev/veriexec.config"
options PAX_SEGVGUARD=0 # PaX Segmentation fault guard
options PAX_MPROTECT=1 # PaX mprotect(2) restrictions
options PAX_MPROTECT_DEBUG=1 # PaX mprotect debug
options PAX_ASLR=1 # PaX Address Space Layout Randomization
options PAX_ASLR_DEBUG=1 # PaX ASLR debug