Home | History | Annotate | only in /src/sys/arch/sh3/conf
History log of /src/sys/arch/sh3/conf
RevisionDateAuthorComments
 1.29 22-Sep-2018  rin - Determine KERN_AS automatically depending on whether OPT_MODULAR is
set or not, in the same way as libcompat.

- Specify OPT_MODULAR in the port Makefile instead of KERN_AS.

Now, KERN_AS=library is used for kernels without module(7) for all ports.

OK christos
 1.28 10-Mar-2013  christos branches: 1.28.36; 1.28.38;
Explicitly set KERN_AS (this could be done in /usr/src/sys/conf/Makefile.*)
so that modules work, on config files that did not set it explicitly. All
the files now use the standard logic, except the ones that set KERN_AS=obj
and Makefile.usermode which sets KERN_AS=library.
 1.27 21-Jan-2011  joerg branches: 1.27.4; 1.27.14;
Switch remaining platforms to modern CPP for assembler.
 1.26 06-May-2008  uwe branches: 1.26.22; 1.26.28; 1.26.30;
Default COPTS to "-Os -freorder-blocks" which is ~= -O2 but without
-falign-* that is too zealous for low-memory sh3 machines. I've been
using this for my hpcsh and landisk kernels for a very long time.
(besides, it's not 2001 anymore and pkgsrc/cross/sh is long since gone).
 1.25 01-Mar-2008  joerg branches: 1.25.2; 1.25.4;
Missing assym.h dependencies.
 1.24 28-Mar-2007  uwe branches: 1.24.14; 1.24.30; 1.24.34;
G/c ancient workaround that has been commented out for ages.
 1.23 02-Sep-2006  uwe branches: 1.23.8; 1.23.12; 1.23.14; 1.23.16;
There's no reason to use -Wno-parentheses.
 1.22 17-Mar-2006  uebayasi Stop using linker scripts on all sh3 ports.

The only information to be compensated is text section start address.
The default value is set arch-wise as DEFTEXTADDR. Each kernel config
can override the default value by setting TEXTADDR.

Tested on COMPUTEXEVB (evbsh3).

Reviewed By: uwe
 1.21 11-Dec-2005  christos branches: 1.21.4; 1.21.6; 1.21.8; 1.21.10; 1.21.12;
merge ktrace-lwp.
 1.20 31-May-2005  christos branches: 1.20.2;
s/GENASSYM/GENASSYM_CONF/ so we can use "GENASSYM" as the program name.
 1.19 04-Jun-2004  thorpej Add the %MAKEOPTIONSAPPEND token at the end of the file, after the
common Makefile.kern.inc has been included.
 1.18 17-Mar-2002  uch branches: 1.18.8; 1.18.14; 1.18.18;
cosmetic changes, fix comments.
 1.17 24-Feb-2002  uch 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.
 1.16 09-Dec-2001  atatat 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.
 1.15 20-Nov-2001  lukem 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\""
 1.14 26-Oct-2001  jmc 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.
 1.13 23-Oct-2001  thorpej branches: 1.13.2;
Use MACHINE, not TARGET_MACHINE.
 1.12 29-May-2001  mrg branches: 1.12.2;
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.
 1.11 24-Mar-2001  matt Use ${THISSH3} instead of ../.. ; not everyone builds in ../compile/FOO
 1.10 22-Jan-2001  tsubai branches: 1.10.2;
-Dsh3 --> -D${TARGET_MACHINE}.
 1.9 04-Jan-2001  itojun use -O1 for now, -O2 dies
 1.8 03-Jan-2001  itojun share sys/arch/sh3/conf/Makefile.sh3 across sh3-based architectures.
cleanup param.h a bit.
 1.7 17-Dec-2000  jdolecek delete obsolete comment
 1.6 09-May-2000  hubertf 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.
 1.5 09-May-2000  thorpej 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.
 1.4 01-Feb-2000  tsutsui Revert STRIPPROG -> STRIP
 1.3 24-Jan-2000  tron Add "dependall" target for comfort.
 1.2 19-Jan-2000  tsutsui STRIP -> STRIPPROG
 1.1 13-Sep-1999  itojun branches: 1.1.2;
Merge in NetBSD/sh3 from cvs.kame.net repository.

Tree structure:
- sys/arch/sh3: sh3 generic code
As commented, in-chip device drivers are put into sys/arch/sh3/dev.
- sys/arch/evbsh3: sh3 evaluation boards (pure sh3 CPU, no fancy external HW)
- sys/arch/mmeye: Brains mmEye, www.brains.co.jp
MI source code includes couple of #ifdef for sh3-coff support.
(sh3 uses coff or elf)

Needs some more improvements, especialy in sys/arch/sh3/conf/files.sh3,
to compile the tree (due to last minute tree structure change).
 1.1.2.4 27-Mar-2001  bouyer Sync with HEAD.
 1.1.2.3 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.2 05-Jan-2001  bouyer Sync with HEAD
 1.1.2.1 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.10.2.2 21-Jun-2001  nathanw Catch up to -current.
 1.10.2.1 09-Apr-2001  nathanw Catch up with -current.
 1.12.2.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.12.2.2 16-Mar-2002  jdolecek Catch up with -current.
 1.12.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.13.2.1 12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.18.18.1 06-Feb-2005  jmc Pull up patch (requested by martti in ticket #1086)
Move ipf to sys/dist/ipf and sync w. trunk
 1.18.14.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.18.14.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.18.14.2 18-Sep-2004  skrll Sync with HEAD.
 1.18.14.1 03-Aug-2004  skrll Sync with HEAD
 1.18.8.2 17-Mar-2002  uch cosmetic changes, fix comments.
 1.18.8.1 17-Mar-2002  uch file Makefile.sh3 was added on branch nathanw_sa on 2002-03-17 17:55:25 +0000
 1.20.2.4 17-Mar-2008  yamt sync with head.
 1.20.2.3 03-Sep-2007  yamt sync with head.
 1.20.2.2 30-Dec-2006  yamt sync with head.
 1.20.2.1 21-Jun-2006  yamt sync with head.
 1.21.12.1 28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.21.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.21.8.2 03-Sep-2006  yamt sync with head.
 1.21.8.1 01-Apr-2006  yamt sync with head.
 1.21.6.1 22-Apr-2006  simonb Sync with head.
 1.21.4.1 09-Sep-2006  rpaulo sync with head
 1.23.16.1 29-Mar-2007  reinoud Pullup to -current
 1.23.14.1 11-Jul-2007  mjf Sync with head.
 1.23.12.1 10-Apr-2007  ad Sync with head.
 1.23.8.1 15-Apr-2007  yamt sync with head.
 1.24.34.2 02-Jun-2008  mjf Sync with HEAD.
 1.24.34.1 03-Apr-2008  mjf Sync with HEAD.
 1.24.30.1 24-Mar-2008  keiichi sync with head.
 1.24.14.1 23-Mar-2008  matt sync with HEAD
 1.25.4.1 16-May-2008  yamt sync with head.
 1.25.2.1 18-May-2008  yamt sync with head.
 1.26.30.1 08-Feb-2011  bouyer Sync with HEAD
 1.26.28.1 06-Jun-2011  jruoho Sync with HEAD.
 1.26.22.1 05-Mar-2011  rmind sync with head
 1.27.14.1 23-Jun-2013  tls resync from head
 1.27.4.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.28.38.1 10-Jun-2019  christos Sync with HEAD
 1.28.36.1 30-Sep-2018  pgoyette Ssync with HEAD
 1.11 24-Feb-2002  uch branches: 1.11.10;
clean up Makefiles
 1.10 09-Dec-2001  atatat 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.
 1.9 20-Nov-2001  lukem 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\""
 1.8 26-Oct-2001  jmc 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.
 1.7 29-May-2001  mrg branches: 1.7.2; 1.7.6;
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.
 1.6 17-Dec-2000  jdolecek branches: 1.6.2;
delete obsolete comment
 1.5 09-May-2000  hubertf 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.
 1.4 01-Feb-2000  tsutsui Revert STRIPPROG -> STRIP
 1.3 24-Jan-2000  tron Add "dependall" target for comfort.
 1.2 19-Jan-2000  tsutsui STRIP -> STRIPPROG
 1.1 13-Sep-1999  itojun branches: 1.1.2;
Merge in NetBSD/sh3 from cvs.kame.net repository.

Tree structure:
- sys/arch/sh3: sh3 generic code
As commented, in-chip device drivers are put into sys/arch/sh3/dev.
- sys/arch/evbsh3: sh3 evaluation boards (pure sh3 CPU, no fancy external HW)
- sys/arch/mmeye: Brains mmEye, www.brains.co.jp
MI source code includes couple of #ifdef for sh3-coff support.
(sh3 uses coff or elf)

Needs some more improvements, especialy in sys/arch/sh3/conf/files.sh3,
to compile the tree (due to last minute tree structure change).
 1.1.2.2 05-Jan-2001  bouyer Sync with HEAD
 1.1.2.1 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.6.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.7.6.1 12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.7.2.2 16-Mar-2002  jdolecek Catch up with -current.
 1.7.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.11.10.2 24-Feb-2002  uch clean up Makefiles
 1.11.10.1 24-Feb-2002  uch file Makefile.sh3.be was added on branch nathanw_sa on 2002-02-24 20:10:55 +0000
 1.7 04-Jan-2001  itojun nuke obsolete Makefile templates.
split build-sh3 into two, for sh3e[bl].
 1.6 17-Dec-2000  jdolecek delete obsolete comment
 1.5 09-May-2000  hubertf 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.
 1.4 01-Feb-2000  tsutsui Revert STRIPPROG -> STRIP
 1.3 24-Jan-2000  tron Add "dependall" target for comfort.
 1.2 19-Jan-2000  tsutsui STRIP -> STRIPPROG
 1.1 13-Sep-1999  itojun branches: 1.1.2;
Merge in NetBSD/sh3 from cvs.kame.net repository.

Tree structure:
- sys/arch/sh3: sh3 generic code
As commented, in-chip device drivers are put into sys/arch/sh3/dev.
- sys/arch/evbsh3: sh3 evaluation boards (pure sh3 CPU, no fancy external HW)
- sys/arch/mmeye: Brains mmEye, www.brains.co.jp
MI source code includes couple of #ifdef for sh3-coff support.
(sh3 uses coff or elf)

Needs some more improvements, especialy in sys/arch/sh3/conf/files.sh3,
to compile the tree (due to last minute tree structure change).
 1.1.2.2 05-Jan-2001  bouyer Sync with HEAD
 1.1.2.1 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.3 04-Jan-2001  itojun nuke obsolete Makefile templates.
split build-sh3 into two, for sh3e[bl].
 1.2 13-Sep-1999  itojun branches: 1.2.2;
add local def for CXX.
 1.1 13-Sep-1999  itojun Merge in NetBSD/sh3 from cvs.kame.net repository.

Tree structure:
- sys/arch/sh3: sh3 generic code
As commented, in-chip device drivers are put into sys/arch/sh3/dev.
- sys/arch/evbsh3: sh3 evaluation boards (pure sh3 CPU, no fancy external HW)
- sys/arch/mmeye: Brains mmEye, www.brains.co.jp
MI source code includes couple of #ifdef for sh3-coff support.
(sh3 uses coff or elf)

Needs some more improvements, especialy in sys/arch/sh3/conf/files.sh3,
to compile the tree (due to last minute tree structure change).
 1.2.2.1 05-Jan-2001  bouyer Sync with HEAD
 1.11 24-Feb-2002  uch branches: 1.11.10;
clean up Makefiles
 1.10 27-Feb-2001  msaitoh branches: 1.10.4;
modify target name because we can't recommend to use pkgsrc/cross
(though I'm not the person who did such BAD modification)
 1.9 26-Feb-2001  msaitoh 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
 1.8 26-Feb-2001  msaitoh add "MACHINE_CPU=sh3"
 1.7 09-Jan-2001  itojun pass the right $CPP
 1.6 04-Jan-2001  itojun branches: 1.6.2;
committed local change by mistake :-)
 1.5 04-Jan-2001  itojun pkgsrc/cross/sh-* do not supply cpp
 1.4 04-Jan-2001  itojun cc -v is too verbose
 1.3 04-Jan-2001  itojun fix pathname to meet pkgsrc/cross/sh*
 1.2 04-Jan-2001  itojun content were mixed up
 1.1 04-Jan-2001  itojun nuke obsolete Makefile templates.
split build-sh3 into two, for sh3e[bl].
 1.6.2.4 12-Mar-2001  bouyer Sync with HEAD.
 1.6.2.3 18-Jan-2001  bouyer Sync with head (for UBC+NFS fixes, mostly).
 1.6.2.2 05-Jan-2001  bouyer Sync with HEAD
 1.6.2.1 04-Jan-2001  bouyer file build-sh3.eb was added on branch thorpej_scsipi on 2001-01-05 17:34:59 +0000
 1.10.4.1 16-Mar-2002  jdolecek Catch up with -current.
 1.11.10.2 24-Feb-2002  uch clean up Makefiles
 1.11.10.1 24-Feb-2002  uch file build-sh3.eb was added on branch nathanw_sa on 2002-02-24 20:10:55 +0000
 1.11 24-Feb-2002  uch branches: 1.11.10;
clean up Makefiles
 1.10 27-Feb-2001  msaitoh branches: 1.10.4;
modify target name because we can't recommend to use pkgsrc/cross
(though I'm not the person who did such BAD modification)
 1.9 26-Feb-2001  msaitoh 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
 1.8 26-Feb-2001  msaitoh add "MACHINE_CPU=sh3"
 1.7 17-Jan-2001  itojun it looks that gas configured for little endian output runs as
big endian assembler, sometimes. explicitly have -little to specify
little endian output.
 1.6 09-Jan-2001  itojun pass the right $CPP
 1.5 04-Jan-2001  itojun branches: 1.5.2;
pkgsrc/cross/sh-* do not supply cpp
 1.4 04-Jan-2001  itojun cc -v is too verbose
 1.3 04-Jan-2001  itojun fix pathname to meet pkgsrc/cross/sh*
 1.2 04-Jan-2001  itojun content were mixed up
 1.1 04-Jan-2001  itojun nuke obsolete Makefile templates.
split build-sh3 into two, for sh3e[bl].
 1.5.2.4 12-Mar-2001  bouyer Sync with HEAD.
 1.5.2.3 18-Jan-2001  bouyer Sync with head (for UBC+NFS fixes, mostly).
 1.5.2.2 05-Jan-2001  bouyer Sync with HEAD
 1.5.2.1 04-Jan-2001  bouyer file build-sh3.el was added on branch thorpej_scsipi on 2001-01-05 17:35:00 +0000
 1.10.4.1 16-Mar-2002  jdolecek Catch up with -current.
 1.11.10.2 24-Feb-2002  uch clean up Makefiles
 1.11.10.1 24-Feb-2002  uch file build-sh3.el was added on branch nathanw_sa on 2002-02-24 20:10:56 +0000
 1.48 21-Oct-2020  christos make process_machdep.c included always since it provides register i/o used by
sys_process_getlwpstatus.c which is always included.
 1.47 20-Oct-2020  christos harmonize process_machdep.c inclusion.
 1.46 26-Jul-2011  dyoung Build sh3/sh3/sh3_bus_space.c only for mmeye.
 1.45 25-Jul-2011  dyoung Move some macros back to sh3/include/bus_funcs.h from
sh3/sh3/sh3_machdep.c, where I moved them by mistake.

Pull the bus_space(9) routines into a new module,
sh3/sh3/sh3_bus_space.c, that is built only on !landisk.

Fixes the mmeye and landisk builds. Should fix other sh3 ports.
 1.44 12-Jun-2011  rmind Welcome to 5.99.53! Merge rmind-uvmplock branch:

- Reorganize locking in UVM and provide extra serialisation for pmap(9).
New lock order: [vmpage-owner-lock] -> pmap-lock.

- Simplify locking in some pmap(9) modules by removing P->V locking.

- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share
the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).

- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner.
Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.

- Unify /dev/mem et al in MI code and provide required locking (removes
kernel-lock on some ports). Also, avoid cache-aliasing issues.

Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches
formed the core changes of this branch.
 1.43 22-Nov-2008  uwe branches: 1.43.8; 1.43.14;
Sort
 1.42 22-Nov-2008  uwe Move COMPAT_16 signal stuff to the new compat_16_machdep.c file, so
that it can be built as part of a module.
 1.41 19-Nov-2008  ad Make the emulations, exec formats, coredump, NFS, and the NFS server
into modules. By and large this commit:

- shuffles header files and ifdefs
- splits code out where necessary to be modular
- adds module glue for each of the components
- adds/replaces hooks for things that can be installed at runtime
 1.40 15-Mar-2008  uwe branches: 1.40.4; 1.40.10; 1.40.12;
defflag cache related options.
 1.39 02-Feb-2008  uwe branches: 1.39.2; 1.39.6;
Add cpu_in_cksum.S
 1.38 01-Feb-2008  tsutsui Catch up with "Refactor in_cksum/in4_cksum/in6_cksum implementations".
 1.37 25-Jan-2008  joerg Refactor in_cksum/in4_cksum/in6_cksum implementations:
- All three functions are included in the kernel by default.
They call a backend function cpu_in_cksum after possibly
computing the checksum of the pseudo header.
- cpu_in_cksum is the core to implement the one-complement sum.
The default implementation is moderate fast on most platforms
and provides a 32bit accumulator with 16bit addends for L32 platforms
and a 64bit accumulator with 32bit addends for L64 platforms.
It handles edge cases like very large mbuf chains (could happen with
native IPv6 in the future) and provides a good base for new native
implementations.
- Modify i386 and amd64 assembly to use the new interface.

This disables the MD implementations on !x86 until the conversion is
done. For Alpha, the portable version is faster.
 1.36 06-Jan-2008  ad Add MODULAR option. Include kernel linker stuff if MODULAR.
 1.35 17-Oct-2007  garbled branches: 1.35.2; 1.35.8;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.34 07-Jul-2007  tsutsui branches: 1.34.10;
Remove leftover netns stuff.
 1.33 22-Feb-2007  uwe branches: 1.33.4; 1.33.6; 1.33.12;
Add lock_stubs.S with fake _lock_cas - just to make the kernel compile
for now.
 1.32 11-Dec-2005  christos branches: 1.32.26;
merge ktrace-lwp.
 1.31 10-Jul-2005  uwe Implement syscall_intern for sh3.
 1.30 27-Jul-2003  thorpej branches: 1.30.16;
Since everyone uses clock_subr.c (or should, if they don't currently),
list it in conf/files instead of in every port's files.*.
 1.29 08-May-2003  christos branches: 1.29.2;
rename Locore.c -> locore_c.c so that we can compile on case insensitive
filesystems. (from John Gordon)
 1.28 10-May-2002  uch branches: 1.28.6;
remove COMPAT_13 staff. No 1.3 release of sh3 port. these are trace of
i386 port.
 1.27 09-May-2002  uch rework general exception, and TLB exception handling for new pmap.
all exception staffs are moved to exception.[ch]
 1.26 20-Apr-2002  thorpej * Defflag the SH3 and SH4 options.
* In <sh3/cputypes.h>, always define both SH3 and SH4 if _LKM is defined.
 1.25 27-Mar-2002  uch All the sh3 ports had an identical procfs_machdep.c, so use a common
file under arch/sh3/sh3.
 1.24 24-Mar-2002  uch 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.
 1.23 17-Mar-2002  uch cosmetic changes, fix comments.
 1.22 17-Mar-2002  uch add kernel stack debug option.
 1.21 02-Mar-2002  uch Initial support for KGDB on the sh3.
 1.20 28-Feb-2002  uch Cleanup register definition
 1.19 24-Feb-2002  uch 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.
 1.18 22-Feb-2002  uch NetBSD/sh3 common part of clock routine.
 1.17 19-Feb-2002  uch 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.
 1.16 17-Feb-2002  uch Add new MMU API. for detail, see sh3/mmu.h's comment.
 1.15 11-Feb-2002  uch add new cache routine.
 1.14 20-Nov-2001  lukem - 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
 1.13 10-Aug-2001  msaitoh G.C.
 1.12 23-Apr-2001  uch branches: 1.12.2;
dreamcast clock module was separated.
 1.11 21-Feb-2001  uch branches: 1.11.2;
move disksubr.c define to machine-port.
 1.10 06-Feb-2001  uch move machine-port specific file to machine directory.
for evbsh3, mmeye and dreamcast, use MI md_root.c
 1.9 04-Sep-2000  tsubai Disassembly support in DDB.
 1.8 06-Apr-2000  jdolecek 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.
 1.7 14-Feb-2000  thorpej Allow arch-specific code to specify in4_cksum() like it can specify
in_cksum().
 1.6 14-Jan-2000  msaitoh use clock_subr.c
 1.5 14-Jan-2000  msaitoh in_cksum.c ->in_cksum.S
 1.4 21-Sep-1999  tsubai branches: 1.4.2;
Move common parts of machdep.c to sh3_machdep.c.
 1.3 14-Sep-1999  tsubai Catch up with -current.
 1.2 13-Sep-1999  msaitoh remove mainbus pseudo floppy drive
 1.1 13-Sep-1999  itojun Merge in NetBSD/sh3 from cvs.kame.net repository.

Tree structure:
- sys/arch/sh3: sh3 generic code
As commented, in-chip device drivers are put into sys/arch/sh3/dev.
- sys/arch/evbsh3: sh3 evaluation boards (pure sh3 CPU, no fancy external HW)
- sys/arch/mmeye: Brains mmEye, www.brains.co.jp
MI source code includes couple of #ifdef for sh3-coff support.
(sh3 uses coff or elf)

Needs some more improvements, especialy in sys/arch/sh3/conf/files.sh3,
to compile the tree (due to last minute tree structure change).
 1.4.2.3 12-Mar-2001  bouyer Sync with HEAD.
 1.4.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.4.2.1 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.11.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.12.2.4 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.12.2.3 16-Mar-2002  jdolecek Catch up with -current.
 1.12.2.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.12.2.1 25-Aug-2001  thorpej Merge Aug 24 -current into the kqueue branch.
 1.28.6.2 10-May-2002  uch remove COMPAT_13 staff. No 1.3 release of sh3 port. these are trace of
i386 port.
 1.28.6.1 10-May-2002  uch file files.sh3 was added on branch nathanw_sa on 2002-05-10 15:25:14 +0000
 1.29.2.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.29.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.29.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.29.2.1 03-Aug-2004  skrll Sync with HEAD
 1.30.16.6 17-Mar-2008  yamt sync with head.
 1.30.16.5 04-Feb-2008  yamt sync with head.
 1.30.16.4 21-Jan-2008  yamt sync with head
 1.30.16.3 03-Sep-2007  yamt sync with head.
 1.30.16.2 26-Feb-2007  yamt sync with head.
 1.30.16.1 21-Jun-2006  yamt sync with head.
 1.32.26.1 27-Feb-2007  yamt - sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
 1.33.12.1 03-Oct-2007  garbled Sync with HEAD
 1.33.6.1 11-Jul-2007  mjf Sync with head.
 1.33.4.1 15-Jul-2007  ad Sync with head.
 1.34.10.3 23-Mar-2008  matt sync with HEAD
 1.34.10.2 09-Jan-2008  matt sync with HEAD
 1.34.10.1 06-Nov-2007  matt sync with HEAD
 1.35.8.1 08-Jan-2008  bouyer Sync with HEAD
 1.35.2.1 18-Feb-2008  mjf Sync with HEAD.
 1.39.6.2 17-Jan-2009  mjf Sync with HEAD.
 1.39.6.1 03-Apr-2008  mjf Sync with HEAD.
 1.39.2.1 24-Mar-2008  keiichi sync with head.
 1.40.12.1 19-Jan-2009  skrll Sync with HEAD.
 1.40.10.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.40.4.1 04-May-2009  yamt sync with head.
 1.43.14.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.43.8.1 18-Mar-2010  rmind Unify /dev/{mem,kmem,zero,null} implementations in MI code. Based on patch
from Joerg Sonnenberger, proposed on tech-kern@, in February 2008.

Work and depression still in progress.
 1.5 20-Sep-2006  uwe Switch the rest of sh3 ports to todr(9)
Split code to handle on-chip rtc into a separate driver
Eliminate all todr code from clock.c
Move __HAVE_GENERIC_TODR to sh3/include/types.h
 1.4 11-Dec-2005  christos branches: 1.4.20; 1.4.22;
merge ktrace-lwp.
 1.3 18-Oct-2003  uwe branches: 1.3.16;
Config glue for adc(4).
 1.2 10-May-2002  uch branches: 1.2.6; 1.2.8; 1.2.14;
cosmetic changes.
 1.1 24-Mar-2002  uch shb device is integrated to sh3/dev/shb.c and clean up locators.
 1.2.14.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.14.2 18-Sep-2004  skrll Sync with HEAD.
 1.2.14.1 03-Aug-2004  skrll Sync with HEAD
 1.2.8.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.8.1 10-May-2002  jdolecek file files.shb was added on branch kqueue on 2002-06-23 17:40:33 +0000
 1.2.6.2 10-May-2002  uch cosmetic changes.
 1.2.6.1 10-May-2002  uch file files.shb was added on branch nathanw_sa on 2002-05-10 15:28:46 +0000
 1.3.16.1 30-Dec-2006  yamt sync with head.
 1.4.22.1 22-Oct-2006  yamt sync with head
 1.4.20.1 18-Nov-2006  ad Sync with head.
 1.2 11-Dec-2005  christos branches: 1.2.18;
merge ktrace-lwp.
 1.1 16-Aug-2005  nonaka branches: 1.1.6;
Added SH7751{,R} integrated PCI controller support.
 1.1.6.2 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.1.6.1 16-Aug-2005  skrll file files.shpcic was added on branch ktrace-lwp on 2005-11-10 13:58:37 +0000
 1.2.18.2 21-Jun-2006  yamt sync with head.
 1.2.18.1 11-Dec-2005  yamt file files.shpcic was added on branch yamt-lazymbuf on 2006-06-21 14:55:31 +0000
 1.7 04-Jun-2021  martin Sprinkle a few VMSWAP_DEFAULT_PLAINTEXT for architectures where we do not
have any spare cpu cycles to waste (encrypted swap still could be
enabled by the admin in /etc/sysctl.conf).
 1.6 02-Feb-2008  uwe branches: 1.6.8; 1.6.116; 1.6.120;
Add back std.sh3. For now it contains obvious EXEC_* options and
CPU_IN_CKSUM.

Introduce std.sh3e{b,l} that include std.sh3 and just add
corresponding endianness options.
 1.5 14-Sep-2001  msaitoh branches: 1.5.12; 1.5.24; 1.5.62;
remove obsolete file
 1.4 22-Jun-2000  fvdl branches: 1.4.2; 1.4.4;
Remove prefix construction for softdeps. Add SOFTDEP option to GENERIC.
 1.3 23-Feb-2000  msaitoh branches: 1.3.4;
remove PMAP_NEW
 1.2 15-Nov-1999  fvdl Add

prefix ../gnu/sys
cinclude "conf/files.softdep"
prefix

to all std.* files, so that soft dependencies can be activated using
"options SOFTDEP".
 1.1 13-Sep-1999  itojun branches: 1.1.2; 1.1.8;
Merge in NetBSD/sh3 from cvs.kame.net repository.

Tree structure:
- sys/arch/sh3: sh3 generic code
As commented, in-chip device drivers are put into sys/arch/sh3/dev.
- sys/arch/evbsh3: sh3 evaluation boards (pure sh3 CPU, no fancy external HW)
- sys/arch/mmeye: Brains mmEye, www.brains.co.jp
MI source code includes couple of #ifdef for sh3-coff support.
(sh3 uses coff or elf)

Needs some more improvements, especialy in sys/arch/sh3/conf/files.sh3,
to compile the tree (due to last minute tree structure change).
 1.1.8.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.2.1 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.3.4.1 23-Jun-2000  fvdl As on the trunk, update these for the move of ffs_softdep.c into the
kernel source itself. Remove prefix construction, and add the SOFTDEP
option to GENERIC kernels.
 1.4.4.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.4.2.1 01-Oct-2001  fvdl Catch up with -current.
 1.5.62.1 18-Feb-2008  mjf Sync with HEAD.
 1.5.24.1 04-Feb-2008  yamt sync with head.
 1.5.12.2 14-Sep-2001  msaitoh remove obsolete file
 1.5.12.1 14-Sep-2001  msaitoh file std.sh3 was added on branch nathanw_sa on 2001-09-14 11:39:40 +0000
 1.6.120.1 06-Jun-2021  cjep sync with head
 1.6.116.1 17-Jun-2021  thorpej Sync w/ HEAD.
 1.6.8.2 23-Mar-2008  matt sync with HEAD
 1.6.8.1 02-Feb-2008  matt file std.sh3 was added on branch matt-armv6 on 2008-03-23 02:04:21 +0000
 1.1 02-Feb-2008  uwe branches: 1.1.2; 1.1.4; 1.1.12;
Add back std.sh3. For now it contains obvious EXEC_* options and
CPU_IN_CKSUM.

Introduce std.sh3e{b,l} that include std.sh3 and just add
corresponding endianness options.
 1.1.12.2 23-Mar-2008  matt sync with HEAD
 1.1.12.1 02-Feb-2008  matt file std.sh3eb was added on branch matt-armv6 on 2008-03-23 02:04:21 +0000
 1.1.4.2 18-Feb-2008  mjf Sync with HEAD.
 1.1.4.1 02-Feb-2008  mjf file std.sh3eb was added on branch mjf-devfs on 2008-02-18 21:05:00 +0000
 1.1.2.2 04-Feb-2008  yamt sync with head.
 1.1.2.1 02-Feb-2008  yamt file std.sh3eb was added on branch yamt-lazymbuf on 2008-02-04 09:22:29 +0000
 1.1 02-Feb-2008  uwe branches: 1.1.2; 1.1.4; 1.1.12;
Add back std.sh3. For now it contains obvious EXEC_* options and
CPU_IN_CKSUM.

Introduce std.sh3e{b,l} that include std.sh3 and just add
corresponding endianness options.
 1.1.12.2 23-Mar-2008  matt sync with HEAD
 1.1.12.1 02-Feb-2008  matt file std.sh3el was added on branch matt-armv6 on 2008-03-23 02:04:21 +0000
 1.1.4.2 18-Feb-2008  mjf Sync with HEAD.
 1.1.4.1 02-Feb-2008  mjf file std.sh3el was added on branch mjf-devfs on 2008-02-18 21:05:00 +0000
 1.1.2.2 04-Feb-2008  yamt sync with head.
 1.1.2.1 02-Feb-2008  yamt file std.sh3el was added on branch yamt-lazymbuf on 2008-02-04 09:22:29 +0000

RSS XML Feed