217e34e4b6
which was demonstrated at Open Source Conference 2011 Kansai @ Kyoto back in July: http://www.NetBSD.org/gallery/events.html#opensourceconf2011-Kansai - map 0xc0000000-0xffffffff PA region (which is mirror of PA 0x0-0x3fffffff) to the same VA via %tt0 and %tt1 registers and move KVA space accordingly (like luna68k does for its devices) - save trap #0 vector for PROM function calls in early bootstrap and register it to trap #14 to call it from kernel for console output - add dumb romcall based tty attachment taken from src/sys/dev/ofw/ofcons.c - add rom function call stubs from news68k/stand/common/romcalls.S - remove IIOV() macro for device registers where now mapped PA==VA via %tt1 XXX: romcons is not enabled yet because there is no generic interface XXX: to attach wskbd(4) to non wsdisplay(4) devices like this romcons.
54 lines
1.5 KiB
Plaintext
54 lines
1.5 KiB
Plaintext
# $NetBSD: majors.news68k,v 1.23 2011/11/20 15:38:00 tsutsui Exp $
|
|
#
|
|
# Device majors for news68k
|
|
#
|
|
|
|
device-major cons char 0
|
|
device-major zstty char 1 zstty
|
|
device-major ctty char 2
|
|
device-major mem char 3
|
|
device-major sd char 4 block 0 sd
|
|
|
|
device-major swap char 7 block 4 vmswap
|
|
device-major pts char 8 pty
|
|
device-major ptc char 9 pty
|
|
device-major md char 10 block 2 md
|
|
|
|
device-major st char 16 block 17 st
|
|
|
|
device-major bpf char 24 bpfilter
|
|
device-major tun char 25 tun
|
|
|
|
device-major log char 33
|
|
|
|
device-major ipl char 46 ipfilter
|
|
device-major rnd char 47 rnd
|
|
device-major filedesc char 48
|
|
device-major ccd char 49 block 7 ccd
|
|
device-major vnd char 50 block 6 vnd
|
|
|
|
device-major uk char 54 uk
|
|
device-major cd char 55 block 16 cd
|
|
device-major ss char 56 ss
|
|
device-major ch char 57 ch
|
|
|
|
device-major wsdisplay char 60 wsdisplay
|
|
device-major wskbd char 61 wskbd
|
|
device-major wsmouse char 62 wsmouse
|
|
device-major wsmux char 63 wsmux
|
|
|
|
device-major scsibus char 73 scsibus
|
|
device-major raid char 74 block 32 raid
|
|
device-major svr4_net char 75 compat_svr4
|
|
device-major clockctl char 76 clockctl
|
|
device-major cgd char 78 block 33 cgd
|
|
device-major ksyms char 79 ksyms
|
|
device-major wsfont char 80 wsfont
|
|
device-major romcons char 81 romcons
|
|
|
|
device-major nsmb char 98 nsmb
|
|
|
|
# Majors up to 143 are reserved for machine-dependent drivers.
|
|
# New machine-independent driver majors are assigned in
|
|
# sys/conf/majors.
|