thorpej
3912e469dd
Rename cdev_systrace_init() to cdev_clonemisc_init(), so it can
...
be properly used by any misc. cloning device. While here, correct
a comment to indicate that "open" is the only entry point and that
everything else is handled with fileops.
2002-07-19 16:38:14 +00:00
christos
3b50728cf4
MD systrace gluons.
2002-06-17 16:32:57 +00:00
lukem
fde6ae6f04
Enable "pseudo-device clockctl" in all kernels, except
...
installation related kernels (INSTALL* and RAMDISK*).
This enables rc.conf(5) $ntpd_chroot to be used "out of the box"
2002-06-17 05:14:02 +00:00
uch
b1f3b48aa2
Don't reset to old interrupt level at the exit of interrupt handler.
...
It didn't ensure the maximum interrupt nest depth.
2002-05-10 20:14:39 +00:00
uch
8db367d98c
remove trap.h
2002-05-09 12:42:08 +00:00
uch
20ac353f38
adapt to new pmap.
2002-05-09 12:34:53 +00:00
uch
9e6860e202
IOM_RAM_BEGIN is changed to specify physical address.
2002-05-09 12:34:20 +00:00
atatat
d1b3852365
Add the INCLUDE_CONFIG_FILE option to all config files. In config
...
files that are generic (ie, GENERIC, GENERICSBC, GENERIC32, ALL, or
ALPHA), it is uncommented.
2002-04-25 15:06:20 +00:00
msaitoh
3e139496d2
remove unused option
2002-04-22 08:24:02 +00:00
msaitoh
9121727bf6
increase _INTR_N from 7 to 11 (count both SCI and SCIF)
2002-04-22 02:05:33 +00:00
thorpej
eedd94475c
* Move the mii_bitbang attribute into dev/mii/files.mii
...
* Pull in dev/mii/files.mii from conf/files, rather than playing
the magic "files include order" dance in N machine-dependent
configuration definitions.
2002-04-16 20:50:16 +00:00
gmcgarry
6e066ba77a
Add commented-out USERCONF option. Mainly useful for install media
...
and can be optionally enabled based on miniroot and ramdisk size
requirements.
2002-04-12 08:10:45 +00:00
lukem
d213d804f7
Rename MEMORY_DISK_SIZE (formerly MINIROOTSIZE) to MEMORY_DISK_ROOT_SIZE,
...
which was suggested by Izumi Tsutsui <tsutsui@ceres.dti.ne.jp> as
being more consistent with what it's controlling...
2002-04-02 05:30:34 +00:00
uch
0ae715f6d2
All the sh3 ports had an identical procfs_machdep.c, so use a common
...
file under arch/sh3/sh3.
2002-03-27 10:44:38 +00:00
uch
cfe4dfb98f
add autoconf.h for new mainbus driver.
2002-03-24 18:28:12 +00:00
uch
e8300f3659
adapted to new interrupt code and shb changes.
2002-03-24 18:21:08 +00:00
uch
422c178bc7
add cpu device. sync with shb change.
2002-03-24 18:14:27 +00:00
uch
93da9db963
cosmetic changes, fix comments.
2002-03-17 17:55:22 +00:00
uch
81cdeb6cdd
adapt to kernel stack treatment changes.
2002-03-17 14:05:10 +00:00
lukem
cd19d52695
* rename MINIROOTSIZE to MEMORY_DISK_SIZE, so that all md(4) options
...
are now consistently named
* fold opt_mdsize.h into opt_md.h
2002-03-10 19:56:37 +00:00
uch
672baca18b
proc0 and page table intialize routines are moved to sh3_machdep.c
2002-03-10 07:46:12 +00:00
uch
f9201a1606
common part are moved to sh3/include/param.h
2002-03-10 07:45:31 +00:00
uch
dc55dc2c73
remove unneeded code and files.
2002-03-08 13:22:11 +00:00
thorpej
069a559c65
Remove some files that no longer exist.
2002-03-07 19:34:37 +00:00
uch
39425a7420
fix bug of TMU0 interrupt priority level setting. (my previous commit broke it.)
2002-03-06 15:03:21 +00:00
uch
2f603eaa17
CTL_MACHDEP definitions are integrated into sh3/include/cpu.h again.
2002-03-04 14:36:13 +00:00
uch
bf5bf0be48
remove obsolete headers.
2002-03-03 14:59:55 +00:00
uch
17fbf85dc3
machine dependent sysctl are moved to machine/cpu.h
...
dreamcast, hpcsh ... CPU_CONSDEV
mmeye, evbsh3 ... CPU_CONSDEV, CPU_LOADANDRESET
2002-03-03 14:28:48 +00:00
uch
9c21656766
cpu_dumpconf, reserve_dumppages, dumpsys, cpu_reset are moved to sh3/sh3_machdep.c
2002-02-28 16:54:28 +00:00
simonb
4324f37586
Use "#define<tab>".
2002-02-28 03:17:23 +00:00
uch
2e904b2d1e
s/MMEYE_NO_CACHE/CACHE_DISABLE/
2002-02-28 01:58:18 +00:00
uch
bbc655c4fb
Cleanup register definition
2002-02-28 01:56:57 +00:00
uch
40382c6556
Change foo_r0_r1 macro in sh3/locore.h to foo(Rn, Rm)
2002-02-28 01:53:42 +00:00
uch
06fbd079f5
Remove unneeded header.
2002-02-28 01:52:28 +00:00
christos
6b030ee036
- define other DEV_ constants that the local port uses.
...
- delete cdev_decl(mm) since <sys/conf.h> does it.
2002-02-27 01:19:03 +00:00
simonb
d9ab16ba2f
Purge CLSIZE, CLSIZELOG2 and MCLOFSET.
...
Be consistant in the way that MSIZE, MCLSHIFT, MCLBYTES and NMBCLUSTERS
are defined.
Remove old VM constants from cesfic port.
Bump MSIZE to 256 on mipsco (the only one that wasn't already 256).
2002-02-26 15:13:19 +00:00
uch
693be1956c
Move common exception vector and scheduler code to
...
sh3/sh3/exception_vector.S and sh3/sh3/locore_subr.S. exception
vectors are installed by sh_cpu_init(). machine/locore.S contains
kernel entry, interrupt handler, and some MD code.
2002-02-24 18:19:40 +00:00
uch
45407e955f
setjmp,longjmp are moved to sh3/locore_subr.S
2002-02-22 19:45:31 +00:00
uch
f694c9fdd7
New NetBSD/sh3 clock framework.
...
+ hardclock source is moved from TMU1 to TMU0.
+ SH3/SH4 common kernel support.
+ PCLOCK estimation.
+ remove duplicated code.
2002-02-22 19:43:58 +00:00
uch
1bdc7cc5ca
Clean up functions
...
disable_intr, enable_intr, disable_interrupt, enable_interrupt,
disable_ext_intr, enable_ext_intr.
New functions:
for external interrupt:
_cpu_intr_suspend and _cpu_intr_resume.
for exception:
_cpu_exception_suspend and _cpu_exception_resume.
2002-02-19 17:21:18 +00:00
uch
6e0794b560
To determine CPU architecture and product, add cpu_arch and cpu_prduct variables.
...
these are initialized by sh_cpu_init()@sh3/sh3_machdep.c
(see sh3/include/cputypes.h for detail.)
add "options SH3" for SH3 kernel config file.
2002-02-17 20:59:33 +00:00
uch
70826aa2cd
sh_cpu_init() is added. its initialize cache, MMU ops appropriately.
...
machine locore code call this at first.
2002-02-17 20:57:09 +00:00
uch
615800d782
Fix calling convention. r0-r7 are caller saved.
2002-02-17 20:53:01 +00:00
uch
26c1382e72
sync with PTE bit change.
2002-02-11 18:06:34 +00:00
jdolecek
6d265bd894
add options PIPE_SOCKETPAIR to individual kernel configs
...
the option is commented out on everything but kernels I was able
to recognize as INSTALL-like or ones for small memory machines
2002-01-27 13:23:08 +00:00
manu
af62e00622
Added clockctl
2002-01-12 13:11:08 +00:00
lukem
ecb81c3f6d
- convert usage of "defopt" to "defflag" where the relevant option does
...
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups
2001-11-28 10:21:10 +00:00
lukem
0fa231134c
- replace "defopt" with "defparam" for options which must take a value,
...
as config(8) will warn for value-less defparam options
- minor whitespace/formatting cleanup
- consolidate opt_tcp_recvspace.h and opt_tcp_sendspace.h into opt_tcp_space.h
2001-11-20 14:34:18 +00:00
lukem
03aef4723c
cleanup:
...
options SPACE TAB
makeoptions TAB
psuedo-device TAB
remove trailing whitespace
replace multiple spaces -> tabs
options "FOO" -> options FOO
options "FOO=bar" -> options FOO=bar
options "FOO=\"bar\"" -> options FOO="\"bar\""
2001-11-20 12:56:17 +00:00
lukem
99bccc3cab
- pull in opt_kgdb.h where necessary
...
- replace opt_kgdb_machdep.h with opt_kgdb.h
- defparam opt_kgdb.h:
KGDB_DEV KGDB_DEVNAME KGDB_DEVADDR KGDB_DEVRATE KGDB_DEVMODE
- move from opt_ddbparam.h to opt_ddb.h:
DDB_FROMCONSOLE DDB_ONPANIC DDB_HISTORY_SIZE DDB_BREAK_CHAR SYMTAB_SPACE
- replace KGDBDEV with KGDB_DEV
- replace KGDBADDR with KGDB_DEVADDR
- replace KGDBMODE with KGDB_DEVMODE
- replace KGDBRATE with KGDB_DEVRATE
- use `9600' instead of `0x2580' for 9600 baud rate
- use correct quotes for options KGDB_DEVNAME="\"com\""
- use correct quotes for options KGDB_DEV="17*256+0"
- remove unnecessary dependancy on Makefile for kgdb_stub.o
- minor whitespace cleanup
2001-11-20 08:43:19 +00:00