thorpej
c3050006aa
* Defflag the SH3 and SH4 options.
...
* In <sh3/cputypes.h>, always define both SH3 and SH4 if _LKM is defined.
2002-04-20 19:59:11 +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
24ec477a45
Rework interrupt code.
...
+ Fully utilize SH SR.I[0:3] interrupt level.
+ software interrupt is emulated by TMU1, 2 one shot interrupt.
+ implement generic soft interrupts.
+ implement clockframe correctly.
2002-03-24 18:04:39 +00:00
uch
049c84193e
shb device is integrated to sh3/dev/shb.c and clean up locators.
2002-03-24 18:00:41 +00:00
uch
93da9db963
cosmetic changes, fix comments.
2002-03-17 17:55:22 +00:00
uch
57918e656a
add kernel stack debug option.
2002-03-17 14:05:47 +00:00
uch
6042c0a3fc
Initial support for KGDB on the sh3.
2002-03-02 22:26:25 +00:00
uch
bbc655c4fb
Cleanup register definition
2002-02-28 01:56:57 +00:00
uch
31ae0ac1e9
clean up Makefiles
2002-02-24 20:10:53 +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
b1b1f1117b
NetBSD/sh3 common part of clock routine.
2002-02-22 19:55:33 +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
780de330ba
Add new MMU API. for detail, see sh3/mmu.h's comment.
2002-02-17 20:55:50 +00:00
uch
e63a9777b2
add new cache routine.
2002-02-11 18:03:05 +00:00
atatat
b45c51b1fc
Roll the rest of the ports over to the new MI kernel build machinery.
...
Any problems reported by testers have been fixed, and massive
cross-compiling of kernels has shown that any problems that remain
with actually building kernels are not related to this.
2001-12-09 05:00:40 +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
jmc
6d536163de
Change defaults for kernel compiles. Default all to USETOOLS?=no and have
...
the etc Makefile override that by putting USETOOLS into $.MAKEOVERRIDES
This way the default for kernel compiles is still to use the installed
toolchain instead of depending on $TOOLDIR. $TOOLDIR can be used by
simply adding USETOOLS=yes to the command line as usual.
Adjust each ports template to set the default no setting and also pull in
bsd.own.mk if they weren't already to ensure they'll build correctly
with the new toolchain setup.
2001-10-26 06:45:33 +00:00
thorpej
2c5ebcddfb
Use MACHINE, not TARGET_MACHINE.
2001-10-23 18:57:32 +00:00
msaitoh
9cd1fceecc
remove obsolete file
2001-09-14 11:39:39 +00:00
msaitoh
dfc4520de8
G.C.
2001-08-10 18:57:25 +00:00
mrg
3783ca5d30
define _KERNEL_OPT as well as _KERNEL. we will use this in the future to
...
get kernel "opt_foo.h" headers, rather than _KERNEL && !_LKM.
2001-05-29 02:20:20 +00:00
uch
63ec3bc3fa
dreamcast clock module was separated.
2001-04-23 11:20:41 +00:00
matt
f283c0a504
Use ${THISSH3} instead of ../.. ; not everyone builds in ../compile/FOO
2001-03-24 18:26:11 +00:00
msaitoh
0aa1f3d01e
modify target name because we can't recommend to use pkgsrc/cross
...
(though I'm not the person who did such BAD modification)
2001-02-27 14:05:53 +00:00
msaitoh
bba3f2423b
add comment about $CPP
...
From source:
# XXX following definition is absolutely incorrect.
# Our cpp is not /usr/libexec/cpp but /usr/bin/cpp.
# True solution is:
# 1) copy /usr/bin/cpp into /usr/local/bin/sh-*-*-cpp
# 2) Edit CPP in sh-*-*-cpp correctly
# (e.g. "CPP=`$CC -print-prog-name=cpp`").
# 3) Edit STDINCDIR in sh-*-*-cpp correctly
# (e.g. STDINCDIR=/usr/local/sh-unknown-netbsdcoff/include)
# BROKEN
CPP=`$TARGET-gcc -print-prog-name=cpp`
# EXAMPLE
#CPP=/usr/local/bin/sh-unknown-netbsdcoff-cpp
#CPP=/usr/local/bin/sh-unknown-netbsdelf-cpp
2001-02-26 08:46:15 +00:00
msaitoh
6c4c53a461
add "MACHINE_CPU=sh3"
2001-02-26 08:24:20 +00:00
uch
e0a4623854
move disksubr.c define to machine-port.
2001-02-21 16:42:04 +00:00
uch
6a7b420b7e
move machine-port specific file to machine directory.
...
for evbsh3, mmeye and dreamcast, use MI md_root.c
2001-02-06 16:45:19 +00:00
tsubai
4791d269ec
-Dsh3 --> -D${TARGET_MACHINE}.
2001-01-22 08:22:15 +00:00
itojun
f79137a3f1
it looks that gas configured for little endian output runs as
...
big endian assembler, sometimes. explicitly have -little to specify
little endian output.
2001-01-17 06:03:54 +00:00
itojun
6378ac40ee
pass the right $CPP
2001-01-09 02:31:37 +00:00
itojun
828bec041b
committed local change by mistake :-)
2001-01-04 09:49:29 +00:00
itojun
a8507fa1e7
pkgsrc/cross/sh-* do not supply cpp
2001-01-04 08:55:08 +00:00
itojun
26b1bcce00
cc -v is too verbose
2001-01-04 08:39:53 +00:00
itojun
a629edfcca
use -O1 for now, -O2 dies
2001-01-04 07:55:32 +00:00
itojun
da0e17f08c
fix pathname to meet pkgsrc/cross/sh*
2001-01-04 07:51:50 +00:00
itojun
8a58f991f6
content were mixed up
2001-01-04 07:50:23 +00:00
itojun
156bea1018
nuke obsolete Makefile templates.
...
split build-sh3 into two, for sh3e[bl].
2001-01-04 07:09:47 +00:00
itojun
10e1d3091a
share sys/arch/sh3/conf/Makefile.sh3 across sh3-based architectures.
...
cleanup param.h a bit.
2001-01-03 18:14:44 +00:00
jdolecek
cacec11253
delete obsolete comment
2000-12-17 15:52:39 +00:00
tsubai
bf4246e37a
Disassembly support in DDB.
2000-09-04 23:02:42 +00:00
fvdl
1ee7d22c0b
Remove prefix construction for softdeps. Add SOFTDEP option to GENERIC.
2000-06-22 20:27:49 +00:00
hubertf
9f48bba3ae
Add "install" target, so "make install" after building the kernel
...
does something useful. The target can be redefined by putting a
install-kernel-${MACHINE_NAME} target that fits your needs into
/etc/mk.conf.
2000-05-09 00:56:21 +00:00
thorpej
6a33c86623
HAVE_GCC28 -> HAVE_EGCS, and make it match gcc 2.9 as well. Also,
...
make the use of -Wno-uninitialized explicit, don't rely on a compiler
hack to do it for us.
2000-05-09 00:32:19 +00:00
jdolecek
cef3c93f82
Switch to MI ns_cksum.c - the MD ns_cksum.c is equivalent to it
...
(modulo some u_intX_t vs. u_char type usage). In particular, the
MD version didn't contain any MD code.
2000-04-06 13:37:49 +00:00
msaitoh
e0c3daee1d
remove PMAP_NEW
2000-02-23 21:14:12 +00:00
thorpej
fd8c03cf44
Allow arch-specific code to specify in4_cksum() like it can specify
...
in_cksum().
2000-02-14 21:42:50 +00:00
tsutsui
11c8f56d48
Revert STRIPPROG -> STRIP
2000-02-01 05:25:24 +00:00
tron
04eb110431
Add "dependall" target for comfort.
2000-01-24 20:36:06 +00:00