Home | History | Annotate | only in /src/sys/arch/evbsh3
History log of /src/sys/arch/evbsh3
RevisionDateAuthorComments
 1.3 25-Oct-2008  apb Use ${TOOL_SED} instead if plain sed in Makefiles.
 1.2 06-Jan-2003  lukem branches: 1.2.104; 1.2.108; 1.2.114;
Rework how KERNOBJDIR functions; now it's always determined with
cd ${KERNSRCDIR}/${KERNARCHDIR}/compile && ${PRINTOBJDIR}
This is far simpler than the previous system, and more robust with
objdirs built via BSDOBJDIR.

The previous method of finding KERNOBJDIR when using BSDOBJDIR by
referencing _SRC_TOP_OBJ_ from another directory was extremely
fragile due to the depth first tree walk by <bsd.subdir.mk>, and
the caching of _SRC_TOP_OBJ_ (with MAKEOVERRIDES) which would be
empty on the *first* pass to create fresh objdirs.

This change requires adding sys/arch/*/compile/Makefile to create
the objdir in that directory, and descending into arch/*/compile
from arch/*/Makefile. Remove the now-unnecessary .keep_me files
whilst here.

Per lengthy discussion with Andrew Brown.
 1.1 13-Sep-1999  itojun branches: 1.1.30;
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.30.1 07-Jan-2003  thorpej Sync with HEAD.
 1.2.114.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.2.108.1 04-May-2009  yamt sync with head.
 1.2.104.1 17-Jan-2009  mjf Sync with HEAD.
 1.2 21-Jan-2012  nonaka fix my license notice.
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6; 1.1.14; 1.1.18;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.18.1 18-Feb-2012  mrg merge to -current.
 1.1.14.1 17-Apr-2012  yamt sync with head
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file ap_ms104_sh4.c was added on branch yamt-nfs-mp on 2010-08-11 22:51:56 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file ap_ms104_sh4.c was added on branch rmind-uvmplock on 2010-05-30 05:16:44 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file ap_ms104_sh4.c was added on branch uebayasi-xip on 2010-04-30 14:39:19 +0000
 1.4 21-Nov-2020  thorpej malloc(9) -> kmem(9)
 1.3 10-Nov-2019  chs branches: 1.3.8;
in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.
 1.2 21-Jan-2012  nonaka branches: 1.2.48;
fix my license notice.
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6; 1.1.14; 1.1.18;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.18.1 18-Feb-2012  mrg merge to -current.
 1.1.14.1 17-Apr-2012  yamt sync with head
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file ap_ms104_sh4_intr.c was added on branch yamt-nfs-mp on 2010-08-11 22:51:56 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file ap_ms104_sh4_intr.c was added on branch rmind-uvmplock on 2010-05-30 05:16:44 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file ap_ms104_sh4_intr.c was added on branch uebayasi-xip on 2010-04-30 14:39:19 +0000
 1.2.48.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.3.8.1 14-Dec-2020  thorpej Sync w/ HEAD.
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file ap_ms104_sh4_space.c was added on branch yamt-nfs-mp on 2010-08-11 22:51:56 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file ap_ms104_sh4_space.c was added on branch rmind-uvmplock on 2010-05-30 05:16:44 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file ap_ms104_sh4_space.c was added on branch uebayasi-xip on 2010-04-30 14:39:19 +0000
 1.2 21-Jan-2012  nonaka fix my license notice.
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6; 1.1.14; 1.1.18;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.18.1 18-Feb-2012  mrg merge to -current.
 1.1.14.1 17-Apr-2012  yamt sync with head
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file ap_ms104_sh4reg.h was added on branch yamt-nfs-mp on 2010-08-11 22:51:56 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file ap_ms104_sh4reg.h was added on branch rmind-uvmplock on 2010-05-30 05:16:45 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file ap_ms104_sh4reg.h was added on branch uebayasi-xip on 2010-04-30 14:39:19 +0000
 1.2 21-Jan-2012  nonaka fix my license notice.
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6; 1.1.14; 1.1.18;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.18.1 18-Feb-2012  mrg merge to -current.
 1.1.14.1 17-Apr-2012  yamt sync with head
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file ap_ms104_sh4var.h was added on branch yamt-nfs-mp on 2010-08-11 22:51:56 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file ap_ms104_sh4var.h was added on branch rmind-uvmplock on 2010-05-30 05:16:45 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file ap_ms104_sh4var.h was added on branch uebayasi-xip on 2010-04-30 14:39:19 +0000
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file clock_machdep.c was added on branch yamt-nfs-mp on 2010-08-11 22:51:56 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file clock_machdep.c was added on branch rmind-uvmplock on 2010-05-30 05:16:45 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file clock_machdep.c was added on branch uebayasi-xip on 2010-04-30 14:39:19 +0000
 1.4 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.3 21-Jan-2012  nonaka branches: 1.3.6;
fix my license notice.
 1.2 19-Jul-2011  dyoung branches: 1.2.2; 1.2.6;
Change <machine/bus.h> to <sys/bus.h> throughout.

Split bus.h -> bus_{defs,funcs}.h.

Mark evbsh3/bus.h obsolete.
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file if_sm_mainbus.c was added on branch yamt-nfs-mp on 2010-08-11 22:51:56 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file if_sm_mainbus.c was added on branch rmind-uvmplock on 2010-05-30 05:16:45 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file if_sm_mainbus.c was added on branch uebayasi-xip on 2010-04-30 14:39:19 +0000
 1.2.6.1 18-Feb-2012  mrg merge to -current.
 1.2.2.2 30-Oct-2012  yamt sync with head
 1.2.2.1 17-Apr-2012  yamt sync with head
 1.3.6.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.2 21-Jan-2012  nonaka fix my license notice.
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6; 1.1.14; 1.1.18;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.18.1 18-Feb-2012  mrg merge to -current.
 1.1.14.1 17-Apr-2012  yamt sync with head
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file rs5c316_mainbus.c was added on branch yamt-nfs-mp on 2010-08-11 22:51:56 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file rs5c316_mainbus.c was added on branch rmind-uvmplock on 2010-05-30 05:16:45 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file rs5c316_mainbus.c was added on branch uebayasi-xip on 2010-04-30 14:39:19 +0000
 1.7 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.6 24-Apr-2021  thorpej branches: 1.6.8;
Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
actually needed.
- Don't be explicit about what interface attribute is attaching if
the device only has one. (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
situations, making is visibly easier to see when indirect config is
in play, and allowing for future change in semantics. (As of now,
this is just a wrapper around config_match(), but that is an
implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.5 21-Nov-2020  thorpej branches: 1.5.2;
malloc(9) -> kmem(9)
 1.4 27-Oct-2012  chs branches: 1.4.50;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.3 21-Jan-2012  nonaka branches: 1.3.6;
fix my license notice.
 1.2 26-Jul-2011  dyoung branches: 1.2.2; 1.2.6;
Don't set the iobase and iosize members of pcmciabus_attach_args because
they're not used in any meaningful way.
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file shpcmcia.c was added on branch yamt-nfs-mp on 2010-08-11 22:51:56 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file shpcmcia.c was added on branch rmind-uvmplock on 2010-05-30 05:16:45 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file shpcmcia.c was added on branch uebayasi-xip on 2010-04-30 14:39:19 +0000
 1.2.6.1 18-Feb-2012  mrg merge to -current.
 1.2.2.2 30-Oct-2012  yamt sync with head
 1.2.2.1 17-Apr-2012  yamt sync with head
 1.3.6.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.4.50.1 14-Dec-2020  thorpej Sync w/ HEAD.
 1.5.2.1 23-Mar-2021  thorpej Convert config_found_ia() call sites where the device only carries
a single interface attribute to bare config_found() calls.
 1.6.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.2 06-Jan-2003  lukem Rework how KERNOBJDIR functions; now it's always determined with
cd ${KERNSRCDIR}/${KERNARCHDIR}/compile && ${PRINTOBJDIR}
This is far simpler than the previous system, and more robust with
objdirs built via BSDOBJDIR.

The previous method of finding KERNOBJDIR when using BSDOBJDIR by
referencing _SRC_TOP_OBJ_ from another directory was extremely
fragile due to the depth first tree walk by <bsd.subdir.mk>, and
the caching of _SRC_TOP_OBJ_ (with MAKEOVERRIDES) which would be
empty on the *first* pass to create fresh objdirs.

This change requires adding sys/arch/*/compile/Makefile to create
the objdir in that directory, and descending into arch/*/compile
from arch/*/Makefile. Remove the now-unnecessary .keep_me files
whilst here.

Per lengthy discussion with Andrew Brown.
 1.1 13-Sep-1999  itojun branches: 1.1.30;
add compilation directory.
 1.1.30.1 07-Jan-2003  thorpej Sync with HEAD.
 1.1 06-Jan-2003  lukem branches: 1.1.2;
Rework how KERNOBJDIR functions; now it's always determined with
cd ${KERNSRCDIR}/${KERNARCHDIR}/compile && ${PRINTOBJDIR}
This is far simpler than the previous system, and more robust with
objdirs built via BSDOBJDIR.

The previous method of finding KERNOBJDIR when using BSDOBJDIR by
referencing _SRC_TOP_OBJ_ from another directory was extremely
fragile due to the depth first tree walk by <bsd.subdir.mk>, and
the caching of _SRC_TOP_OBJ_ (with MAKEOVERRIDES) which would be
empty on the *first* pass to create fresh objdirs.

This change requires adding sys/arch/*/compile/Makefile to create
the objdir in that directory, and descending into arch/*/compile
from arch/*/Makefile. Remove the now-unnecessary .keep_me files
whilst here.

Per lengthy discussion with Andrew Brown.
 1.1.2.2 07-Jan-2003  thorpej Sync with HEAD.
 1.1.2.1 06-Jan-2003  thorpej file Makefile was added on branch nathanw_sa on 2003-01-07 21:07:45 +0000
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file clock_machdep.c was added on branch yamt-nfs-mp on 2010-08-11 22:51:56 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file clock_machdep.c was added on branch rmind-uvmplock on 2010-05-30 05:16:46 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file clock_machdep.c was added on branch uebayasi-xip on 2010-04-30 14:39:19 +0000
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file computex7750.c was added on branch yamt-nfs-mp on 2010-08-11 22:51:56 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file computex7750.c was added on branch rmind-uvmplock on 2010-05-30 05:16:46 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file computex7750.c was added on branch uebayasi-xip on 2010-04-30 14:39:19 +0000
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file clock_machdep.c was added on branch yamt-nfs-mp on 2010-08-11 22:51:56 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file clock_machdep.c was added on branch rmind-uvmplock on 2010-05-30 05:16:46 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file clock_machdep.c was added on branch uebayasi-xip on 2010-04-30 14:39:19 +0000
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file computexevb.c was added on branch yamt-nfs-mp on 2010-08-11 22:51:56 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file computexevb.c was added on branch rmind-uvmplock on 2010-05-30 05:16:46 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file computexevb.c was added on branch uebayasi-xip on 2010-04-30 14:39:19 +0000
 1.12 26-Apr-2019  sevan Enable BUFQ_PRIOCSCAN, CARP, Veriexec by default in GENERIC kernel configs.
On ports without a GENERIC kernel config enable in individul files, e.g evbmips.
Omit on:
atari, dreamcast, emips, epoc32, evbppc/VIRTEX*, ia64, luna68x, mvme68k,
mvmeppc, playstation2, riscv, sun2, sun3, x68k, zaurus due to resource
constraints or port infancy.
 1.11 14-Sep-2017  mrg branches: 1.11.4;
clean up COMPAT_* options for native netbsd code:
- new series of files that are useful for saying "i want everything
since netbsd 1.4", etc.
- use the fact COMPAT_* options have future dependancies to remove
many redundant options.

removes about 3000 lines total across kernel configuration files.
tested about 30 random kernels in the changed list.
 1.10 07-Aug-2015  maxv Remove the KMEMSTATS option. It no longer exists.
 1.9 23-Aug-2014  dholland branches: 1.9.2;
Systematize (and in many cases, fix) the comments on options COMPAT_NN.

There are quite a few configs that are missing some COMPAT_NN options
in ways that don't make sense; this should probably get cleaned up
too, but for the time being I've not added or removed anything.
 1.8 17-Aug-2014  joerg Reorganize symbol table embedding. The existing option SYMTAB_SPACE is
replaced by the make option COPY_SYMTAB set to any value. The copy of
the symbol table is no longer put into a buffer in kern_ksyms.o, but a
small helper object. This object is build first with a dummy size, then
the kernel is linked to compute the real dimension of the symbol table
buffer. After that, the helper object is rebuild and the kernel linked
again.
 1.7 16-Aug-2014  apb Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
 1.6 24-Mar-2014  szptvlfn fix manual section numbering of sysctl.
thanks wiz@
 1.5 17-Oct-2012  apb branches: 1.5.2;
Add "options COMPAT_60" to all kernel configuration files
that already had "options COMPAT_50".
 1.4 18-Dec-2011  dholland branches: 1.4.6;
WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.3 22-Nov-2011  tls branches: 1.3.2;

The rnd pseudo-device is not really optional, because it is in the same
source file as the entropy-pool code itself. Move it to std. This
will be cleaned up more when I split the sources up as they should be.

This fixes build breaks on several ports. Thanks to Havard Eidnes for
pointing them out.
 1.2 23-Nov-2010  hannken branches: 1.2.8;
Remove unused count from pseudo-device md.
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file AP_MS104_SH4 was added on branch yamt-nfs-mp on 2010-08-11 22:51:56 +0000
 1.1.4.3 05-Mar-2011  rmind sync with head
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file AP_MS104_SH4 was added on branch rmind-uvmplock on 2010-05-30 05:16:46 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file AP_MS104_SH4 was added on branch uebayasi-xip on 2010-04-30 14:39:19 +0000
 1.2.8.3 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.2.8.2 30-Oct-2012  yamt sync with head
 1.2.8.1 17-Apr-2012  yamt sync with head
 1.3.2.1 18-Feb-2012  mrg merge to -current.
 1.4.6.3 03-Dec-2017  jdolecek update from HEAD
 1.4.6.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.4.6.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.5.2.1 18-May-2014  rmind sync with head
 1.9.2.1 22-Sep-2015  skrll Sync with HEAD
 1.11.4.1 10-Jun-2019  christos Sync with HEAD
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file AP_MS104_SH4_INSTALL was added on branch yamt-nfs-mp on 2010-08-11 22:51:57 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file AP_MS104_SH4_INSTALL was added on branch rmind-uvmplock on 2010-05-30 05:16:46 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file AP_MS104_SH4_INSTALL was added on branch uebayasi-xip on 2010-04-30 14:39:19 +0000
 1.32 07-Aug-2022  simonb UFS/LFS dirhash:
- Enable UFS_DIRHASH if the architecture or kernel model specific config
file can use 128MB of RAM or more.
- Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel
and by a number of NetBSD developers for years.
- Add LFS_DIRHASH if LFS was enabled.
- Be somewhat consistent with FS options order.
 1.31 14-Sep-2017  mrg clean up COMPAT_* options for native netbsd code:
- new series of files that are useful for saying "i want everything
since netbsd 1.4", etc.
- use the fact COMPAT_* options have future dependancies to remove
many redundant options.

removes about 3000 lines total across kernel configuration files.
tested about 30 random kernels in the changed list.
 1.30 18-Dec-2011  dholland branches: 1.30.6;
WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.29 23-Nov-2010  hannken branches: 1.29.8; 1.29.12;
Remove unused count from pseudo-device md.
 1.28 06-Apr-2010  nonaka Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.27 06-Feb-2009  jym branches: 1.27.4; 1.27.6;
Changes to MEMORY_RBFLAGS option:
- renamed to MEMORY_DISK_RBFLAGS to better fit the rest of the
MEMORY_DISK options(4)
- change default value to RB_AUTOBOOT instead of RB_SINGLE, and adapt
the config(5) files accordingly
- document this option inside options(4)

See also http://mail-index.netbsd.org/tech-kern/2008/12/25/msg003924.html

Reviewed by abs@ in private mail.
 1.26 31-Jul-2008  simonb branches: 1.26.2;
Add "options WAPBL" to standard GENERIC/INSTALL type configs.
 1.25 20-Sep-2006  uwe branches: 1.25.52; 1.25.56; 1.25.58; 1.25.62;
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.24 07-Dec-2005  tsutsui branches: 1.24.20; 1.24.22;
Adjust comments for options FFS_NO_SNAPSHOT.

XXX: This option should be mentioned in options(4).
 1.23 18-Feb-2005  dsl branches: 1.23.6;
Invert FFS_SNAPSHOT to FFS_NO_SNAPSHOT
 1.22 10-Nov-2004  christos branches: 1.22.4; 1.22.6;
Add COMPAT_BSDPTY to the rest of the config files.
 1.21 15-Jul-2004  atatat Add "options SYSCTL_INCLUDE_DESCR" to a lot of configs, but commented
out in most of them.
 1.20 18-Sep-2002  lukem branches: 1.20.6; 1.20.8;
enable USERCONF by default; it's small and extremely useful to have available.
 1.19 17-Jun-2002  lukem branches: 1.19.2;
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"
 1.18 09-May-2002  uch branches: 1.18.2; 1.18.4;
IOM_RAM_BEGIN is changed to specify physical address.
 1.17 25-Apr-2002  atatat 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.
 1.16 22-Apr-2002  msaitoh remove unused option
 1.15 12-Apr-2002  gmcgarry Add commented-out USERCONF option. Mainly useful for install media
and can be optionally enabled based on miniroot and ramdisk size
requirements.
 1.14 02-Apr-2002  lukem 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...
 1.13 24-Mar-2002  uch adapted to new interrupt code and shb changes.
 1.12 10-Mar-2002  lukem * rename MINIROOTSIZE to MEMORY_DISK_SIZE, so that all md(4) options
are now consistently named
* fold opt_mdsize.h into opt_md.h
 1.11 28-Feb-2002  uch s/MMEYE_NO_CACHE/CACHE_DISABLE/
 1.10 27-Jan-2002  jdolecek 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
 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 03-Jan-2001  itojun branches: 1.8.4;
split big/little endian better.
 1.7 24-Sep-2000  jdolecek branches: 1.7.2;
don't specify number of ptys if >= 16 (current default initial number)
pty comments: normalize and g/c what is no longer relevant
 1.6 12-Aug-2000  msaitoh - enable KERNFS and PROCFS
- disable NULLFS and UMAPFS
 1.5 12-Aug-2000  msaitoh - remove "options PMAP_NEW"
- enable "options INET"
- enable "pseudo-device loop"
 1.4 03-Aug-2000  msaitoh add COMPAT_14
 1.3 31-Jul-2000  msaitoh use 'makeoptions LDSCRIPTBASE="sh.x"' (or shl.x) to select ldscript file
 1.2 22-Mar-2000  cgd branches: 1.2.4;
add commented out option PCI_CONFIG_DUMP whever there's a PCIVERBOSE.
 1.1 20-Mar-2000  msaitoh Computex's SH7750 evaluation board
 1.2.4.1 08-Aug-2000  msaitoh Pullup revision 1.3-1.4 (approved by thorpej):

- use makeoptions to select ldscript file
- add COMPAT_14
 1.7.2.3 05-Jan-2001  bouyer Sync with HEAD
 1.7.2.2 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.7.2.1 24-Sep-2000  bouyer file COMPUTEX7750 was added on branch thorpej_scsipi on 2000-11-20 20:07:34 +0000
 1.8.4.6 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.8.4.5 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.8.4.4 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.8.4.3 16-Mar-2002  jdolecek Catch up with -current.
 1.8.4.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.8.4.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.18.4.1 01-Aug-2002  lukem Pull up revision 1.19 (requested by lukem in ticket #312):
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"
 1.18.2.1 14-Jul-2002  gehenna catch up with -current.
 1.19.2.2 18-Oct-2002  nathanw Catch up to -current.
 1.19.2.1 17-Jun-2002  nathanw file COMPUTEX7750 was added on branch nathanw_sa on 2002-10-18 02:36:40 +0000
 1.20.8.1 15-Jul-2004  he Pull up revision 1.21 (requested by atatat in ticket #663):
Add "options SYSCTL_INCLUDE_DESCR" to a lot of configurations,
but commented out in most of them.
 1.20.6.6 11-Dec-2005  christos Sync with head.
 1.20.6.5 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.20.6.4 14-Nov-2004  skrll Sync with HEAD.
 1.20.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.20.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.20.6.1 03-Aug-2004  skrll Sync with HEAD
 1.22.6.1 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.22.4.1 29-Apr-2005  kent sync with -current
 1.23.6.2 30-Dec-2006  yamt sync with head.
 1.23.6.1 21-Jun-2006  yamt sync with head.
 1.24.22.1 22-Oct-2006  yamt sync with head
 1.24.20.1 18-Nov-2006  ad Sync with head.
 1.25.62.1 19-Oct-2008  haad Sync with HEAD.
 1.25.58.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.25.56.2 11-Aug-2010  yamt sync with head.
 1.25.56.1 04-May-2009  yamt sync with head.
 1.25.52.1 28-Sep-2008  mjf Sync with HEAD.
 1.26.2.1 03-Mar-2009  skrll Sync with HEAD.
 1.27.6.2 05-Mar-2011  rmind sync with head
 1.27.6.1 30-May-2010  rmind sync with head
 1.27.4.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.29.12.1 18-Feb-2012  mrg merge to -current.
 1.29.8.1 17-Apr-2012  yamt sync with head
 1.30.6.1 03-Dec-2017  jdolecek update from HEAD
 1.33 14-Sep-2017  mrg clean up COMPAT_* options for native netbsd code:
- new series of files that are useful for saying "i want everything
since netbsd 1.4", etc.
- use the fact COMPAT_* options have future dependancies to remove
many redundant options.

removes about 3000 lines total across kernel configuration files.
tested about 30 random kernels in the changed list.
 1.32 18-Dec-2011  dholland branches: 1.32.6;
WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.31 23-Nov-2010  hannken branches: 1.31.8; 1.31.12;
Remove unused count from pseudo-device md.
 1.30 06-Apr-2010  nonaka Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.29 06-Feb-2009  jym branches: 1.29.4; 1.29.6;
Changes to MEMORY_RBFLAGS option:
- renamed to MEMORY_DISK_RBFLAGS to better fit the rest of the
MEMORY_DISK options(4)
- change default value to RB_AUTOBOOT instead of RB_SINGLE, and adapt
the config(5) files accordingly
- document this option inside options(4)

See also http://mail-index.netbsd.org/tech-kern/2008/12/25/msg003924.html

Reviewed by abs@ in private mail.
 1.28 31-Jul-2008  simonb branches: 1.28.2;
Add "options WAPBL" to standard GENERIC/INSTALL type configs.
 1.27 20-Sep-2006  uwe branches: 1.27.52; 1.27.56; 1.27.58; 1.27.62;
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.26 07-Dec-2005  tsutsui branches: 1.26.20; 1.26.22;
Adjust comments for options FFS_NO_SNAPSHOT.

XXX: This option should be mentioned in options(4).
 1.25 18-Feb-2005  dsl branches: 1.25.6;
Invert FFS_SNAPSHOT to FFS_NO_SNAPSHOT
 1.24 10-Nov-2004  christos branches: 1.24.4; 1.24.6;
Add COMPAT_BSDPTY to the rest of the config files.
 1.23 15-Jul-2004  atatat Add "options SYSCTL_INCLUDE_DESCR" to a lot of configs, but commented
out in most of them.
 1.22 18-Sep-2002  lukem branches: 1.22.6; 1.22.8;
enable USERCONF by default; it's small and extremely useful to have available.
 1.21 17-Jun-2002  lukem branches: 1.21.2;
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"
 1.20 09-May-2002  uch branches: 1.20.2; 1.20.4;
IOM_RAM_BEGIN is changed to specify physical address.
 1.19 25-Apr-2002  atatat 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.
 1.18 12-Apr-2002  gmcgarry Add commented-out USERCONF option. Mainly useful for install media
and can be optionally enabled based on miniroot and ramdisk size
requirements.
 1.17 02-Apr-2002  lukem 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...
 1.16 24-Mar-2002  uch adapted to new interrupt code and shb changes.
 1.15 10-Mar-2002  lukem * rename MINIROOTSIZE to MEMORY_DISK_SIZE, so that all md(4) options
are now consistently named
* fold opt_mdsize.h into opt_md.h
 1.14 17-Feb-2002  uch 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.
 1.13 27-Jan-2002  jdolecek 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
 1.12 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.11 20-Nov-2001  lukem - 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
 1.10 08-Jul-2001  abs branches: 1.10.2;
Standardise TCP_COMPAT_42 as commented out, grouped with other COMPAT options,
and with the comment '4.2BSD TCP/IP bug compat. Not recommended'
Add commented out 'TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG'
(All hail amiga and atari which make some attempt to automate the
multiplicity of config files...)
 1.9 03-Jan-2001  itojun split big/little endian better.
 1.8 29-Sep-2000  msaitoh branches: 1.8.2;
avoid SH7709A's serious bug (it fails to read IPR* registers under particular
circumstances)
 1.7 26-Sep-2000  msaitoh fix SDMR settings:

- s/BSC_SDMR_VAL/BSC_SDMR3_VAL/
- add options COMPUTEXEVB
 1.6 24-Sep-2000  jdolecek don't specify number of ptys if >= 16 (current default initial number)
pty comments: normalize and g/c what is no longer relevant
 1.5 31-Jul-2000  msaitoh use 'makeoptions LDSCRIPTBASE="sh.x"' (or shl.x) to select ldscript file
 1.4 24-Feb-2000  msaitoh branches: 1.4.4;
variable start address of the main memory (now we can use
the area 2 as main memory with "options IOM_RAM_BEGIN=0x88000000")
 1.3 24-Feb-2000  msaitoh watchdog timer
 1.2 07-Jan-2000  msaitoh s/ECOFF/COFF/ (comment only)
 1.1 27-Dec-1999  msaitoh computex(computex.co.jp)'s evaluation board.
 1.4.4.3 05-Nov-2000  tv Pullup 1.8 [msaitoh]:
avoid SH7709A's serious bug (it fails to read IPR* registers under particular
circumstances)
 1.4.4.2 29-Sep-2000  msaitoh Pullup revision 1.7 (approved by thorpej):

set SDMR3 register correctly
 1.4.4.1 08-Aug-2000  msaitoh Pullup revision 1.5 (approved by thorpej):

- use makeoptions to select ldscript file
- add COMPAT_14
 1.8.2.3 05-Jan-2001  bouyer Sync with HEAD
 1.8.2.2 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.8.2.1 29-Sep-2000  bouyer file COMPUTEXEVB was added on branch thorpej_scsipi on 2000-11-20 20:07:34 +0000
 1.10.2.6 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.10.2.5 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.10.2.4 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.10.2.3 16-Mar-2002  jdolecek Catch up with -current.
 1.10.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.10.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.20.4.1 01-Aug-2002  lukem Pull up revision 1.21 (requested by lukem in ticket #312):
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"
 1.20.2.1 14-Jul-2002  gehenna catch up with -current.
 1.21.2.2 18-Oct-2002  nathanw Catch up to -current.
 1.21.2.1 17-Jun-2002  nathanw file COMPUTEXEVB was added on branch nathanw_sa on 2002-10-18 02:36:40 +0000
 1.22.8.1 15-Jul-2004  he Pull up revision 1.23 (requested by atatat in ticket #663):
Add "options SYSCTL_INCLUDE_DESCR" to a lot of configurations,
but commented out in most of them.
 1.22.6.6 11-Dec-2005  christos Sync with head.
 1.22.6.5 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.22.6.4 14-Nov-2004  skrll Sync with HEAD.
 1.22.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.22.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.22.6.1 03-Aug-2004  skrll Sync with HEAD
 1.24.6.1 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.24.4.1 29-Apr-2005  kent sync with -current
 1.25.6.2 30-Dec-2006  yamt sync with head.
 1.25.6.1 21-Jun-2006  yamt sync with head.
 1.26.22.1 22-Oct-2006  yamt sync with head
 1.26.20.1 18-Nov-2006  ad Sync with head.
 1.27.62.1 19-Oct-2008  haad Sync with HEAD.
 1.27.58.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.27.56.2 11-Aug-2010  yamt sync with head.
 1.27.56.1 04-May-2009  yamt sync with head.
 1.27.52.1 28-Sep-2008  mjf Sync with HEAD.
 1.28.2.1 03-Mar-2009  skrll Sync with HEAD.
 1.29.6.2 05-Mar-2011  rmind sync with head
 1.29.6.1 30-May-2010  rmind sync with head
 1.29.4.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.31.12.1 18-Feb-2012  mrg merge to -current.
 1.31.8.1 17-Apr-2012  yamt sync with head
 1.32.6.1 03-Dec-2017  jdolecek update from HEAD
 1.35 07-Aug-2022  simonb UFS/LFS dirhash:
- Enable UFS_DIRHASH if the architecture or kernel model specific config
file can use 128MB of RAM or more.
- Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel
and by a number of NetBSD developers for years.
- Add LFS_DIRHASH if LFS was enabled.
- Be somewhat consistent with FS options order.
 1.34 14-Sep-2017  mrg clean up COMPAT_* options for native netbsd code:
- new series of files that are useful for saying "i want everything
since netbsd 1.4", etc.
- use the fact COMPAT_* options have future dependancies to remove
many redundant options.

removes about 3000 lines total across kernel configuration files.
tested about 30 random kernels in the changed list.
 1.33 18-Dec-2011  dholland branches: 1.33.6;
WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.32 23-Nov-2010  hannken branches: 1.32.8; 1.32.12;
Remove unused count from pseudo-device md.
 1.31 06-Apr-2010  nonaka Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.30 06-Feb-2009  jym branches: 1.30.4; 1.30.6;
Changes to MEMORY_RBFLAGS option:
- renamed to MEMORY_DISK_RBFLAGS to better fit the rest of the
MEMORY_DISK options(4)
- change default value to RB_AUTOBOOT instead of RB_SINGLE, and adapt
the config(5) files accordingly
- document this option inside options(4)

See also http://mail-index.netbsd.org/tech-kern/2008/12/25/msg003924.html

Reviewed by abs@ in private mail.
 1.29 31-Jul-2008  simonb branches: 1.29.2;
Add "options WAPBL" to standard GENERIC/INSTALL type configs.
 1.28 20-Sep-2006  uwe branches: 1.28.52; 1.28.56; 1.28.58; 1.28.62;
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.27 07-Dec-2005  tsutsui branches: 1.27.20; 1.27.22;
Adjust comments for options FFS_NO_SNAPSHOT.

XXX: This option should be mentioned in options(4).
 1.26 18-Feb-2005  dsl branches: 1.26.6;
Invert FFS_SNAPSHOT to FFS_NO_SNAPSHOT
 1.25 10-Nov-2004  christos branches: 1.25.4; 1.25.6;
Add COMPAT_BSDPTY to the rest of the config files.
 1.24 15-Jul-2004  atatat Add "options SYSCTL_INCLUDE_DESCR" to a lot of configs, but commented
out in most of them.
 1.23 18-Sep-2002  lukem branches: 1.23.6; 1.23.8;
enable USERCONF by default; it's small and extremely useful to have available.
 1.22 17-Jun-2002  lukem branches: 1.22.2;
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"
 1.21 09-May-2002  uch branches: 1.21.2; 1.21.4;
IOM_RAM_BEGIN is changed to specify physical address.
 1.20 25-Apr-2002  atatat 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.
 1.19 12-Apr-2002  gmcgarry Add commented-out USERCONF option. Mainly useful for install media
and can be optionally enabled based on miniroot and ramdisk size
requirements.
 1.18 02-Apr-2002  lukem 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...
 1.17 24-Mar-2002  uch adapted to new interrupt code and shb changes.
 1.16 10-Mar-2002  lukem * rename MINIROOTSIZE to MEMORY_DISK_SIZE, so that all md(4) options
are now consistently named
* fold opt_mdsize.h into opt_md.h
 1.15 17-Feb-2002  uch 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.
 1.14 27-Jan-2002  jdolecek 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
 1.13 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.12 20-Nov-2001  lukem - 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
 1.11 08-Jul-2001  abs branches: 1.11.2;
Standardise TCP_COMPAT_42 as commented out, grouped with other COMPAT options,
and with the comment '4.2BSD TCP/IP bug compat. Not recommended'
Add commented out 'TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG'
(All hail amiga and atari which make some attempt to automate the
multiplicity of config files...)
 1.10 03-Jan-2001  itojun split big/little endian better.
 1.9 24-Sep-2000  jdolecek don't specify number of ptys if >= 16 (current default initial number)
pty comments: normalize and g/c what is no longer relevant
 1.8 31-Jul-2000  msaitoh use 'makeoptions LDSCRIPTBASE="sh.x"' (or shl.x) to select ldscript file
 1.7 24-Feb-2000  msaitoh branches: 1.7.4;
variable start address of the main memory (now we can use
the area 2 as main memory with "options IOM_RAM_BEGIN=0x88000000")
 1.6 24-Feb-2000  msaitoh watchdog timer
 1.5 07-Jan-2000  msaitoh s/ECOFF/COFF/ (comment only)
 1.4 17-Sep-1999  msaitoh branches: 1.4.2;
options SCICONSOLE
options SCIFCONSOLE
 1.3 14-Sep-1999  tsubai Sync 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.2 05-Jan-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.7.4.1 08-Aug-2000  msaitoh Pullup revision 1.8 (approved by thorpej):

use makeoptions to select ldscript file
 1.11.2.6 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.11.2.5 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.11.2.4 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.11.2.3 16-Mar-2002  jdolecek Catch up with -current.
 1.11.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.11.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.21.4.1 01-Aug-2002  lukem Pull up revision 1.22 (requested by lukem in ticket #312):
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"
 1.21.2.1 14-Jul-2002  gehenna catch up with -current.
 1.22.2.2 18-Oct-2002  nathanw Catch up to -current.
 1.22.2.1 17-Jun-2002  nathanw file CQREEKSH3 was added on branch nathanw_sa on 2002-10-18 02:36:40 +0000
 1.23.8.1 15-Jul-2004  he Pull up revision 1.24 (requested by atatat in ticket #663):
Add "options SYSCTL_INCLUDE_DESCR" to a lot of configurations,
but commented out in most of them.
 1.23.6.6 11-Dec-2005  christos Sync with head.
 1.23.6.5 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.23.6.4 14-Nov-2004  skrll Sync with HEAD.
 1.23.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.23.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.23.6.1 03-Aug-2004  skrll Sync with HEAD
 1.25.6.1 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.25.4.1 29-Apr-2005  kent sync with -current
 1.26.6.2 30-Dec-2006  yamt sync with head.
 1.26.6.1 21-Jun-2006  yamt sync with head.
 1.27.22.1 22-Oct-2006  yamt sync with head
 1.27.20.1 18-Nov-2006  ad Sync with head.
 1.28.62.1 19-Oct-2008  haad Sync with HEAD.
 1.28.58.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.28.56.2 11-Aug-2010  yamt sync with head.
 1.28.56.1 04-May-2009  yamt sync with head.
 1.28.52.1 28-Sep-2008  mjf Sync with HEAD.
 1.29.2.1 03-Mar-2009  skrll Sync with HEAD.
 1.30.6.2 05-Mar-2011  rmind sync with head
 1.30.6.1 30-May-2010  rmind sync with head
 1.30.4.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.32.12.1 18-Feb-2012  mrg merge to -current.
 1.32.8.1 17-Apr-2012  yamt sync with head
 1.33.6.1 03-Dec-2017  jdolecek update from HEAD
 1.7 03-Jan-2001  itojun dreamcast went to sys/arch/dreamcast
 1.6 24-Sep-2000  jdolecek branches: 1.6.2;
don't specify number of ptys if >= 16 (current default initial number)
pty comments: normalize and g/c what is no longer relevant
 1.5 12-Aug-2000  msaitoh branches: 1.5.2;
- enable KERNFS and PROCFS
- disable NULLFS and UMAPFS
 1.4 12-Aug-2000  msaitoh - remove "options PMAP_NEW"
- enable "options INET"
- enable "pseudo-device loop"
 1.3 03-Aug-2000  msaitoh add COMPAT_14
 1.2 31-Jul-2000  msaitoh use 'makeoptions LDSCRIPTBASE="sh.x"' (or shl.x) to select ldscript file
 1.1 13-Jul-2000  msaitoh config file for Dreamcast
 1.5.2.2 12-Aug-2000  msaitoh pullup revsion 1.5 (approved by thorpej):

config file for DC
 1.5.2.1 12-Aug-2000  msaitoh file DREAMCAST was added on branch netbsd-1-5 on 2000-08-12 19:00:22 +0000
 1.6.2.3 05-Jan-2001  bouyer Sync with HEAD
 1.6.2.2 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 24-Sep-2000  bouyer file DREAMCAST was added on branch thorpej_scsipi on 2000-11-20 20:07:34 +0000
 1.2 29-Feb-2008  jmmv Remove GENERIC.local from the repository

Make all the kernels that currently include their corresponding GENERIC.local
file use the cinclude directive instead of include. This way config(1) will
not complain if the file cannot be found.

After doing this, remove the GENERIC.local files from the repository so that
the user will not see modified files during updates, and local changes to
them cannot end up in the repository by mistake.

Discussed in tech-kern@ earlier this month. No strong objections.
 1.1 13-Sep-1999  itojun branches: 1.1.52; 1.1.114; 1.1.134; 1.1.138;
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.138.1 03-Apr-2008  mjf Sync with HEAD.
 1.1.134.1 24-Mar-2008  keiichi sync with head.
 1.1.114.1 23-Mar-2008  matt sync with HEAD
 1.1.52.1 17-Mar-2008  yamt sync with head.
 1.32 07-Aug-2022  simonb UFS/LFS dirhash:
- Enable UFS_DIRHASH if the architecture or kernel model specific config
file can use 128MB of RAM or more.
- Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel
and by a number of NetBSD developers for years.
- Add LFS_DIRHASH if LFS was enabled.
- Be somewhat consistent with FS options order.
 1.31 14-Sep-2017  mrg clean up COMPAT_* options for native netbsd code:
- new series of files that are useful for saying "i want everything
since netbsd 1.4", etc.
- use the fact COMPAT_* options have future dependancies to remove
many redundant options.

removes about 3000 lines total across kernel configuration files.
tested about 30 random kernels in the changed list.
 1.30 18-Dec-2011  dholland branches: 1.30.6;
WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.29 23-Nov-2010  hannken branches: 1.29.8; 1.29.12;
Remove unused count from pseudo-device md.
 1.28 06-Apr-2010  nonaka Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.27 06-Feb-2009  jym branches: 1.27.4; 1.27.6;
Changes to MEMORY_RBFLAGS option:
- renamed to MEMORY_DISK_RBFLAGS to better fit the rest of the
MEMORY_DISK options(4)
- change default value to RB_AUTOBOOT instead of RB_SINGLE, and adapt
the config(5) files accordingly
- document this option inside options(4)

See also http://mail-index.netbsd.org/tech-kern/2008/12/25/msg003924.html

Reviewed by abs@ in private mail.
 1.26 31-Jul-2008  simonb branches: 1.26.2;
Add "options WAPBL" to standard GENERIC/INSTALL type configs.
 1.25 20-Sep-2006  uwe branches: 1.25.52; 1.25.56; 1.25.58; 1.25.62;
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.24 07-Dec-2005  tsutsui branches: 1.24.20; 1.24.22;
Adjust comments for options FFS_NO_SNAPSHOT.

XXX: This option should be mentioned in options(4).
 1.23 18-Feb-2005  dsl branches: 1.23.6;
Invert FFS_SNAPSHOT to FFS_NO_SNAPSHOT
 1.22 10-Nov-2004  christos branches: 1.22.4; 1.22.6;
Add COMPAT_BSDPTY to the rest of the config files.
 1.21 15-Jul-2004  atatat Add "options SYSCTL_INCLUDE_DESCR" to a lot of configs, but commented
out in most of them.
 1.20 18-Sep-2002  lukem branches: 1.20.6; 1.20.8;
enable USERCONF by default; it's small and extremely useful to have available.
 1.19 17-Jun-2002  lukem branches: 1.19.2;
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"
 1.18 09-May-2002  uch branches: 1.18.2; 1.18.4;
IOM_RAM_BEGIN is changed to specify physical address.
 1.17 25-Apr-2002  atatat 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.
 1.16 12-Apr-2002  gmcgarry Add commented-out USERCONF option. Mainly useful for install media
and can be optionally enabled based on miniroot and ramdisk size
requirements.
 1.15 02-Apr-2002  lukem 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...
 1.14 24-Mar-2002  uch adapted to new interrupt code and shb changes.
 1.13 10-Mar-2002  lukem * rename MINIROOTSIZE to MEMORY_DISK_SIZE, so that all md(4) options
are now consistently named
* fold opt_mdsize.h into opt_md.h
 1.12 28-Feb-2002  uch s/MMEYE_NO_CACHE/CACHE_DISABLE/
 1.11 27-Jan-2002  jdolecek 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
 1.10 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.9 03-Jan-2001  itojun branches: 1.9.4;
split big/little endian better.
 1.8 17-Oct-2000  msaitoh branches: 1.8.2;
delete PMAP_NEW
 1.7 24-Sep-2000  jdolecek don't specify number of ptys if >= 16 (current default initial number)
pty comments: normalize and g/c what is no longer relevant
 1.6 12-Aug-2000  msaitoh - enable KERNFS and PROCFS
- disable NULLFS and UMAPFS
 1.5 12-Aug-2000  msaitoh - remove "options PMAP_NEW"
- enable "options INET"
- enable "pseudo-device loop"
 1.4 03-Aug-2000  msaitoh add COMPAT_14
 1.3 31-Jul-2000  msaitoh use 'makeoptions LDSCRIPTBASE="sh.x"' (or shl.x) to select ldscript file
 1.2 22-Mar-2000  cgd branches: 1.2.4;
add commented out option PCI_CONFIG_DUMP whever there's a PCIVERBOSE.
 1.1 24-Feb-2000  msaitoh KZ-SH4-01 (Kyoto Micro Computer Co.,LTD)
 1.2.4.1 08-Aug-2000  msaitoh Pullup revision 1.3-1.4 (approved by thorpej):

- use makeoptions to select ldscript file
- add COMPAT_14
 1.8.2.3 05-Jan-2001  bouyer Sync with HEAD
 1.8.2.2 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.8.2.1 17-Oct-2000  bouyer file KZSH401 was added on branch thorpej_scsipi on 2000-11-20 20:07:34 +0000
 1.9.4.6 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.9.4.5 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.9.4.4 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.9.4.3 16-Mar-2002  jdolecek Catch up with -current.
 1.9.4.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.9.4.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.18.4.1 01-Aug-2002  lukem Pull up revision 1.19 (requested by lukem in ticket #312):
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"
 1.18.2.1 14-Jul-2002  gehenna catch up with -current.
 1.19.2.2 18-Oct-2002  nathanw Catch up to -current.
 1.19.2.1 17-Jun-2002  nathanw file KZSH401 was added on branch nathanw_sa on 2002-10-18 02:36:41 +0000
 1.20.8.1 15-Jul-2004  he Pull up revision 1.21 (requested by atatat in ticket #663):
Add "options SYSCTL_INCLUDE_DESCR" to a lot of configurations,
but commented out in most of them.
 1.20.6.6 11-Dec-2005  christos Sync with head.
 1.20.6.5 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.20.6.4 14-Nov-2004  skrll Sync with HEAD.
 1.20.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.20.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.20.6.1 03-Aug-2004  skrll Sync with HEAD
 1.22.6.1 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.22.4.1 29-Apr-2005  kent sync with -current
 1.23.6.2 30-Dec-2006  yamt sync with head.
 1.23.6.1 21-Jun-2006  yamt sync with head.
 1.24.22.1 22-Oct-2006  yamt sync with head
 1.24.20.1 18-Nov-2006  ad Sync with head.
 1.25.62.1 19-Oct-2008  haad Sync with HEAD.
 1.25.58.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.25.56.2 11-Aug-2010  yamt sync with head.
 1.25.56.1 04-May-2009  yamt sync with head.
 1.25.52.1 28-Sep-2008  mjf Sync with HEAD.
 1.26.2.1 03-Mar-2009  skrll Sync with HEAD.
 1.27.6.2 05-Mar-2011  rmind sync with head
 1.27.6.1 30-May-2010  rmind sync with head
 1.27.4.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.29.12.1 18-Feb-2012  mrg merge to -current.
 1.29.8.1 17-Apr-2012  yamt sync with head
 1.30.6.1 03-Dec-2017  jdolecek update from HEAD
 1.10 03-Jan-2001  itojun share sys/arch/sh3/conf/Makefile.sh3 across sh3-based architectures.
cleanup param.h a bit.
 1.9 17-Dec-2000  jdolecek delete obsolete comment
 1.8 31-Jul-2000  msaitoh use 'makeoptions LDSCRIPTBASE="sh.x"' (or shl.x) to select ldscript file
 1.7 09-May-2000  hubertf branches: 1.7.4;
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.6 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.5 01-Feb-2000  tsutsui Revert STRIPPROG -> STRIP
 1.4 24-Jan-2000  tron Add "dependall" target for comfort.
 1.3 19-Jan-2000  tsutsui STRIP -> STRIPPROG
 1.2 12-Jan-2000  msaitoh OBJCOPY?=objcopy
 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.7.4.1 08-Aug-2000  msaitoh Pullup revision 1.8 (approved by thorpej):

use makeoptions to select ldscript file
 1.8 08-Aug-2000  msaitoh unused file (use 'makeoptions LDSCRIPBASE="shl.x"' for little endian)
 1.7 11-Jul-2000  msaitoh add OBJCOPY?=objcopy
 1.6 09-May-2000  hubertf branches: 1.6.4;
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.1 20-Nov-2000  bouyer Remove files that are no longer on the trunck
 1.6.4.1 12-Aug-2000  msaitoh Pullup revision 1.8 (approved by thorpej):

unused file
 1.6 06-Apr-2010  nonaka Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.5 23-Oct-2001  thorpej branches: 1.5.12; 1.5.78; 1.5.92; 1.5.94;
This file only set MACHINE, which is now set by config(8); delete it.
 1.4 16-Jan-2001  itojun branches: 1.4.4;
typo
 1.3 04-Jan-2001  itojun branches: 1.3.2;
split MACHINE_ARCH sh3e[lb]. userland build still needs checking.
 1.2 03-Jan-2001  itojun $NetBSD$
 1.1 03-Jan-2001  itojun share sys/arch/sh3/conf/Makefile.sh3 across sh3-based architectures.
cleanup param.h a bit.
 1.3.2.3 18-Jan-2001  bouyer Sync with head (for UBC+NFS fixes, mostly).
 1.3.2.2 05-Jan-2001  bouyer Sync with HEAD
 1.3.2.1 04-Jan-2001  bouyer file Makefile.evbsh3.inc was added on branch thorpej_scsipi on 2001-01-05 17:34:10 +0000
 1.4.4.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.5.94.1 30-May-2010  rmind sync with head
 1.5.92.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.5.78.1 11-Aug-2010  yamt sync with head.
 1.5.12.2 23-Oct-2001  thorpej This file only set MACHINE, which is now set by config(8); delete it.
 1.5.12.1 23-Oct-2001  thorpej file Makefile.evbsh3.inc was added on branch nathanw_sa on 2001-10-23 19:52:50 +0000
 1.5 07-Aug-2022  simonb UFS/LFS dirhash:
- Enable UFS_DIRHASH if the architecture or kernel model specific config
file can use 128MB of RAM or more.
- Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel
and by a number of NetBSD developers for years.
- Add LFS_DIRHASH if LFS was enabled.
- Be somewhat consistent with FS options order.
 1.4 27-Sep-2020  roy vether: Add to kernel configurations

It's only enabled if the kernel enabled bridge AND tap.
Otherwise it's commented out.
 1.3 01-Aug-2020  maxv Remove references to BRIDGE_IPF, it is now compiled in by default.
 1.2 20-Jul-2020  uwe Use COPY_SYMTAB to get kernel symbols.
 1.1 19-Jul-2020  uwe Add placeholders/boilerplate for NextVoD.

STMicroelectronics support needs to be written for both the CPU and
devices. This config and related files is absolute bare bones to get
a scaffolding kernel to compile to actually work on that support.
Don't hold your breath.
 1.16 07-Aug-2022  simonb UFS/LFS dirhash:
- Enable UFS_DIRHASH if the architecture or kernel model specific config
file can use 128MB of RAM or more.
- Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel
and by a number of NetBSD developers for years.
- Add LFS_DIRHASH if LFS was enabled.
- Be somewhat consistent with FS options order.
 1.15 26-Apr-2019  sevan Enable BUFQ_PRIOCSCAN, CARP, Veriexec by default in GENERIC kernel configs.
On ports without a GENERIC kernel config enable in individul files, e.g evbmips.
Omit on:
atari, dreamcast, emips, epoc32, evbppc/VIRTEX*, ia64, luna68x, mvme68k,
mvmeppc, playstation2, riscv, sun2, sun3, x68k, zaurus due to resource
constraints or port infancy.
 1.14 01-Aug-2018  maxv Unreference IPF/PF from all the config files, and enable NPF instead when
wanted. This also fixes some inconsistencies I saw in several files (eg
IPF options while IPF was not compiled, IPF+PF enabled by default, etc).
 1.13 14-Sep-2017  mrg branches: 1.13.2; 1.13.4;
clean up COMPAT_* options for native netbsd code:
- new series of files that are useful for saying "i want everything
since netbsd 1.4", etc.
- use the fact COMPAT_* options have future dependancies to remove
many redundant options.

removes about 3000 lines total across kernel configuration files.
tested about 30 random kernels in the changed list.
 1.12 07-Aug-2015  maxv Remove the KMEMSTATS option. It no longer exists.
 1.11 23-Aug-2014  dholland branches: 1.11.2;
Systematize (and in many cases, fix) the comments on options COMPAT_NN.

There are quite a few configs that are missing some COMPAT_NN options
in ways that don't make sense; this should probably get cleaned up
too, but for the time being I've not added or removed anything.
 1.10 17-Aug-2014  joerg Reorganize symbol table embedding. The existing option SYMTAB_SPACE is
replaced by the make option COPY_SYMTAB set to any value. The copy of
the symbol table is no longer put into a buffer in kern_ksyms.o, but a
small helper object. This object is build first with a dummy size, then
the kernel is linked to compute the real dimension of the symbol table
buffer. After that, the helper object is rebuild and the kernel linked
again.
 1.9 16-Aug-2014  apb Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
 1.8 24-Mar-2014  szptvlfn fix manual section numbering of sysctl.
thanks wiz@
 1.7 30-Jun-2013  rmind G/C PFIL_HOOKS from the kernel configs.
 1.6 17-Oct-2012  apb branches: 1.6.2;
Add "options COMPAT_60" to all kernel configuration files
that already had "options COMPAT_50".
 1.5 18-Dec-2011  dholland branches: 1.5.6;
WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.4 22-Nov-2011  tls branches: 1.4.2;

The rnd pseudo-device is not really optional, because it is in the same
source file as the entropy-pool code itself. Move it to std. This
will be cleaned up more when I split the sources up as they should be.

This fixes build breaks on several ports. Thanks to Havard Eidnes for
pointing them out.
 1.3 23-Nov-2010  hannken branches: 1.3.8;
Remove unused count from pseudo-device md.
 1.2 08-May-2010  mrg branches: 1.2.2; 1.2.4;
enable IPFILTER_COMPAT in all kernels that have ipfilter already.
canonicalise several of the ipf option segments in various files
(this mostly means adding commented out IPFILTER_DEFAULT_BLOCK,
or adding commented or uncommented IPFILTER_LOG or IPFILTER_LOOKUP
option statements.)

i built about 20 of these kernels to check, but not all of them.
 1.1 06-Apr-2010  nonaka branches: 1.1.2;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.2.3 17-Aug-2010  uebayasi Sync with HEAD.
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file T_SH7706LAN was added on branch uebayasi-xip on 2010-04-30 14:39:19 +0000
 1.2.4.2 11-Aug-2010  yamt sync with head.
 1.2.4.1 08-May-2010  yamt file T_SH7706LAN was added on branch yamt-nfs-mp on 2010-08-11 22:51:57 +0000
 1.2.2.3 05-Mar-2011  rmind sync with head
 1.2.2.2 30-May-2010  rmind sync with head
 1.2.2.1 08-May-2010  rmind file T_SH7706LAN was added on branch rmind-uvmplock on 2010-05-30 05:16:46 +0000
 1.3.8.3 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.3.8.2 30-Oct-2012  yamt sync with head
 1.3.8.1 17-Apr-2012  yamt sync with head
 1.4.2.1 18-Feb-2012  mrg merge to -current.
 1.5.6.3 03-Dec-2017  jdolecek update from HEAD
 1.5.6.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.6.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.6.2.2 18-May-2014  rmind sync with head
 1.6.2.1 28-Aug-2013  rmind sync with head
 1.11.2.1 22-Sep-2015  skrll Sync with HEAD
 1.13.4.1 10-Jun-2019  christos Sync with HEAD
 1.13.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file T_SH7706LAN_INSTALL was added on branch yamt-nfs-mp on 2010-08-11 22:51:57 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file T_SH7706LAN_INSTALL was added on branch rmind-uvmplock on 2010-05-30 05:16:46 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file T_SH7706LAN_INSTALL was added on branch uebayasi-xip on 2010-04-30 14:39:20 +0000
 1.18 07-Aug-2022  simonb UFS/LFS dirhash:
- Enable UFS_DIRHASH if the architecture or kernel model specific config
file can use 128MB of RAM or more.
- Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel
and by a number of NetBSD developers for years.
- Add LFS_DIRHASH if LFS was enabled.
- Be somewhat consistent with FS options order.
 1.17 26-Apr-2019  sevan Enable BUFQ_PRIOCSCAN, CARP, Veriexec by default in GENERIC kernel configs.
On ports without a GENERIC kernel config enable in individul files, e.g evbmips.
Omit on:
atari, dreamcast, emips, epoc32, evbppc/VIRTEX*, ia64, luna68x, mvme68k,
mvmeppc, playstation2, riscv, sun2, sun3, x68k, zaurus due to resource
constraints or port infancy.
 1.16 01-Aug-2018  maxv Unreference IPF/PF from all the config files, and enable NPF instead when
wanted. This also fixes some inconsistencies I saw in several files (eg
IPF options while IPF was not compiled, IPF+PF enabled by default, etc).
 1.15 14-Sep-2017  mrg branches: 1.15.2; 1.15.4;
clean up COMPAT_* options for native netbsd code:
- new series of files that are useful for saying "i want everything
since netbsd 1.4", etc.
- use the fact COMPAT_* options have future dependancies to remove
many redundant options.

removes about 3000 lines total across kernel configuration files.
tested about 30 random kernels in the changed list.
 1.14 07-Aug-2015  maxv Remove the KMEMSTATS option. It no longer exists.
 1.13 23-Aug-2014  dholland branches: 1.13.2;
Systematize (and in many cases, fix) the comments on options COMPAT_NN.

There are quite a few configs that are missing some COMPAT_NN options
in ways that don't make sense; this should probably get cleaned up
too, but for the time being I've not added or removed anything.
 1.12 17-Aug-2014  joerg Reorganize symbol table embedding. The existing option SYMTAB_SPACE is
replaced by the make option COPY_SYMTAB set to any value. The copy of
the symbol table is no longer put into a buffer in kern_ksyms.o, but a
small helper object. This object is build first with a dummy size, then
the kernel is linked to compute the real dimension of the symbol table
buffer. After that, the helper object is rebuild and the kernel linked
again.
 1.11 16-Aug-2014  apb Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
 1.10 24-Mar-2014  szptvlfn fix manual section numbering of sysctl.
thanks wiz@
 1.9 30-Jun-2013  rmind G/C PFIL_HOOKS from the kernel configs.
 1.8 17-Oct-2012  apb branches: 1.8.2;
Add "options COMPAT_60" to all kernel configuration files
that already had "options COMPAT_50".
 1.7 18-Dec-2011  dholland branches: 1.7.6;
WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.6 22-Nov-2011  tls branches: 1.6.2;

The rnd pseudo-device is not really optional, because it is in the same
source file as the entropy-pool code itself. Move it to std. This
will be cleaned up more when I split the sources up as they should be.

This fixes build breaks on several ports. Thanks to Havard Eidnes for
pointing them out.
 1.5 05-Feb-2011  nonaka branches: 1.5.4;
use SSUMCI_DEBUG, not SCIMCI_DEBUG.
 1.4 23-Nov-2010  hannken branches: 1.4.2; 1.4.4;
Remove unused count from pseudo-device md.
 1.3 08-May-2010  mrg branches: 1.3.2; 1.3.4;
enable IPFILTER_COMPAT in all kernels that have ipfilter already.
canonicalise several of the ipf option segments in various files
(this mostly means adding commented out IPFILTER_DEFAULT_BLOCK,
or adding commented or uncommented IPFILTER_LOG or IPFILTER_LOOKUP
option statements.)

i built about 20 of these kernels to check, but not all of them.
 1.2 07-Apr-2010  nonaka branches: 1.2.2;
fix comment.
 1.1 06-Apr-2010  nonaka Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.2.2.3 17-Aug-2010  uebayasi Sync with HEAD.
 1.2.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.2.2.1 07-Apr-2010  uebayasi file T_SH7706LSR was added on branch uebayasi-xip on 2010-04-30 14:39:20 +0000
 1.3.4.2 11-Aug-2010  yamt sync with head.
 1.3.4.1 08-May-2010  yamt file T_SH7706LSR was added on branch yamt-nfs-mp on 2010-08-11 22:51:57 +0000
 1.3.2.3 05-Mar-2011  rmind sync with head
 1.3.2.2 30-May-2010  rmind sync with head
 1.3.2.1 08-May-2010  rmind file T_SH7706LSR was added on branch rmind-uvmplock on 2010-05-30 05:16:46 +0000
 1.4.4.1 08-Feb-2011  bouyer Sync with HEAD
 1.4.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.5.4.3 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.5.4.2 30-Oct-2012  yamt sync with head
 1.5.4.1 17-Apr-2012  yamt sync with head
 1.6.2.1 18-Feb-2012  mrg merge to -current.
 1.7.6.3 03-Dec-2017  jdolecek update from HEAD
 1.7.6.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.7.6.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.8.2.2 18-May-2014  rmind sync with head
 1.8.2.1 28-Aug-2013  rmind sync with head
 1.13.2.1 22-Sep-2015  skrll Sync with HEAD
 1.15.4.1 10-Jun-2019  christos Sync with HEAD
 1.15.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file T_SH7706LSR_INSTALL was added on branch yamt-nfs-mp on 2010-08-11 22:51:57 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file T_SH7706LSR_INSTALL was added on branch rmind-uvmplock on 2010-05-30 05:16:46 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file T_SH7706LSR_INSTALL was added on branch uebayasi-xip on 2010-04-30 14:39:20 +0000
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file files.ap_ms104_sh4 was added on branch yamt-nfs-mp on 2010-08-11 22:51:57 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file files.ap_ms104_sh4 was added on branch rmind-uvmplock on 2010-05-30 05:16:46 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file files.ap_ms104_sh4 was added on branch uebayasi-xip on 2010-04-30 14:39:20 +0000
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file files.computex7750 was added on branch yamt-nfs-mp on 2010-08-11 22:51:57 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file files.computex7750 was added on branch rmind-uvmplock on 2010-05-30 05:16:46 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file files.computex7750 was added on branch uebayasi-xip on 2010-04-30 14:39:20 +0000
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file files.computexevb was added on branch yamt-nfs-mp on 2010-08-11 22:51:57 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file files.computexevb was added on branch rmind-uvmplock on 2010-05-30 05:16:46 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file files.computexevb was added on branch uebayasi-xip on 2010-04-30 14:39:20 +0000
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file files.cqreeksh3 was added on branch yamt-nfs-mp on 2010-08-11 22:51:57 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file files.cqreeksh3 was added on branch rmind-uvmplock on 2010-05-30 05:16:46 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file files.cqreeksh3 was added on branch uebayasi-xip on 2010-04-30 14:39:20 +0000
 1.19 06-Apr-2010  nonaka Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.18 11-Dec-2005  christos branches: 1.18.78; 1.18.98; 1.18.100;
merge ktrace-lwp.
 1.17 25-Mar-2004  wiz Backout previous -- this is not enough, config needs to be taught
how to reach partitions above h. Noted by Simon Burge, related to
PR 24905.
 1.16 25-Mar-2004  wiz Define maxpartitions to the same value as MAXPARTITIONS in disklabel.h.
Addresses PR 24905 by Simon Burge.
 1.15 06-Sep-2002  gehenna branches: 1.15.6;
Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.

- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.

- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
 1.14 16-Apr-2002  thorpej branches: 1.14.2; 1.14.6;
* 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.
 1.13 27-Mar-2002  uch All the sh3 ports had an identical procfs_machdep.c, so use a common
file under arch/sh3/sh3.
 1.12 24-Mar-2002  uch add cpu device. sync with shb change.
 1.11 22-Feb-2002  uch New NetBSD/sh3 clock framework.
+ hardclock source is moved from TMU1 to TMU0.
+ SH3/SH4 common kernel support.
+ PCLOCK estimation.
+ remove duplicated code.
 1.10 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.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 23-Apr-2001  uch branches: 1.8.2;
dreamcast clock module was separated.
 1.7 21-Feb-2001  uch branches: 1.7.2;
move disksubr.c define to machine-port.
 1.6 06-Feb-2001  uch move machine-port specific file to machine directory.
for evbsh3, mmeye and dreamcast, use MI md_root.c
 1.5 17-Jan-2001  fvdl Add machdep file for procfs. Currently only used for linux-style
/proc/cpuinfo (only active when procfs is mounted with -o linux).
For ports other than the i386 this currently produces an empty
string.
 1.4 25-Mar-2000  msaitoh use BSC_PCR_VAL
 1.3 24-Feb-2000  msaitoh SH4!
 1.2 24-Feb-2000  msaitoh variable start address of the main memory (now we can use
the area 2 as main memory with "options IOM_RAM_BEGIN=0x88000000")
 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 12-Mar-2001  bouyer Sync with HEAD.
 1.1.2.3 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.2 18-Jan-2001  bouyer Sync with head (for UBC+NFS fixes, mostly).
 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.7.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.8.2.4 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.8.2.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.8.2.2 16-Mar-2002  jdolecek Catch up with -current.
 1.8.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.14.6.2 17-Sep-2002  nathanw Catch up to -current.
 1.14.6.1 16-Apr-2002  nathanw file files.evbsh3 was added on branch nathanw_sa on 2002-09-17 21:14:23 +0000
 1.14.2.2 17-May-2002  gehenna Remove old block majors list.
 1.14.2.1 16-May-2002  gehenna Include the list of block/character major numbers.
 1.15.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.15.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.15.6.1 03-Aug-2004  skrll Sync with HEAD
 1.18.100.1 30-May-2010  rmind sync with head
 1.18.98.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.18.78.1 11-Aug-2010  yamt sync with head.
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file files.kzsh401 was added on branch yamt-nfs-mp on 2010-08-11 22:51:57 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file files.kzsh401 was added on branch rmind-uvmplock on 2010-05-30 05:16:46 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file files.kzsh401 was added on branch uebayasi-xip on 2010-04-30 14:39:20 +0000
 1.1 19-Jul-2020  uwe Add placeholders/boilerplate for NextVoD.

STMicroelectronics support needs to be written for both the CPU and
devices. This config and related files is absolute bare bones to get
a scaffolding kernel to compile to actually work on that support.
Don't hold your breath.
 1.9 24-Mar-2002  uch branches: 1.9.4;
adapted to new interrupt code and shb changes.
 1.8 28-Nov-2001  lukem - 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
 1.7 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.6 22-Aug-2001  msaitoh devclass of sci[f] is tty
 1.5 24-Feb-2000  msaitoh branches: 1.5.8;
watchdog timer
 1.4 17-Sep-1999  msaitoh branches: 1.4.2;
options SCICONSOLE
options SCIFCONSOLE
 1.3 16-Sep-1999  msaitoh add "device fdc {drive = -1}" for pcmcia
 1.2 13-Sep-1999  msaitoh sh3/sh3/ -> sh3/dev change
 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.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.5.8.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.5.8.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.5.8.1 25-Aug-2001  thorpej Merge Aug 24 -current into the kqueue branch.
 1.9.4.2 24-Mar-2002  uch adapted to new interrupt code and shb changes.
 1.9.4.1 24-Mar-2002  uch file files.shbus was added on branch nathanw_sa on 2002-03-24 18:21:15 +0000
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file files.t_sh7706lan was added on branch yamt-nfs-mp on 2010-08-11 22:51:57 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file files.t_sh7706lan was added on branch rmind-uvmplock on 2010-05-30 05:16:46 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file files.t_sh7706lan was added on branch uebayasi-xip on 2010-04-30 14:39:20 +0000
 1.22 04-Apr-2020  jdolecek mark nsmb major obsolete
 1.21 28-Jan-2019  dholland Systematize handling of removed drivers.

- Every driver that was removed and whose number hasn't already been
reused is now listed with a commented-out "obsolete" line.
- The format of these has been systematized. Future format changes can
probably be safely done with a script.
- This does not include a few cases of assignments that only lasted a
couple days, or stuff from before major reorgs. Some of these may
be included nonetheless, because there was a lot of ground to cover
and therefore not a lot of time to dig into history in detail.

Note that the obsolete listings do not mean the major numbers can
never be reused; that's up to portmasters and/or core. It does mean
that they won't be reused by accident, however, which in some cases
(depending on the driver, how widely used it was, its family of device
nodes, their default permissions, etc.) can be quite dangerous.

Note that some of the things now explicitly listed as obsolete are
really ancient history. My scan went back as far as when the majors
files were added. (But not before that.)
 1.20 30-Jun-2011  wiz branches: 1.20.54;
dependant -> dependent
 1.19 06-Apr-2010  nonaka Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.18 12-Nov-2008  ad branches: 1.18.6; 1.18.8;
Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.17 31-Dec-2007  ad branches: 1.17.6; 1.17.10; 1.17.16; 1.17.18;
Remove systrace. Ok core@.
 1.16 24-Nov-2006  wiz branches: 1.16.28; 1.16.34; 1.16.42;
s/independant/independent/, from Zafer.
 1.15 11-Dec-2005  christos branches: 1.15.20; 1.15.22;
merge ktrace-lwp.
 1.14 17-Sep-2005  yamt make VMSWAP optional again.
 1.13 31-Jul-2005  yamt revert "defflag VMSWAP" changes for now.
there seems to be far more people who don't want to edit
their kernel config files than i thought.
 1.12 30-Jul-2005  yamt defflag VMSWAP.
 1.11 10-May-2005  jdolecek branches: 1.11.2;
assign major for nsmb(4)
 1.10 10-Dec-2003  jmc Change reference at bottom from sys/dev/majors to sys/conf/majors to match
reality
 1.9 10-Oct-2003  jdolecek reassing majors for crypto and pf to use the newly defined MI major
range
 1.8 10-Oct-2003  jdolecek update the comment - the space for machine-dependant majors
is reduced to 0-143
follows discussion on tech-kern
 1.7 05-Oct-2003  jdolecek Add some framework for MI assignment of device majors - add sys/dev/majors
which is automatically included during kernel config, and add comments
to individual machine-dependant majors.* files to assign new MI majors
in MI file.

Range 0-191 is reserved for machine-specific assignments, range
192+ are MI assignments.

Follows recent discussion on tech-kern@
 1.6 22-Aug-2003  itojun create /dev/crypto
 1.5 27-Jul-2003  itojun reserve cdev major # for PF. ok'ed by technical-exec
 1.4 25-Apr-2003  ragge branches: 1.4.2;
Add ksyms device major.
 1.3 04-Oct-2002  elric branches: 1.3.2;
assign majors for raw and cooked cgd's.
 1.2 06-Sep-2002  gehenna Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.

- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.

- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
 1.1 16-May-2002  gehenna branches: 1.1.2; 1.1.4;
file majors.evbsh3 was initially added on branch gehenna-devsw.
 1.1.4.2 18-Oct-2002  nathanw Catch up to -current.
 1.1.4.1 17-Sep-2002  nathanw Catch up to -current.
 1.1.2.3 14-Jul-2002  gehenna catch up with -current.
 1.1.2.2 30-May-2002  gehenna Add $NetBSD$
 1.1.2.1 16-May-2002  gehenna Add the list of block/character majors.
 1.3.2.2 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.3.2.1 04-Oct-2002  jdolecek file majors.evbsh3 was added on branch kqueue on 2002-10-10 18:32:32 +0000
 1.4.2.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.4.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.4.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.4.2.1 03-Aug-2004  skrll Sync with HEAD
 1.11.2.3 21-Jan-2008  yamt sync with head
 1.11.2.2 30-Dec-2006  yamt sync with head.
 1.11.2.1 21-Jun-2006  yamt sync with head.
 1.15.22.1 10-Dec-2006  yamt sync with head.
 1.15.20.1 12-Jan-2007  ad Sync with head.
 1.16.42.1 02-Jan-2008  bouyer Sync with HEAD
 1.16.34.1 18-Feb-2008  mjf Sync with HEAD.
 1.16.28.1 09-Jan-2008  matt sync with HEAD
 1.17.18.1 19-Jan-2009  skrll Sync with HEAD.
 1.17.16.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.17.10.2 11-Aug-2010  yamt sync with head.
 1.17.10.1 04-May-2009  yamt sync with head.
 1.17.6.1 17-Jan-2009  mjf Sync with HEAD.
 1.18.8.1 30-May-2010  rmind sync with head
 1.18.6.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.20.54.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.20.54.1 10-Jun-2019  christos Sync with HEAD
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file mk.ap_ms104_sh4 was added on branch yamt-nfs-mp on 2010-08-11 22:51:57 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file mk.ap_ms104_sh4 was added on branch rmind-uvmplock on 2010-05-30 05:16:46 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file mk.ap_ms104_sh4 was added on branch uebayasi-xip on 2010-04-30 14:39:20 +0000
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file mk.computex7750 was added on branch yamt-nfs-mp on 2010-08-11 22:51:57 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file mk.computex7750 was added on branch rmind-uvmplock on 2010-05-30 05:16:46 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file mk.computex7750 was added on branch uebayasi-xip on 2010-04-30 14:39:20 +0000
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file mk.computexevb was added on branch yamt-nfs-mp on 2010-08-11 22:51:57 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file mk.computexevb was added on branch rmind-uvmplock on 2010-05-30 05:16:46 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file mk.computexevb was added on branch uebayasi-xip on 2010-04-30 14:39:20 +0000
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file mk.cqreeksh3 was added on branch yamt-nfs-mp on 2010-08-11 22:51:57 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file mk.cqreeksh3 was added on branch rmind-uvmplock on 2010-05-30 05:16:46 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file mk.cqreeksh3 was added on branch uebayasi-xip on 2010-04-30 14:39:20 +0000
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file mk.kzsh401 was added on branch yamt-nfs-mp on 2010-08-11 22:51:57 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file mk.kzsh401 was added on branch rmind-uvmplock on 2010-05-30 05:16:46 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file mk.kzsh401 was added on branch uebayasi-xip on 2010-04-30 14:39:20 +0000
 1.1 19-Jul-2020  uwe Add placeholders/boilerplate for NextVoD.

STMicroelectronics support needs to be written for both the CPU and
devices. This config and related files is absolute bare bones to get
a scaffolding kernel to compile to actually work on that support.
Don't hold your breath.
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file mk.t_sh7706lan was added on branch yamt-nfs-mp on 2010-08-11 22:51:57 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file mk.t_sh7706lan was added on branch rmind-uvmplock on 2010-05-30 05:16:46 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file mk.t_sh7706lan was added on branch uebayasi-xip on 2010-04-30 14:39:20 +0000
 1.6 23-Aug-2015  uebayasi Unfortunately no sh3 kernels (no longer?) use linker scripts, but I dare to
clean up .ctors/.dtors here too.
 1.5 20-Aug-2015  uebayasi Indent.
 1.4 20-Aug-2015  uebayasi Whitespace.
 1.3 20-Nov-2001  lukem branches: 1.3.12; 1.3.168; 1.3.188;
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.2 06-Feb-2000  msaitoh branches: 1.2.8;
fix the calculation bug for the LMA of bss.
 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.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.2.8.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3.188.1 22-Sep-2015  skrll Sync with HEAD
 1.3.168.1 03-Dec-2017  jdolecek update from HEAD
 1.3.12.2 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.3.12.1 20-Nov-2001  lukem file sh.x was added on branch nathanw_sa on 2001-11-20 12:56:27 +0000
 1.4 23-Aug-2015  uebayasi Unfortunately no sh3 kernels (no longer?) use linker scripts, but I dare to
clean up .ctors/.dtors here too.
 1.3 20-Aug-2015  uebayasi Indent.
 1.2 20-Nov-2001  lukem branches: 1.2.12; 1.2.168; 1.2.188;
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.1 13-Sep-1999  itojun branches: 1.1.16;
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.16.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2.188.1 22-Sep-2015  skrll Sync with HEAD
 1.2.168.1 03-Dec-2017  jdolecek update from HEAD
 1.2.12.2 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.2.12.1 20-Nov-2001  lukem file sh.x.ICE was added on branch nathanw_sa on 2001-11-20 12:56:27 +0000
 1.4 23-Aug-2015  uebayasi Unfortunately no sh3 kernels (no longer?) use linker scripts, but I dare to
clean up .ctors/.dtors here too.
 1.3 20-Aug-2015  uebayasi Indent.
 1.2 20-Nov-2001  lukem branches: 1.2.12; 1.2.168; 1.2.188;
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.1 13-Sep-1999  itojun branches: 1.1.16;
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.16.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2.188.1 22-Sep-2015  skrll Sync with HEAD
 1.2.168.1 03-Dec-2017  jdolecek update from HEAD
 1.2.12.2 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.2.12.1 20-Nov-2001  lukem file sh.x.RAM was added on branch nathanw_sa on 2001-11-20 12:56:27 +0000
 1.3 20-Aug-2015  uebayasi Indent.
 1.2 20-Nov-2001  lukem branches: 1.2.12; 1.2.168; 1.2.188;
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.1 13-Sep-1999  itojun branches: 1.1.16;
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.16.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2.188.1 22-Sep-2015  skrll Sync with HEAD
 1.2.168.1 03-Dec-2017  jdolecek update from HEAD
 1.2.12.2 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.2.12.1 20-Nov-2001  lukem file sh.x.ROM was added on branch nathanw_sa on 2001-11-20 12:56:27 +0000
 1.6 23-Aug-2015  uebayasi Unfortunately no sh3 kernels (no longer?) use linker scripts, but I dare to
clean up .ctors/.dtors here too.
 1.5 20-Aug-2015  uebayasi Indent.
 1.4 20-Aug-2015  uebayasi Whitespace.
 1.3 20-Nov-2001  lukem branches: 1.3.12; 1.3.168; 1.3.188;
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.2 06-Feb-2000  msaitoh branches: 1.2.8;
fix the calculation bug for the LMA of bss.
 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.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.2.8.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3.188.1 22-Sep-2015  skrll Sync with HEAD
 1.3.168.1 03-Dec-2017  jdolecek update from HEAD
 1.3.12.2 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.3.12.1 20-Nov-2001  lukem file shl.x was added on branch nathanw_sa on 2001-11-20 12:56:27 +0000
 1.4 23-Aug-2015  uebayasi Unfortunately no sh3 kernels (no longer?) use linker scripts, but I dare to
clean up .ctors/.dtors here too.
 1.3 20-Aug-2015  uebayasi Indent.
 1.2 20-Nov-2001  lukem branches: 1.2.12; 1.2.168; 1.2.188;
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.1 13-Sep-1999  itojun branches: 1.1.16;
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.16.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2.188.1 22-Sep-2015  skrll Sync with HEAD
 1.2.168.1 03-Dec-2017  jdolecek update from HEAD
 1.2.12.2 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.2.12.1 20-Nov-2001  lukem file shl.x.ICE was added on branch nathanw_sa on 2001-11-20 12:56:27 +0000
 1.4 23-Aug-2015  uebayasi Unfortunately no sh3 kernels (no longer?) use linker scripts, but I dare to
clean up .ctors/.dtors here too.
 1.3 20-Aug-2015  uebayasi Indent.
 1.2 20-Nov-2001  lukem branches: 1.2.12; 1.2.168; 1.2.188;
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.1 13-Sep-1999  itojun branches: 1.1.16;
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.16.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2.188.1 22-Sep-2015  skrll Sync with HEAD
 1.2.168.1 03-Dec-2017  jdolecek update from HEAD
 1.2.12.2 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.2.12.1 20-Nov-2001  lukem file shl.x.RAM was added on branch nathanw_sa on 2001-11-20 12:56:27 +0000
 1.3 20-Aug-2015  uebayasi Indent.
 1.2 20-Nov-2001  lukem branches: 1.2.12; 1.2.168; 1.2.188;
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.1 13-Sep-1999  itojun branches: 1.1.16;
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.16.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2.188.1 22-Sep-2015  skrll Sync with HEAD
 1.2.168.1 03-Dec-2017  jdolecek update from HEAD
 1.2.12.2 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.2.12.1 20-Nov-2001  lukem file shl.x.ROM was added on branch nathanw_sa on 2001-11-20 12:56:27 +0000
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file std.ap_ms104_sh4 was added on branch yamt-nfs-mp on 2010-08-11 22:51:57 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file std.ap_ms104_sh4 was added on branch rmind-uvmplock on 2010-05-30 05:16:46 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file std.ap_ms104_sh4 was added on branch uebayasi-xip on 2010-04-30 14:39:20 +0000
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file std.computex7750 was added on branch yamt-nfs-mp on 2010-08-11 22:51:57 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file std.computex7750 was added on branch rmind-uvmplock on 2010-05-30 05:16:46 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file std.computex7750 was added on branch uebayasi-xip on 2010-04-30 14:39:20 +0000
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file std.computexevb was added on branch yamt-nfs-mp on 2010-08-11 22:51:57 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file std.computexevb was added on branch rmind-uvmplock on 2010-05-30 05:16:46 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file std.computexevb was added on branch uebayasi-xip on 2010-04-30 14:39:20 +0000
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file std.cqreeksh3 was added on branch yamt-nfs-mp on 2010-08-11 22:51:57 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file std.cqreeksh3 was added on branch rmind-uvmplock on 2010-05-30 05:16:46 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file std.cqreeksh3 was added on branch uebayasi-xip on 2010-04-30 14:39:20 +0000
 1.4 03-Jan-2001  itojun split big/little endian better.
 1.3 22-Jun-2000  fvdl Remove prefix construction for softdeps. Add SOFTDEP option to GENERIC.
 1.2 15-Nov-1999  fvdl branches: 1.2.4;
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.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.2.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.7 02-Feb-2008  uwe Use std.sh3e{l,b}
 1.6 17-Mar-2006  uebayasi branches: 1.6.38; 1.6.44;
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.5 11-Dec-2005  christos branches: 1.5.4; 1.5.6; 1.5.8; 1.5.10; 1.5.12;
merge ktrace-lwp.
 1.4 17-Sep-2005  yamt include "conf/std".
 1.3 20-Nov-2001  lukem branches: 1.3.12; 1.3.18; 1.3.34;
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.2 04-Jan-2001  itojun branches: 1.2.2; 1.2.6;
split MACHINE_ARCH sh3e[lb]. userland build still needs checking.
 1.1 03-Jan-2001  itojun split big/little endian better.
 1.2.6.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2.2.2 05-Jan-2001  bouyer Sync with HEAD
 1.2.2.1 04-Jan-2001  bouyer file std.evbsh3.eb was added on branch thorpej_scsipi on 2001-01-05 17:34:11 +0000
 1.3.34.2 04-Feb-2008  yamt sync with head.
 1.3.34.1 21-Jun-2006  yamt sync with head.
 1.3.18.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.3.12.2 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.3.12.1 20-Nov-2001  lukem file std.evbsh3.eb was added on branch nathanw_sa on 2001-11-20 12:56:27 +0000
 1.5.12.1 28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.5.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.5.8.1 01-Apr-2006  yamt sync with head.
 1.5.6.1 22-Apr-2006  simonb Sync with head.
 1.5.4.1 09-Sep-2006  rpaulo sync with head
 1.6.44.1 18-Feb-2008  mjf Sync with HEAD.
 1.6.38.1 23-Mar-2008  matt sync with HEAD
 1.7 02-Feb-2008  uwe Use std.sh3e{l,b}
 1.6 17-Mar-2006  uebayasi branches: 1.6.38; 1.6.44;
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.5 11-Dec-2005  christos branches: 1.5.4; 1.5.6; 1.5.8; 1.5.10; 1.5.12;
merge ktrace-lwp.
 1.4 17-Sep-2005  yamt include "conf/std".
 1.3 20-Nov-2001  lukem branches: 1.3.12; 1.3.18; 1.3.34;
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.2 04-Jan-2001  itojun branches: 1.2.2; 1.2.6;
split MACHINE_ARCH sh3e[lb]. userland build still needs checking.
 1.1 03-Jan-2001  itojun split big/little endian better.
 1.2.6.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2.2.2 05-Jan-2001  bouyer Sync with HEAD
 1.2.2.1 04-Jan-2001  bouyer file std.evbsh3.el was added on branch thorpej_scsipi on 2001-01-05 17:34:11 +0000
 1.3.34.2 04-Feb-2008  yamt sync with head.
 1.3.34.1 21-Jun-2006  yamt sync with head.
 1.3.18.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.3.12.2 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.3.12.1 20-Nov-2001  lukem file std.evbsh3.el was added on branch nathanw_sa on 2001-11-20 12:56:27 +0000
 1.5.12.1 28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.5.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.5.8.1 01-Apr-2006  yamt sync with head.
 1.5.6.1 22-Apr-2006  simonb Sync with head.
 1.5.4.1 09-Sep-2006  rpaulo sync with head
 1.6.44.1 18-Feb-2008  mjf Sync with HEAD.
 1.6.38.1 23-Mar-2008  matt sync with HEAD
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file std.kzsh401 was added on branch yamt-nfs-mp on 2010-08-11 22:51:57 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file std.kzsh401 was added on branch rmind-uvmplock on 2010-05-30 05:16:46 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file std.kzsh401 was added on branch uebayasi-xip on 2010-04-30 14:39:20 +0000
 1.2 25-Jul-2020  uwe Start teaching sh3 code about STX7105.

Kernel option STX7105 to select CPU product (TODO: all of the options
that select CPU product should be defflag'ed to opt_cputype.h).

The ST40 cache sizes can be customized for each product. For now just
hardcode the STx7105 values in the switch, but may be they should be
kernel options.
 1.1 19-Jul-2020  uwe Add placeholders/boilerplate for NextVoD.

STMicroelectronics support needs to be written for both the CPU and
devices. This config and related files is absolute bare bones to get
a scaffolding kernel to compile to actually work on that support.
Don't hold your breath.
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file std.t_sh7706lan was added on branch yamt-nfs-mp on 2010-08-11 22:51:57 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file std.t_sh7706lan was added on branch rmind-uvmplock on 2010-05-30 05:16:47 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file std.t_sh7706lan was added on branch uebayasi-xip on 2010-04-30 14:39:20 +0000
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file std.t_sh7706lsr was added on branch yamt-nfs-mp on 2010-08-11 22:51:57 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file std.t_sh7706lsr was added on branch rmind-uvmplock on 2010-05-30 05:16:47 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file std.t_sh7706lsr was added on branch uebayasi-xip on 2010-04-30 14:39:20 +0000
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file clock_machdep.c was added on branch yamt-nfs-mp on 2010-08-11 22:51:57 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file clock_machdep.c was added on branch rmind-uvmplock on 2010-05-30 05:16:47 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file clock_machdep.c was added on branch uebayasi-xip on 2010-04-30 14:39:20 +0000
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file cqreeksh3.c was added on branch yamt-nfs-mp on 2010-08-11 22:51:58 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file cqreeksh3.c was added on branch rmind-uvmplock on 2010-05-30 05:16:47 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file cqreeksh3.c was added on branch uebayasi-xip on 2010-04-30 14:39:20 +0000
 1.11 29-Jul-2012  mlelstv Do not call setroot() from MD code and from MI code, which has
unwanted sideeffects in the RB_ASKNAME case. This fixes PR/46732.

No longer wrap MD cpu_rootconf(), as hp300 port stores reboot information
as a side effect. Instead call MI rootconf() from MD code which makes
rootconf() now a wrapper to setroot().

Adjust several MD routines to set the global booted_device,booted_partition
variables instead of passing partial information to setroot().

Make cpu_rootconf(9) describe the calling order.
 1.10 06-Apr-2010  nonaka branches: 1.10.8; 1.10.14;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.9 18-Mar-2009  cegger branches: 1.9.2; 1.9.4;
Ansify function definitions w/o arguments. Generated with sed.
 1.8 28-Apr-2008  martin branches: 1.8.8; 1.8.14;
Remove clause 3 and 4 from TNF licenses
 1.7 03-Dec-2007  ad branches: 1.7.14; 1.7.16; 1.7.18;
Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.
 1.6 11-Dec-2005  christos branches: 1.6.30; 1.6.48; 1.6.50; 1.6.56;
merge ktrace-lwp.
 1.5 15-Jul-2003  lukem branches: 1.5.16;
__KERNEL_RCSID()
 1.4 24-Mar-2002  uch branches: 1.4.6; 1.4.12;
adapted to new interrupt code and shb changes.
 1.3 08-Mar-2002  uch remove unneeded code and files.
 1.2 22-Feb-2002  uch New NetBSD/sh3 clock framework.
+ hardclock source is moved from TMU1 to TMU0.
+ SH3/SH4 common kernel support.
+ PCLOCK estimation.
+ remove duplicated code.
 1.1 06-Feb-2001  uch branches: 1.1.2; 1.1.4; 1.1.6;
move machine-port specific file to machine directory.
for evbsh3, mmeye and dreamcast, use MI md_root.c
 1.1.6.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.6.1 16-Mar-2002  jdolecek Catch up with -current.
 1.1.4.2 26-Sep-2001  fvdl * add a VCLONED vnode flag that indicates a vnode representing a cloned
device.
* rename REVOKEALL to REVOKEALIAS, and add a REVOKECLONE flag, to pass
to VOP_REVOKE
* the revoke system call will revoke all aliases, as before, but not the
clones
* vdevgone is called when detaching a device, so make it use REVOKECLONE
to get rid of all clones as well
* clean up all uses of VOP_OPEN wrt. locking.
* add a few VOPS to spec_vnops that need to do something when it's a
clone vnode (access and getattr)
* add a copy of the vnode vattr structure of the original 'master' vnode
to the specinfo of a cloned vnode. could possibly redirect getattr to
the 'master' vnode, but this has issues with revoke
* add a vdev_reassignvp function that disassociates a vnode from its
original device, and reassociates it with the specified dev_t. to be
used by cloning devices only, in case a new minor is allocated.
* change all direct references in drivers to v_devcookie and v_rdev
to vdev_privdata(vp) and vdev_rdev(vp). for diagnostic purposes
when debugging race conditions that still exist wrt. locking and
revoking vnodes.
* make the locking state of a vnode consistent when passed to
d_open and d_close (unlocked). locked would be better, but has
some deadlock issues
 1.1.4.1 18-Sep-2001  fvdl Various changes to make cloning devices possible:

* Add an extra argument (struct vnode **) to VOP_OPEN. If it is
not NULL, specfs will create a cloned (aliased) vnode during
the call, and return it there. The caller should release and
unlock the original vnode if a new vnode was returned. The
new vnode is returned locked.

* Add a flag field to the cdevsw and bdevsw structures.
DF_CLONING indicates that it wants a new vnode for each
open (XXX is there a better way? devprop?)

* If a device is cloning, always call the close entry
point for a VOP_CLOSE.


Also, rewrite cons.c to do the right thing with vnodes. Use VOPs
rather then direct device entry calls. Suggested by mycroft@

Light to moderate testing done an i386 system (arch doesn't matter
though, these are MI changes).
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 06-Feb-2001  bouyer file autoconf.c was added on branch thorpej_scsipi on 2001-02-11 19:09:21 +0000
 1.4.12.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.4.12.2 18-Sep-2004  skrll Sync with HEAD.
 1.4.12.1 03-Aug-2004  skrll Sync with HEAD
 1.4.6.2 24-Mar-2002  uch adapted to new interrupt code and shb changes.
 1.4.6.1 24-Mar-2002  uch file autoconf.c was added on branch nathanw_sa on 2002-03-24 18:21:17 +0000
 1.5.16.1 07-Dec-2007  yamt sync with head
 1.6.56.1 08-Dec-2007  mjf Sync with HEAD.
 1.6.50.1 09-Jan-2008  matt sync with HEAD
 1.6.48.1 09-Dec-2007  jmcneill Sync with HEAD.
 1.6.30.1 03-Dec-2007  ad Sync with HEAD.
 1.7.18.3 11-Aug-2010  yamt sync with head.
 1.7.18.2 04-May-2009  yamt sync with head.
 1.7.18.1 16-May-2008  yamt sync with head.
 1.7.16.1 18-May-2008  yamt sync with head.
 1.7.14.1 02-Jun-2008  mjf Sync with HEAD.
 1.8.14.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.8.8.1 28-Apr-2009  skrll Sync with HEAD.
 1.9.4.1 30-May-2010  rmind sync with head
 1.9.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.10.14.1 08-Aug-2012  martin Pull up following revision(s) (requested by mlelstv in ticket #466):
sys/arch/amiga/amiga/autoconf.c: revision 1.113
sys/arch/rs6000/rs6000/autoconf.c: revision 1.4
sys/arch/emips/emips/autoconf.c: revision 1.6
sys/arch/sandpoint/sandpoint/autoconf.c: revision 1.27
sys/arch/evbmips/alchemy/autoconf.c: revision 1.18
sys/arch/sgimips/sgimips/autoconf.c: revision 1.43
sys/arch/atari/atari/autoconf.c: revision 1.63
sys/arch/powerpc/oea/ofw_autoconf.c: revision 1.17
sys/arch/mmeye/mmeye/autoconf.c: revision 1.9
distrib/sets/lists/comp/mi: revision 1.1771
sys/arch/mipsco/mipsco/autoconf.c: revision 1.25
sys/arch/iyonix/iyonix/autoconf.c: revision 1.14
sys/arch/hp300/hp300/autoconf.c: revision 1.100
sys/kern/init_main.c: revision 1.445
sys/arch/pmax/pmax/autoconf.c: revision 1.79
sys/arch/netwinder/netwinder/autoconf.c: revision 1.11
sys/arch/dreamcast/dreamcast/autoconf.c: revision 1.10
sys/arch/ibmnws/ibmnws/autoconf.c: revision 1.12
sys/arch/evbppc/ev64260/autoconf.c: revision 1.17
sys/arch/evbmips/gdium/autoconf.c: revision 1.5
sys/arch/algor/algor/autoconf.c: revision 1.21
share/man/man9/Makefile: revision 1.367
sys/arch/ews4800mips/ews4800mips/autoconf.c: revision 1.9
sys/arch/amigappc/amigappc/autoconf.c: revision 1.5
sys/arch/x86/x86/x86_autoconf.c: revision 1.65
sys/arch/acorn26/acorn26/autoconf.c: revision 1.9
sys/arch/mvmeppc/mvmeppc/autoconf.c: revision 1.13
sys/arch/vax/vax/autoconf.c: revision 1.94
sys/arch/usermode/dev/cpu.c: revision 1.72
sys/arch/evbppc/virtex/autoconf.c: revision 1.5
sys/arch/next68k/next68k/autoconf.c: revision 1.26
sys/arch/mac68k/mac68k/autoconf.c: revision 1.73
sys/arch/ia64/ia64/autoconf.c: revision 1.6
sys/arch/evbppc/obs405/obs405_autoconf.c: revision 1.6
share/man/man9/cpu_rootconf.9: revision 1.7
sys/arch/landisk/landisk/autoconf.c: revision 1.6
sys/arch/evbmips/malta/autoconf.c: revision 1.16
sys/arch/sun3/sun3/autoconf.c: revision 1.76
sys/arch/evbppc/explora/autoconf.c: revision 1.13
sys/arch/sun3/sun3/autoconf.c: revision 1.77
sys/arch/evbmips/loongson/autoconf.c: revision 1.3
sys/arch/evbmips/atheros/autoconf.c: revision 1.11
sys/arch/sparc64/sparc64/autoconf.c: revision 1.188
sys/arch/acorn32/acorn32/autoconf.c: revision 1.18
sys/arch/evbarm/evbarm/autoconf.c: revision 1.13
sys/arch/cobalt/cobalt/autoconf.c: revision 1.30
sys/arch/mvme68k/mvme68k/autoconf.c: revision 1.46
sys/arch/hp700/hp700/autoconf.c: revision 1.48
sys/arch/evbmips/adm5120/autoconf.c: revision 1.5
sys/arch/hpcmips/hpcmips/autoconf.c: revision 1.25
sys/arch/alpha/alpha/autoconf.c: revision 1.52
sys/arch/sparc/sparc/autoconf.c: revision 1.244
sys/arch/evbppc/pmppc/autoconf.c: revision 1.7
sys/arch/bebox/bebox/autoconf.c: revision 1.25
sys/arch/luna68k/luna68k/autoconf.c: revision 1.13
sys/arch/hpcarm/hpcarm/autoconf.c: revision 1.20
sys/arch/evbppc/walnut/autoconf.c: revision 1.21
sys/arch/cesfic/cesfic/autoconf.c: revision 1.26
sys/arch/cats/cats/autoconf.c: revision 1.17
sys/arch/x68k/x68k/autoconf.c: revision 1.67
sys/arch/news68k/news68k/autoconf.c: revision 1.21
sys/arch/arc/arc/autoconf.c: revision 1.34
sys/arch/evbsh3/evbsh3/autoconf.c: revision 1.11
sys/sys/conf.h: revision 1.143
sys/arch/evbmips/rasoc/autoconf.c: revision 1.3
sys/arch/hpcsh/hpcsh/autoconf.c: revision 1.26
sys/arch/sun68k/sun68k/autoconf.c: revision 1.29
sys/arch/evbmips/rmixl/autoconf.c: revision 1.6
sys/arch/zaurus/zaurus/autoconf.c: revision 1.12
sys/arch/xen/x86/autoconf.c: revision 1.15
sys/arch/evbppc/mpc85xx/autoconf.c: revision 1.6
sys/arch/shark/shark/autoconf.c: revision 1.18
sys/arch/prep/prep/autoconf.c: revision 1.25
sys/arch/newsmips/newsmips/autoconf.c: revision 1.36
sys/arch/sbmips/sbmips/autoconf.c: revision 1.8
Do not call setroot() from MD code and from MI code, which has
unwanted sideeffects in the RB_ASKNAME case. This fixes PR/46732.
No longer wrap MD cpu_rootconf(), as hp300 port stores reboot information
as a side effect. Instead call MI rootconf() from MD code which makes
rootconf() now a wrapper to setroot().
Adjust several MD routines to set the global booted_device,booted_partition
variables instead of passing partial information to setroot().
Make cpu_rootconf(9) describe the calling order.
add rootconf(9) as a link to cpu_rootconf(9)
make this compile again
 1.10.8.1 30-Oct-2012  yamt sync with head
 1.5 21-Nov-2020  thorpej malloc(9) -> kmem(9)
 1.4 22-Jan-2015  nonaka branches: 1.4.30;
Sync with sys/arch/landisk/landisk/bus_dma.c rev.1.15.

> Don't call sh_dcache_inv_range() on BUS_DMASYNC_POSTREAD ops
> as other mips and arm ports.
>
> All cached data is cared on BUS_DMASYNC_PREREAD and
> invalidating cache without writeback could cause unexpected
> data loss if specified sync region is not cacheline aligned.
>
> This may fix "ffs_alloccg: map corrupted" panic on acardide IDE disks,
> which didn't happen on USB HDD.
 1.3 19-Jul-2011  dyoung branches: 1.3.8; 1.3.12; 1.3.28; 1.3.30;
Change <machine/bus.h> to <sys/bus.h> throughout.

Split bus.h -> bus_{defs,funcs}.h.

Mark evbsh3/bus.h obsolete.
 1.2 12-Nov-2010  uebayasi Pull in uvm/uvm.h where UVM's page level interface is used.
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file bus_dma.c was added on branch yamt-nfs-mp on 2010-08-11 22:51:58 +0000
 1.1.4.3 05-Mar-2011  rmind sync with head
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file bus_dma.c was added on branch rmind-uvmplock on 2010-05-30 05:16:47 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file bus_dma.c was added on branch uebayasi-xip on 2010-04-30 14:39:20 +0000
 1.3.30.1 06-Apr-2015  skrll Sync with HEAD
 1.3.28.1 25-Jan-2015  martin Pull up following revision(s) (requested by nonaka in ticket #450):
sys/arch/evbsh3/evbsh3/bus_dma.c: revision 1.4
Sync with sys/arch/landisk/landisk/bus_dma.c rev.1.15.
Don't call sh_dcache_inv_range() on BUS_DMASYNC_POSTREAD ops
as other mips and arm ports.
All cached data is cared on BUS_DMASYNC_PREREAD and
invalidating cache without writeback could cause unexpected
data loss if specified sync region is not cacheline aligned.
This may fix "ffs_alloccg: map corrupted" panic on acardide IDE disks,
which didn't happen on USB HDD.
 1.3.12.1 03-Dec-2017  jdolecek update from HEAD
 1.3.8.1 24-Jan-2015  martin Pull up following revision(s) (requested by nonaka in ticket #1237):
sys/arch/evbsh3/evbsh3/bus_dma.c: revision 1.4
Sync with sys/arch/landisk/landisk/bus_dma.c rev.1.15.
Don't call sh_dcache_inv_range() on BUS_DMASYNC_POSTREAD ops
as other mips and arm ports.
All cached data is cared on BUS_DMASYNC_PREREAD and
invalidating cache without writeback could cause unexpected
data loss if specified sync region is not cacheline aligned.
This may fix "ffs_alloccg: map corrupted" panic on acardide IDE disks,
which didn't happen on USB HDD.
 1.4.30.1 14-Dec-2020  thorpej Sync w/ HEAD.
 1.6 07-Apr-2010  nonaka delete unused file.
 1.5 28-Apr-2008  martin branches: 1.5.14; 1.5.20; 1.5.22;
Remove clause 3 and 4 from TNF licenses
 1.4 20-Sep-2006  uwe branches: 1.4.52; 1.4.54; 1.4.56;
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.3 11-Dec-2005  christos branches: 1.3.20; 1.3.22;
merge ktrace-lwp.
 1.2 15-Jul-2003  lukem branches: 1.2.16;
__KERNEL_RCSID()
 1.1 22-Feb-2002  uch branches: 1.1.2; 1.1.8; 1.1.16; 1.1.22;
New NetBSD/sh3 clock framework.
+ hardclock source is moved from TMU1 to TMU0.
+ SH3/SH4 common kernel support.
+ PCLOCK estimation.
+ remove duplicated code.
 1.1.22.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.22.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.22.1 03-Aug-2004  skrll Sync with HEAD
 1.1.16.2 22-Feb-2002  uch New NetBSD/sh3 clock framework.
+ hardclock source is moved from TMU1 to TMU0.
+ SH3/SH4 common kernel support.
+ PCLOCK estimation.
+ remove duplicated code.
 1.1.16.1 22-Feb-2002  uch file clock_machdep.c was added on branch nathanw_sa on 2002-02-22 19:44:01 +0000
 1.1.8.2 16-Mar-2002  jdolecek Catch up with -current.
 1.1.8.1 22-Feb-2002  jdolecek file clock_machdep.c was added on branch kqueue on 2002-03-16 15:57:29 +0000
 1.1.2.1 28-Feb-2002  nathanw Catch up to -current.
 1.2.16.1 30-Dec-2006  yamt sync with head.
 1.3.22.1 22-Oct-2006  yamt sync with head
 1.3.20.1 18-Nov-2006  ad Sync with head.
 1.4.56.2 11-Aug-2010  yamt sync with head.
 1.4.56.1 16-May-2008  yamt sync with head.
 1.4.54.1 18-May-2008  yamt sync with head.
 1.4.52.1 02-Jun-2008  mjf Sync with HEAD.
 1.5.22.1 30-May-2010  rmind sync with head
 1.5.20.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.5.14.1 24-Oct-2010  jym Sync with HEAD
 1.11 11-Dec-2005  christos merge ktrace-lwp.
 1.10 15-Jul-2003  lukem __KERNEL_RCSID()
 1.9 26-Oct-2002  jdolecek branches: 1.9.6;
now that mem_no is emitted by config(8), there is no reason to keep
copy of more or less identical iskmemdev() for every arch; move the function
to spec_vnop.c, and g/c machine-dependant copies
 1.8 06-Sep-2002  gehenna Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.

- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.

- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
 1.7 19-Jul-2002  thorpej 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.
 1.6 17-Jun-2002  christos branches: 1.6.2;
MD systrace gluons.
 1.5 12-Jan-2002  manu branches: 1.5.8;
Added clockctl
 1.4 24-Feb-2000  msaitoh branches: 1.4.8;
SH4!
 1.3 24-Feb-2000  msaitoh watchdog timer
 1.2 13-Sep-1999  msaitoh branches: 1.2.2;
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.2.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.4.8.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.4.8.2 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.4.8.1 11-Feb-2002  jdolecek Sync w/ -current.
 1.5.8.3 21-Jul-2002  gehenna catch up with -current.
 1.5.8.2 14-Jul-2002  gehenna catch up with -current.
 1.5.8.1 16-May-2002  gehenna Bye block/character device swicth tables.
 1.6.2.4 11-Nov-2002  nathanw Catch up to -current
 1.6.2.3 17-Sep-2002  nathanw Catch up to -current.
 1.6.2.2 01-Aug-2002  nathanw Catch up to -current.
 1.6.2.1 17-Jun-2002  nathanw file conf.c was added on branch nathanw_sa on 2002-08-01 02:41:37 +0000
 1.9.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.9.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.9.6.1 03-Aug-2004  skrll Sync with HEAD
 1.10 24-Feb-2002  uch branches: 1.10.10;
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.9 04-Sep-2000  msaitoh branches: 1.9.4;
refer MMUCR_VALIDBITS from mmureg.h
 1.8 11-Aug-2000  msaitoh fix the first (temporary) kernel stack address
from IOM_RAM_BEGIN + 0x003ff000
to IOM_RAM_BEGIN + IOM_RAM_SIZE - 0x00001000
 1.7 29-Jun-2000  mrg remove include of <vm/vm.h>.
 1.6 26-May-2000  thorpej branches: 1.6.4;
Introduce a new process state distinct from SRUN called SONPROC
which indicates that the process is actually running on a
processor. Test against SONPROC as appropriate rather than
combinations of SRUN and curproc. Update all context switch code
to properly set SONPROC when the process becomes the current
process on the CPU.
 1.5 24-Feb-2000  msaitoh SH4!
 1.4 24-Feb-2000  msaitoh variable start address of the main memory (now we can use
the area 2 as main memory with "options IOM_RAM_BEGIN=0x88000000")
 1.3 16-Sep-1999  msaitoh branches: 1.3.2;
sync with mmeye
 1.2 14-Sep-1999  tsubai Sync with -current.
 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.3.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.4.1 12-Aug-2000  msaitoh fix the first (temporary) kernel stack address
 1.9.4.1 16-Mar-2002  jdolecek Catch up with -current.
 1.10.10.2 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.10.10.1 24-Feb-2002  uch file genassym.cf was added on branch nathanw_sa on 2002-02-24 18:19:42 +0000
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file kloader_machdep.c was added on branch yamt-nfs-mp on 2010-08-11 22:51:58 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file kloader_machdep.c was added on branch rmind-uvmplock on 2010-05-30 05:16:47 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file kloader_machdep.c was added on branch uebayasi-xip on 2010-04-30 14:39:21 +0000
 1.16 29-Sep-2023  andvar reorder includes alphabetically to match mmeye counterpart, NFCI.
 1.15 28-Jul-2020  uwe Don't write SR twice.

__INTR_MASK sets PSL_IMASK bits in SR but then in the next instruction
we overwrite SR anyway, so drop that redundant __INTR_MASK.
 1.14 28-Jul-2020  uwe G/c trailing whitespace.
 1.13 12-Jul-2020  uwe Use symbolic constants for SR and CCR init values.
Same object code is generated.
 1.12 12-Jul-2020  uwe Wrap _ROM_START in #ifdef ROMIMAGE to match its use.
 1.11 07-Oct-2006  tsutsui Add kernel_text symbol for pmap(1). Closes PR kern/19877.
 1.10 17-Mar-2006  uebayasi branches: 1.10.8; 1.10.10;
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.9 11-Dec-2005  christos branches: 1.9.4; 1.9.6; 1.9.8; 1.9.10; 1.9.12;
merge ktrace-lwp.
 1.8 31-May-2005  chs branches: 1.8.2;
remove vestigal {,e}intr{names,cnt} symbols now that vmstat doesn't need them.
 1.7 04-Jan-2004  wiz Spell controller with two ls. Inspired by miod@openbsd.
 1.6 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.5 09-May-2002  uch branches: 1.5.6; 1.5.12;
IOM_RAM_BEGIN is changed to specify physical address.
 1.4 24-Mar-2002  uch adapted to new interrupt code and shb changes.
 1.3 17-Mar-2002  uch adapt to kernel stack treatment changes.
 1.2 28-Feb-2002  uch branches: 1.2.2; 1.2.8;
Change foo_r0_r1 macro in sh3/locore.h to foo(Rn, Rm)
 1.1 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.2.8.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.8.2 16-Mar-2002  jdolecek Catch up with -current.
 1.2.8.1 28-Feb-2002  jdolecek file locore.S was added on branch kqueue on 2002-03-16 15:57:30 +0000
 1.2.2.3 20-Jun-2002  nathanw Catch up to -current.
 1.2.2.2 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.2.2.1 28-Feb-2002  nathanw Catch up to -current.
 1.5.12.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.5.12.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.12.2 18-Sep-2004  skrll Sync with HEAD.
 1.5.12.1 03-Aug-2004  skrll Sync with HEAD
 1.5.6.2 09-May-2002  uch IOM_RAM_BEGIN is changed to specify physical address.
 1.5.6.1 09-May-2002  uch file locore.S was added on branch nathanw_sa on 2002-05-09 12:34:22 +0000
 1.8.2.2 30-Dec-2006  yamt sync with head.
 1.8.2.1 21-Jun-2006  yamt sync with head.
 1.9.12.1 28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.9.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.9.8.1 01-Apr-2006  yamt sync with head.
 1.9.6.1 22-Apr-2006  simonb Sync with head.
 1.9.4.1 09-Sep-2006  rpaulo sync with head
 1.10.10.1 22-Oct-2006  yamt sync with head
 1.10.8.1 18-Nov-2006  ad Sync with head.
 1.38 24-Feb-2002  uch branches: 1.38.10;
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.37 22-Feb-2002  uch setjmp,longjmp are moved to sh3/locore_subr.S
 1.36 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.35 17-Feb-2002  uch Fix calling convention. r0-r7 are caller saved.
 1.34 27-Oct-2001  msaitoh Fix incorrect kernelmode check in INTRENTRY macro.
Broken INTRENTRY causes CPU reset when sigaltstack is used.
 1.33 10-Aug-2001  msaitoh branches: 1.33.4;
fix a ldtlb handling bug:

- set to PTE{H,L,A} and call LDTLB must do atomically.
- never call LDTLB when it's unnecessary.

Broken kernel oocasionally causes cpu reset when /etc/security is called.
Now fix this problem.
 1.32 15-May-2001  msaitoh branches: 1.32.2;
convert two consecutive "shll"s with one "shll2"
 1.31 14-Feb-2001  msaitoh branches: 1.31.2;
_C_LABEL()
 1.30 05-Feb-2001  thorpej Rename the CLI/STI/ECLI/ESTI macros to more descriptive names,
and add comments to describe exactly what they do (because it's
not totally obvious at a glance, due to the number juggling necessary
to frob the correct bits in SR):

CLI -> EXCEPT_DISABLE (sets SR.BL)
STI -> EXCEPT_ENABLE (clears SR.BL)

ECLI -> INTR_DISABLE (sets SR.I[0-3])
ESTI -> INTR_ENABLE (clears SR.I[0-3])
 1.29 05-Feb-2001  uch add SH3 CCR register address define.
 1.28 30-Jan-2001  msaitoh more use _C_LABEL()
 1.27 29-Jan-2001  msaitoh use macro for CCR register
 1.26 31-Oct-2000  msaitoh fix compile problem on SH3 (from Atsushi Noda)
 1.25 08-Sep-2000  tsubai DDB single step and stack trace support.
 1.24 04-Sep-2000  msaitoh refer MMUCR_VALIDBITS from mmureg.h
 1.23 30-Aug-2000  tsubai Scheduler locking changes.
 1.22 17-Aug-2000  msaitoh add code to mask mmucr register (SH4 only)

I'm sorry, I'd forgotten to commit it for a long time.
 1.21 11-Aug-2000  msaitoh hide InitializeBSD if DONT_INIT_BSC is defined
 1.20 11-Aug-2000  msaitoh fix the first (temporary) kernel stack address
from IOM_RAM_BEGIN + 0x003ff000
to IOM_RAM_BEGIN + IOM_RAM_SIZE - 0x00001000
 1.19 03-Aug-2000  msaitoh set internal register correctly (SH4)
 1.18 13-Jul-2000  msaitoh don't initialize BSC when BSC is already initialized (e.g. Dreamcast)
 1.17 07-Jun-2000  msaitoh branches: 1.17.2;
remove extra NOPs because "bf" and "bt" instruction have no delayed slot.
 1.16 31-May-2000  thorpej Add a comment on single-processor systems about p_cpu being initialized
by fork1().
 1.15 31-May-2000  nisimura Minor comment adjustments. cpu_switch has an argument of struct proc *.
 1.14 26-May-2000  thorpej branches: 1.14.2;
First sweep at scheduler state cleanup. Collect MI scheduler
state into global and per-CPU scheduler state:

- Global state: sched_qs (run queues), sched_whichqs (bitmap
of non-empty run queues), sched_slpque (sleep queues).
NOTE: These may collectively move into a struct schedstate
at some point in the future.

- Per-CPU state, struct schedstate_percpu: spc_runtime
(time process on this CPU started running), spc_flags
(replaces struct proc's p_schedflags), and
spc_curpriority (usrpri of processes on this CPU).

- Every platform must now supply a struct cpu_info and
a curcpu() macro. Simplify existing cpu_info declarations
where appropriate.

- All references to per-CPU scheduler state now made through
curcpu(). NOTE: this will likely be adjusted in the future
after further changes to struct proc are made.

Tested on i386 and Alpha. Changes are mostly mechanical, but apologies
in advance if it doesn't compile on a particular platform.
 1.13 26-May-2000  thorpej From tusbai@netbsd.org:

Simplify SONPROC change. (and now compiles)
 1.12 26-May-2000  thorpej Introduce a new process state distinct from SRUN called SONPROC
which indicates that the process is actually running on a
processor. Test against SONPROC as appropriate rather than
combinations of SRUN and curproc. Update all context switch code
to properly set SONPROC when the process becomes the current
process on the CPU.
 1.11 24-Feb-2000  msaitoh SH4!
 1.10 24-Feb-2000  msaitoh variable start address of the main memory (now we can use
the area 2 as main memory with "options IOM_RAM_BEGIN=0x88000000")
 1.9 24-Feb-2000  msaitoh multiple interrputs!!!
 1.8 12-Jan-2000  msaitoh use _C_LABEL()
 1.7 26-Dec-1999  msaitoh use _C_LABEL()
 1.6 21-Dec-1999  msaitoh fix the usage of .align 2
 1.5 21-Dec-1999  msaitoh ".align 2" for mova instruction
 1.4 16-Sep-1999  msaitoh branches: 1.4.2; 1.4.8;
cleanup
 1.3 16-Sep-1999  msaitoh sync with mmeye
 1.2 14-Sep-1999  tsubai Sync with -current.
 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.8.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.4.2.4 12-Mar-2001  bouyer Sync with HEAD.
 1.4.2.3 11-Feb-2001  bouyer Sync with HEAD.
 1.4.2.2 22-Nov-2000  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.14.2.1 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.17.2.4 08-Oct-2001  he Pull up revisions 1.27,1.31-1.33 (via patch, requested by msaitoh):
Fix LDTLB handling bug, add missing _C_LABEL(), and a small
optimization.
 1.17.2.3 21-Aug-2000  msaitoh Pullup revision 1.22 (approved by thorpej):

set MMUCR register correctly when CPU==SH4
 1.17.2.2 12-Aug-2000  msaitoh Pullup revision 1.20-1.21 (approved by thorpej):

rev. 1.20:
fix the first (temporary) kernel stack address

rev. 1.21:
hide InitializeBSC if DONT_INIT_BSC is defined
 1.17.2.1 08-Aug-2000  msaitoh Pullup revision 1.18-1.19 (approved by thorpej):

fix adresses of some device registers of SH4
 1.31.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.32.2.3 16-Mar-2002  jdolecek Catch up with -current.
 1.32.2.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.32.2.1 25-Aug-2001  thorpej Merge Aug 24 -current into the kqueue branch.
 1.33.4.1 12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.38.10.2 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.38.10.1 24-Feb-2002  uch file locore.s was added on branch nathanw_sa on 2002-02-24 18:19:42 +0000
 1.78 13-Jul-2025  andvar s/externel/external/ in comments, also use plural for interrupts.
 1.77 05-Feb-2024  andvar branches: 1.77.2;
triple "r" typos, mainly s/interrrupt/interrupt/ in comments and one definition.
 1.76 25-Jul-2020  uwe Start teaching sh3 code about STX7105.

Kernel option STX7105 to select CPU product (TODO: all of the options
that select CPU product should be defflag'ed to opt_cputype.h).

The ST40 cache sizes can be customized for each product. For now just
hardcode the STx7105 values in the switch, but may be they should be
kernel options.
 1.75 19-Jun-2014  msaitoh Fix "error: variable 's' set but not used [-Werror=unused-but-set-variable]"
 1.74 19-Jul-2011  dyoung branches: 1.74.12; 1.74.26;
Change <machine/bus.h> to <sys/bus.h> throughout.

Split bus.h -> bus_{defs,funcs}.h.

Mark evbsh3/bus.h obsolete.
 1.73 19-Jan-2011  he Need <machine/pcb.h> to define struct pcb.
 1.72 20-Dec-2010  matt branches: 1.72.2;
Move counting of faults, traps, intrs, soft[intr]s, syscalls, and nswtch
from uvmexp to per-cpu cpu_data and move them to 64bits. Remove unneeded
includes of <uvm/uvm_extern.h> and/or <uvm/uvm.h>.
 1.71 06-Apr-2010  nonaka Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.70 27-Nov-2009  rmind branches: 1.70.2; 1.70.4;
- Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr.
- Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb().
- Amend assembly in ports where it accesses PCB via struct user.
- Rename L_ADDR to L_PCB in few places. Reduce sys/user.h inclusions.
 1.69 07-Nov-2009  cegger Add a flags argument to pmap_kenter_pa(9).
Patch showed on tech-kern@ http://mail-index.netbsd.org/tech-kern/2009/11/04/msg006434.html
No objections.
 1.68 16-May-2009  nonaka Added SH7706, SH7750R, SH7751 and SH7751R support.
 1.67 18-Mar-2009  cegger Ansify function definitions w/o arguments. Generated with sed.
 1.66 14-Mar-2009  dsl ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
 1.65 14-Mar-2009  dsl Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.64 14-Mar-2009  dsl Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
 1.63 30-Nov-2008  martin branches: 1.63.4;
As discussed on tech-kern: mutex_init is too heavyweight for early bootstrap
phases, so move the initialization of the ksyms mutex back into main via
a function called ksyms_init. Rename the existing (but quite different)
ksyms_init* variations into ksyms_addsyms_elf() and ksyms_addsyms_explicit()
and adapt machdep code accordingly.
 1.62 12-Nov-2008  ad Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.61 11-Nov-2008  dyoung It is not appropriate to call pmf_system_shutdown(9) from
doshutdownhooks(9): shutdown hooks registered by shutdownhook_establish(9)
expect to be called with interrupts disabled, but shutdown hooks
registered with pmf_device_register1(9) expect to be called with
interrupts enabled. So I have made two changes:

1 Do not call pmf_system_shutdown() from doshutdownhooks(). Instead,
change every call to doshutdownhooks() to a call to doshutdownhooks()
followed by a call to pmf_system_shutdown(). No functional change
is intended by this change.

2 Make i386 re-enable interrupts briefly while it calls
pmf_system_shutdown(). I leave it to others either to fix the
other ports, or to factor out some MI shutdown code, as joerg@
suggests, and fix that. Note that a functional change *is* intended
by this change.

I hope that this patch will stop us from flip-flopping between
calling doshutdownhooks() and pmf_system_shutdown() sometimes with
and sometimes without interrupts enabled.
 1.60 28-Apr-2008  martin branches: 1.60.6; 1.60.8;
Remove clause 3 and 4 from TNF licenses
 1.59 07-Jan-2008  uwe branches: 1.59.6; 1.59.8; 1.59.10;
Now that sh3 has didicated interrupt stack we can check for cpu_intr_p
with simple sp comparison, so we can drop ci_idepth.
 1.58 03-Dec-2007  ad branches: 1.58.6;
Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.
 1.57 17-Mar-2006  uebayasi branches: 1.57.18; 1.57.36; 1.57.44;
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.56 24-Dec-2005  perry branches: 1.56.4; 1.56.6; 1.56.8; 1.56.10; 1.56.12;
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.55 24-Nov-2005  yamt bus_dmamem_map: honour BUS_DMA_NOWAIT. noted by Manuel Bouyer.
bus_space_map: always do NOWAIT allocation as it used to be before yamt-km.

we have too many copies!
 1.54 05-Jun-2005  he branches: 1.54.2; 1.54.8;
Adapt to compiling with -Wcast-qual by sprinkling around some consts.
Had to use __UNCONST() in one case of sysctl_lookup() use.
 1.53 01-Apr-2005  yamt merge yamt-km branch.
- don't use managed mappings/backing objects for wired memory allocations.
save some resources like pv_entry. also fix (most of) PR/27030.
- simplify kernel memory management API.
- simplify pmap bootstrap of some ports.
- some related cleanups.
 1.52 11-Mar-2005  matt Don't compare scalars against NULL, use 0
 1.51 24-Mar-2004  atatat branches: 1.51.8; 1.51.10;
Tango on sysctl_createv() and flags. The flags have all been renamed,
and sysctl_createv() now uses more arguments.
 1.50 04-Jan-2004  wiz Spell controller with two ls. Inspired by miod@openbsd.
 1.49 04-Dec-2003  atatat Dynamic sysctl.

Gone are the old kern_sysctl(), cpu_sysctl(), hw_sysctl(),
vfs_sysctl(), etc, routines, along with sysctl_int() et al. Now all
nodes are registered with the tree, and nodes can be added (or
removed) easily, and I/O to and from the tree is handled generically.

Since the nodes are registered with the tree, the mapping from name to
number (and back again) can now be discovered, instead of having to be
hard coded. Adding new nodes to the tree is likewise much simpler --
the new infrastructure handles almost all the work for simple types,
and just about anything else can be done with a small helper function.

All existing nodes are where they were before (numerically speaking),
so all existing consumers of sysctl information should notice no
difference.

PS - I'm sorry, but there's a distinct lack of documentation at the
moment. I'm working on sysctl(3/8/9) right now, and I promise to
watch out for buses.
 1.48 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.47 15-Jul-2003  lukem __KERNEL_RCSID()
 1.46 26-Apr-2003  ragge branches: 1.46.2;
Call ksyms_init() instead of ddb_init() in case of
NKSYMS || defined(DDB) || defined(LKM)
 1.45 02-Apr-2003  thorpej Use PAGE_SIZE rather than NBPG.
 1.44 17-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.43 16-Oct-2002  jdolecek initSH3(): prefix the extern edata[], end[] with '_', so that the kernel links
XXX this is probably wrong, other sh3 platforms don't need/have this
 1.42 10-May-2002  uch branches: 1.42.6;
Don't reset to old interrupt level at the exit of interrupt handler.
It didn't ensure the maximum interrupt nest depth.
 1.41 09-May-2002  uch adapt to new pmap.
 1.40 24-Mar-2002  uch adapted to new interrupt code and shb changes.
 1.39 17-Mar-2002  uch cosmetic changes, fix comments.
 1.38 17-Mar-2002  uch adapt to kernel stack treatment changes.
 1.37 10-Mar-2002  uch proc0 and page table intialize routines are moved to sh3_machdep.c
 1.36 08-Mar-2002  uch remove unneeded code and files.
 1.35 03-Mar-2002  uch machine dependent sysctl are moved to machine/cpu.h
dreamcast, hpcsh ... CPU_CONSDEV
mmeye, evbsh3 ... CPU_CONSDEV, CPU_LOADANDRESET
 1.34 28-Feb-2002  uch cpu_dumpconf, reserve_dumppages, dumpsys, cpu_reset are moved to sh3/sh3_machdep.c
 1.33 28-Feb-2002  uch Cleanup register definition
 1.32 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.31 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.30 17-Feb-2002  uch sh_cpu_init() is added. its initialize cache, MMU ops appropriately.
machine locore code call this at first.
 1.29 11-Feb-2002  uch sync with PTE bit change.
 1.28 10-Sep-2001  chris Update pmap_update to now take the updated pmap as an argument.
This will allow improvements to the pmaps so that they can more easily defer expensive operations, eg tlb/cache flush, til the last possible moment.

Currently this is a no-op on most platforms, so they should see no difference.

Reviewed by Jason.
 1.27 07-Jul-2001  ichiro branches: 1.27.2; 1.27.4;
bcopy -> memcpy
bzero -> memset
 1.26 30-May-2001  lukem add missing #include "opt_kgdb.h"
 1.25 24-Apr-2001  thorpej Sprinkle pmap_update() calls after calls to:
- pmap_enter()
- pmap_remove()
- pmap_protect()
- pmap_kenter_pa()
- pmap_kremove()
as described in pmap(9).

These calls are relatively conservative. It may be possible to
optimize these a little more.
 1.24 18-Apr-2001  ichiro typo
PGOFFSET -> PGOFSET
 1.23 30-Jan-2001  msaitoh branches: 1.23.2;
fix last commit.
 1.22 30-Jan-2001  msaitoh fix pmap_* arguments when SH4_PCMCIA is defined.
 1.21 16-Jan-2001  itojun do not include mmeye.h
 1.20 08-Nov-2000  msaitoh add shpcmcia_mem*() for SH4_PCMCIA
 1.19 26-Sep-2000  msaitoh check whether both COMPUTEXEVB and SH7709A is defined to access special
register.
 1.18 11-Aug-2000  msaitoh hide InitializeBSD if DONT_INIT_BSC is defined
 1.17 29-Jun-2000  mrg remove include of <vm/vm.h>.
 1.16 26-Jun-2000  mrg remove/move more mach vm header files:

<vm/pglist.h> -> <uvm/uvm_pglist.h>
<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
<vm/vm_object.h> -> nothing
<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.
 1.15 06-Jun-2000  soren branches: 1.15.2;
defopt SYSCALL_DEBUG.
 1.14 28-Mar-2000  simonb branches: 1.14.2;
Centralise the declarations of cpu_model, machine, machine_arch,
osrelease, and ostype and remove "extern char foo[];" (for hostname
and domainname too).

Also delete redunctant decl of boottime in kern_info_43.c.
 1.13 25-Mar-2000  msaitoh set SQMD bit when sh4
 1.12 25-Mar-2000  msaitoh use BSC_PCR_VAL
 1.11 20-Mar-2000  msaitoh use SDMR2 and SDMR3
 1.10 20-Mar-2000  msaitoh move MMUCR register definitions into mmureg.h
 1.9 24-Feb-2000  msaitoh SH4!
 1.8 24-Feb-2000  msaitoh variable start address of the main memory (now we can use
the area 2 as main memory with "options IOM_RAM_BEGIN=0x88000000")
 1.7 19-Jan-2000  thorpej Move callout initialization to a single location; no need to duplicate
that code all over the place.
 1.6 17-Jan-2000  msaitoh use macros
 1.5 21-Sep-1999  tsubai branches: 1.5.2;
Move common parts of machdep.c to sh3_machdep.c.
 1.4 16-Sep-1999  msaitoh - set nkpde from IOM_RAM_SIZE
- remove MMEYE_LED
 1.3 16-Sep-1999  msaitoh sync with mmeye
 1.2 14-Sep-1999  tsubai Sync with -current.
 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.5.2.5 21-Apr-2001  bouyer Sync with HEAD
 1.5.2.4 11-Feb-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 22-Nov-2000  bouyer Sync with HEAD.
 1.5.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.14.2.1 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.15.2.3 08-Oct-2001  he Pull up revisions 1.20,1.22-1.24 (requested by msaitoh):
Add missing shpcmcia_mem*() for SH4_PCMCIA.
 1.15.2.2 29-Sep-2000  msaitoh Pullup revision 1.19 (approved by thorpej):

check whether both COMPUTEXEVB and SH7709A is defined to access
special register.
 1.15.2.1 12-Aug-2000  msaitoh Pullup revision 1.18 (approved by thorpej):

hide InitializeBSC if DONT_INIT_BSC is defined
 1.23.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.27.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.27.2.4 16-Oct-2002  jdolecek get rev. 1.42 change:
initSH3(): prefix the extern edata[], end[] with '_', so that the kernel links
XXX this is probably wrong, other sh3 platforms don't need/have this
 1.27.2.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.27.2.2 16-Mar-2002  jdolecek Catch up with -current.
 1.27.2.1 13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.42.6.3 11-Nov-2002  nathanw Catch up to -current
 1.42.6.2 21-Jun-2002  thorpej When calling main(), load the new kernel stack from lwp0.
 1.42.6.1 10-May-2002  thorpej file machdep.c was added on branch nathanw_sa on 2002-06-21 16:59:37 +0000
 1.46.2.6 11-Dec-2005  christos Sync with head.
 1.46.2.5 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.46.2.4 01-Apr-2005  skrll Sync with HEAD.
 1.46.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.46.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.46.2.1 03-Aug-2004  skrll Sync with HEAD
 1.51.10.2 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.51.10.1 13-Feb-2005  yamt - use new api.
- don't leave pages mapped at kva being freed.
 1.51.8.1 29-Apr-2005  kent sync with -current
 1.54.8.1 29-Nov-2005  yamt sync with head.
 1.54.2.3 21-Jan-2008  yamt sync with head
 1.54.2.2 07-Dec-2007  yamt sync with head
 1.54.2.1 21-Jun-2006  yamt sync with head.
 1.56.12.1 28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.56.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.56.8.1 01-Apr-2006  yamt sync with head.
 1.56.6.1 22-Apr-2006  simonb Sync with head.
 1.56.4.1 09-Sep-2006  rpaulo sync with head
 1.57.44.2 18-Feb-2008  mjf Sync with HEAD.
 1.57.44.1 08-Dec-2007  mjf Sync with HEAD.
 1.57.36.1 09-Dec-2007  jmcneill Sync with HEAD.
 1.57.18.2 03-Dec-2007  ad Sync with HEAD.
 1.57.18.1 03-Dec-2007  ad Sync with HEAD.
 1.58.6.1 08-Jan-2008  bouyer Sync with HEAD
 1.59.10.5 11-Aug-2010  yamt sync with head.
 1.59.10.4 11-Mar-2010  yamt sync with head
 1.59.10.3 20-Jun-2009  yamt sync with head
 1.59.10.2 04-May-2009  yamt sync with head.
 1.59.10.1 16-May-2008  yamt sync with head.
 1.59.8.1 18-May-2008  yamt sync with head.
 1.59.6.2 17-Jan-2009  mjf Sync with HEAD.
 1.59.6.1 02-Jun-2008  mjf Sync with HEAD.
 1.60.8.2 28-Apr-2009  skrll Sync with HEAD.
 1.60.8.1 19-Jan-2009  skrll Sync with HEAD.
 1.60.6.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.63.4.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.70.4.2 05-Mar-2011  rmind sync with head
 1.70.4.1 30-May-2010  rmind sync with head
 1.70.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.72.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.74.26.1 10-Aug-2014  tls Rebase.
 1.74.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.77.2.1 02-Aug-2025  perseant Sync with HEAD
 1.11 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.10 24-Apr-2021  thorpej branches: 1.10.8;
Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
actually needed.
- Don't be explicit about what interface attribute is attaching if
the device only has one. (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
situations, making is visibly easier to see when indirect config is
in play, and allowing for future change in semantics. (As of now,
this is just a wrapper around config_match(), but that is an
implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.9 27-Oct-2012  chs branches: 1.9.52;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.8 06-Apr-2010  nonaka branches: 1.8.8; 1.8.18;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.7 28-Apr-2008  martin branches: 1.7.20; 1.7.22;
Remove clause 3 and 4 from TNF licenses
 1.6 11-Dec-2005  christos branches: 1.6.74; 1.6.76; 1.6.78;
merge ktrace-lwp.
 1.5 15-Jul-2003  lukem __KERNEL_RCSID()
 1.4 02-Oct-2002  thorpej branches: 1.4.6;
Use CFATTACH_DECL().
 1.3 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.2 24-Mar-2002  uch branches: 1.2.6;
add cpu device. sync with shb change.
 1.1 06-Feb-2001  uch branches: 1.1.2; 1.1.6;
move machine-port specific file to machine directory.
for evbsh3, mmeye and dreamcast, use MI md_root.c
 1.1.6.2 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.6.1 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 06-Feb-2001  bouyer file mainbus.c was added on branch thorpej_scsipi on 2001-02-11 19:09:22 +0000
 1.2.6.2 18-Oct-2002  nathanw Catch up to -current.
 1.2.6.1 24-Mar-2002  nathanw file mainbus.c was added on branch nathanw_sa on 2002-10-18 02:36:41 +0000
 1.4.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.4.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.4.6.1 03-Aug-2004  skrll Sync with HEAD
 1.6.78.2 11-Aug-2010  yamt sync with head.
 1.6.78.1 16-May-2008  yamt sync with head.
 1.6.76.1 18-May-2008  yamt sync with head.
 1.6.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.7.22.1 30-May-2010  rmind sync with head
 1.7.20.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.8.18.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.8.8.1 30-Oct-2012  yamt sync with head
 1.9.52.6 05-Apr-2021  thorpej config_match() -> config_probe() for the straight-forward indirect config
cases. There are still a few odd balls using config_match() which should
be sorted out later.
 1.9.52.5 04-Apr-2021  thorpej CFARG_SUBMATCH -> CFARG_SEARCH for the indirect configuration uses.
 1.9.52.4 03-Apr-2021  thorpej Give config_attach() the tagged variadic argument treatment and
mechanically convert all call sites.
 1.9.52.3 23-Mar-2021  thorpej Convert config_found_ia() call sites where the device only carries
a single interface attribute to bare config_found() calls.
 1.9.52.2 21-Mar-2021  thorpej CFARG_IATTR usage audit:

If a device carries only one interface attribute, there is no need
to specify it when calling config_search(); that specification is
meant only to disambiguate which interface attribute (which is a
proxy for "what kind of attach args are being used") is having
children attached. cfparent_match() will take care of ensuring that
any potential children can attach to one of the parent's iterface
attributes, and if the parent only carries one, no disambiguation is
necessary.
 1.9.52.1 20-Mar-2021  thorpej The proliferation if config_search_*() and config_found_*() combinations
is a little absurd, so begin to tidy this up:

- Introduce a new cfarg_t enumerated type, that defines the types of
tag-value variadic arguments that can be passed to the various
config_*() functions (CFARG_SUBMATCH, CFARG_IATTR, and CFARG_LOCATORS,
for now, plus a CFARG_EOL sentinel).
- Collapse config_search_*() into config_search() that takes these
variadic arguments.
- Convert all call sites of config_search_*() to the new signature.
Noticed several incorrect usages along the way, which will be
audited in a future commit.
 1.10.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.3 27-Mar-2002  uch branches: 1.3.4;
All the sh3 ports had an identical procfs_machdep.c, so use a common
file under arch/sh3/sh3.
 1.2 18-Jan-2001  tv branches: 1.2.4;
No-op commit to force update to a non-"-kk" revision.
 1.1 17-Jan-2001  fvdl branches: 1.1.2;
Add machdep file for procfs. Currently only used for linux-style
/proc/cpuinfo (only active when procfs is mounted with -o linux).
For ports other than the i386 this currently produces an empty
string.
 1.1.2.2 18-Jan-2001  bouyer Sync with head (for UBC+NFS fixes, mostly).
 1.1.2.1 17-Jan-2001  bouyer file procfs_machdep.c was added on branch thorpej_scsipi on 2001-01-18 09:22:28 +0000
 1.2.4.1 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.3.4.2 27-Mar-2002  uch All the sh3 ports had an identical procfs_machdep.c, so use a common
file under arch/sh3/sh3.
 1.3.4.1 27-Mar-2002  uch file procfs_machdep.c was added on branch nathanw_sa on 2002-03-27 10:44:41 +0000
 1.19 24-Mar-2002  uch branches: 1.19.4;
adapted to new interrupt code and shb changes.
 1.18 17-Mar-2002  uch adapt to kernel stack treatment changes.
 1.17 06-Mar-2002  uch branches: 1.17.2;
fix bug of TMU0 interrupt priority level setting. (my previous commit broke it.)
 1.16 28-Feb-2002  uch Cleanup register definition
 1.15 22-Feb-2002  uch New NetBSD/sh3 clock framework.
+ hardclock source is moved from TMU1 to TMU0.
+ SH3/SH4 common kernel support.
+ PCLOCK estimation.
+ remove duplicated code.
 1.14 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.13 15-Jan-2001  thorpej branches: 1.13.4;
Make softclock a generic soft interrupt of the API is available,
adding the requisite void * argument to softclock().
 1.12 29-Sep-2000  msaitoh avoid SH7709A's serious bug (it fails to read IPR* registers under particular
circumstances)
 1.11 17-Aug-2000  msaitoh check INTEVT_SCIF (SH4 only)

I'm sorry, I'd forgotten to commit it for a long time.
 1.10 02-Jul-2000  cgd Kwality control:
* put #includes of opt headers and headers to get protos used by
net/netisr_dispatch.h in net/netisr.h (if !defined(_LOCORE)) (rather than
in netisr_dispatch.h itself, and potentially nowhere, respectively).
* require netisr.h to be included before netisr_dispatch.h.
* minor additional cleanup of both netisr.h and netisr_dispatch.h.
* clean up uses to remove now-unnecessary header file inclusions, and
local prototypes of the fns.
* convert netisr dispatch implementations which didn't use
netisr_dispatch.h (pc532) to use it.
 1.9 21-Mar-2000  itojun branches: 1.9.4;
add prototype for ip6intr (not tested).
 1.8 24-Feb-2000  msaitoh SH4!
 1.7 24-Feb-2000  msaitoh multiple interrputs!!!
 1.6 21-Feb-2000  erh Define the DONETISR macro and use netisr_dispatch.h. This is to cut down on code duplication and to standardize the available NETISRs across all ports.
 1.5 27-Dec-1999  msaitoh fix missing SCI IRQ mask/unmask code.
 1.4 06-Dec-1999  msaitoh Add SCI interrupt mask/unmask code.
 1.3 17-Sep-1999  thorpej branches: 1.3.2; 1.3.8;
Centralize the declaration and clearing of `cold'.
 1.2 16-Sep-1999  msaitoh fix mask_irq() and unmask_irq() for SH7750
 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.3.8.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.3.2.2 18-Jan-2001  bouyer Sync with head (for UBC+NFS fixes, mostly).
 1.3.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.9.4.2 05-Nov-2000  tv Pullup 1.12 [msaitoh]:
avoid SH7709A's serious bug (it fails to read IPR* registers under particular
circumstances)
 1.9.4.1 21-Aug-2000  msaitoh Pullup revision 1.11 (approved by thorpej):

check INTEVT code for SCIF (SH4 only)
 1.13.4.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.13.4.1 16-Mar-2002  jdolecek Catch up with -current.
 1.17.2.1 17-Mar-2002  thorpej IPL_IMP -> IPL_VM
 1.19.4.2 24-Mar-2002  uch adapted to new interrupt code and shb changes.
 1.19.4.1 24-Mar-2002  uch file shb.c was added on branch nathanw_sa on 2002-03-24 18:21:17 +0000
 1.29 30-Nov-2024  christos Create a new header lwp_private.h to contain _lwp_getprivate_fast,
_lwp_gettcb_fast, _lwp_settcb and remove them from mcontext.h, so that:
1. we don't need special hacks to hide them
2. we can include <lwp.h> where needed to get the necessary prototypes
without redefining them locally.
 1.28 12-Jul-2018  maxv branches: 1.28.36;
Remove the kernel PMC code. Sent yesterday on tech-kern@.

This change:

* Removes "options PERFCTRS", the associated includes, and the associated
ifdefs. In doing so, it removes several XXXSMPs in the MI code, which is
good.

* Removes the PMC code of ARM XSCALE.

* Removes all the pmc.h files. They were all empty, except for ARM XSCALE.

* Reorders the x86 PMC code not to rely on the legacy pmc.h file. The
definitions are put in sysarch.h.

* Removes the kern/sys_pmc.c file, and along with it, the sys_pmc_control
and sys_pmc_get_info syscalls. They are marked as OBSOL in kern,
netbsd32 and rump.

* Removes the pmc_evid_t and pmc_ctr_t types.

* Removes all the associated man pages. The sets are marked as obsolete.
 1.27 25-Aug-2016  christos branches: 1.27.14; 1.27.16;
more fenv.h
 1.26 19-Jul-2011  dyoung branches: 1.26.12; 1.26.30;
Change <machine/bus.h> to <sys/bus.h> throughout.

Split bus.h -> bus_{defs,funcs}.h.

Mark evbsh3/bus.h obsolete.
 1.25 17-Jul-2011  joerg Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
 1.24 09-Feb-2007  ad Merge newlock2 to head.
 1.23 26-Jul-2006  drochner branches: 1.23.4;
don't install <machine/db_machdep.h>, this is kernel only
 1.22 11-Dec-2005  christos branches: 1.22.4; 1.22.8;
merge ktrace-lwp.
 1.21 08-May-2004  kleink branches: 1.21.12;
Factor out W{CHAR,INT}_{MAX,MIN} into their own header file.
 1.20 17-Jan-2003  thorpej branches: 1.20.2;
Merge the nathanw_sa branch.
 1.19 26-Nov-2002  lukem Remove KDIR=, since SYS_INCLUDE=symlinks and KDIR are not supported any more.
 1.18 06-Sep-2002  gehenna Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.

- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.

- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
 1.17 07-Aug-2002  briggs Implement pmc(9) -- An interface to hardware performance monitoring
counters. These counters do not exist on all CPUs, but where they
do exist, can be used for counting events such as dcache misses that
would otherwise be difficult or impossible to instrument by code
inspection or hardware simulation.

pmc(9) is meant to be a general interface. Initially, the Intel XScale
counters are the only ones supported.
 1.16 09-May-2002  uch branches: 1.16.2; 1.16.6;
remove trap.h
 1.15 24-Mar-2002  uch adapted to new interrupt code and shb changes.
 1.14 08-Mar-2002  uch remove unneeded code and files.
 1.13 07-Mar-2002  thorpej Remove some files that no longer exist.
 1.12 15-Apr-2001  kleink branches: 1.12.2;
Add definitions of C99 integer format conversion macros.
XXX Fastest minimum-width integer types haven't been decided upon yet.
 1.11 15-Apr-2001  kleink Add definitions of C99 specified-width integer type limits.
XXX Fastest minimum-width integer types haven't been decided upon yet.
 1.10 14-Apr-2001  kleink Add definitions of C99 integer constant macros.
Tidy Makefiles up a little.
 1.9 14-Apr-2001  kleink Add definitions of C99 minimum-width and greatest-width integer types.
XXX Fastest minimum-width integer types haven't been decided upon yet.
 1.8 16-Jan-2001  itojun branches: 1.8.2;
remove evbsh3/mmeye.h. it shouldn't be necessary, or at least it has to
be renamed to something better.
XXX dreamcast/mmeye.h
 1.7 26-Jun-2000  kleink Add <machine/int_types.h>, which provides namespace-pure definitions
of exact-width integer types.
 1.6 29-Apr-2000  thorpej Require that each each MACHINE/MACHINE_ARCH supply a lock.h. This file
contains the values __SIMPLELOCK_LOCKED and __SIMPLELOCK_UNLOCKED, which
replace the old SIMPLELOCK_LOCKED and SIMPLELOCK_UNLOCKED. These files
are also required to supply inline functions __cpu_simple_lock(),
__cpu_simple_lock_try(), and __cpu_simple_unlock() if locking is to be
supported on that platform (i.e. if MULTIPROCESSOR is defined in the
_KERNEL case). Change these functions to take an int * (&alp->lock_data)
rather than the struct simplelock * itself.

These changes make it possible for userland to use the locking primitives
by including <machine/lock.h>.
 1.5 17-Mar-2000  tron Install "machineendian_machdep.h".
 1.4 24-Feb-2000  msaitoh SH4!
 1.3 17-Jan-2000  kleink Add NAN constant glue for sh3.
 1.2 07-Jan-2000  msaitoh machine/exec_coff.h -> sys/exec_coff.h
 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.3 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.2 18-Jan-2001  bouyer Sync with head (for UBC+NFS fixes, mostly).
 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.8.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.12.2.4 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.12.2.3 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.12.2.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.12.2.1 16-Mar-2002  jdolecek Catch up with -current.
 1.16.6.5 11-Dec-2002  thorpej Sync with HEAD.
 1.16.6.4 17-Sep-2002  nathanw Catch up to -current.
 1.16.6.3 13-Aug-2002  nathanw Catch up to -current.
 1.16.6.2 20-Jun-2002  thorpej Machine-dependent kernel portion of {get,set}context(). From
Klaus Klein.
 1.16.6.1 09-May-2002  thorpej file Makefile was added on branch nathanw_sa on 2002-06-20 23:00:45 +0000
 1.16.2.2 30-Aug-2002  gehenna catch up with -current.
 1.16.2.1 19-May-2002  gehenna Remove port-dependent conf.h.
 1.20.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.20.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.20.2.1 03-Aug-2004  skrll Sync with HEAD
 1.21.12.2 26-Feb-2007  yamt sync with head.
 1.21.12.1 30-Dec-2006  yamt sync with head.
 1.22.8.1 11-Aug-2006  yamt sync with head
 1.22.4.1 09-Sep-2006  rpaulo sync with head
 1.23.4.1 01-Feb-2007  ad Header file cleanup.
 1.26.30.1 05-Oct-2016  skrll Sync with HEAD
 1.26.12.1 03-Dec-2017  jdolecek update from HEAD
 1.27.16.1 10-Jun-2019  christos Sync with HEAD
 1.27.14.1 28-Jul-2018  pgoyette Sync with HEAD
 1.28.36.1 02-Aug-2025  perseant Sync with HEAD
 1.2 07-May-2019  kamil Switch all users (except ia64) of custom machine/ansi.h to common_ansi.h

Deduplicate the code among ports and poll definitions of types
directly from a compiler.

This fixes miscompilation of certain programs that instruct compilers
to generate code for different types. This bug has been detected with
-fshort-wchar in EFI firmware.

Proposed and discussed on a mailing list (twice).

Itanium uses custom !ELF fallback switch, temporarily leave it as it is.
 1.1 13-Sep-1999  itojun branches: 1.1.226;
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.226.1 10-Jun-2019  christos Sync with HEAD
 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.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 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.3 11-Dec-2005  christos branches: 1.3.74; 1.3.76; 1.3.78;
merge ktrace-lwp.
 1.2 05-Jun-2005  he Adapt to compiling with -Wcast-qual by sprinkling around some consts.
Had to use __UNCONST() in one case of sysctl_lookup() use.
 1.1 24-Mar-2002  uch branches: 1.1.6; 1.1.8; 1.1.14;
add autoconf.h for new mainbus driver.
 1.1.14.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.1.8.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.8.1 24-Mar-2002  jdolecek file autoconf.h was added on branch kqueue on 2002-06-23 17:36:04 +0000
 1.1.6.2 24-Mar-2002  uch add autoconf.h for new mainbus driver.
 1.1.6.1 24-Mar-2002  uch file autoconf.h was added on branch nathanw_sa on 2002-03-24 18:28:13 +0000
 1.3.78.1 16-May-2008  yamt sync with head.
 1.3.76.1 18-May-2008  yamt sync with head.
 1.3.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.2 08-Mar-2002  uch branches: 1.2.8;
remove unneeded code and files.
 1.1 13-Sep-1999  itojun branches: 1.1.16;
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.16.1 16-Mar-2002  jdolecek Catch up with -current.
 1.2.8.2 08-Mar-2002  uch remove unneeded code and files.
 1.2.8.1 08-Mar-2002  uch file bootinfo.h was added on branch nathanw_sa on 2002-03-08 13:22:14 +0000
 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.3 19-Jul-2011  dyoung Change <machine/bus.h> to <sys/bus.h> throughout.

Split bus.h -> bus_{defs,funcs}.h.

Mark evbsh3/bus.h obsolete.
 1.2 06-Apr-2010  nonaka Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1 13-Sep-1999  itojun branches: 1.1.142; 1.1.162; 1.1.164;
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.164.1 30-May-2010  rmind sync with head
 1.1.162.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.142.1 11-Aug-2010  yamt sync with head.
 1.2 23-Sep-2019  skrll Provide PRIxBUSADDR, PRIxBUSSIZE, PRIuBUSSIZE, and PRIxBSH for all arches
to follow arm and (generic) mips.

Reviewed by christos.
 1.1 19-Jul-2011  dyoung branches: 1.1.54;
Change <machine/bus.h> to <sys/bus.h> throughout.

Split bus.h -> bus_{defs,funcs}.h.

Mark evbsh3/bus.h obsolete.
 1.1.54.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.1 19-Jul-2011  dyoung Change <machine/bus.h> to <sys/bus.h> throughout.

Split bus.h -> bus_{defs,funcs}.h.

Mark evbsh3/bus.h obsolete.
 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.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.5 06-Sep-2002  gehenna Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.

- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.

- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
 1.4 27-Feb-2002  christos branches: 1.4.8; 1.4.12;
- define other DEV_ constants that the local port uses.
- delete cdev_decl(mm) since <sys/conf.h> does it.
 1.3 26-Mar-2001  lukem branches: 1.3.2;
- add dev_noimpl(xxx,yyy) macro to replace "(dev_type_xxx((*))) yyy",
and use appropriately

- create more helper macros:
. cdev__xyz_init(c,n), such as cdev__ocri_init() for
/* open, close, read, ioctl */, etc.
. cdev__xRy_init(c,n), where nullop is used instead of enodev to dummy out
method `R' and the comments now read /* xxx (read) yyy */ instead
. cdev__xyz_t_init(c,n,t) - as per cdev__xyz_init, but sets d_type = t
as well

- use seltrue instead of dev_noimpl(poll,*), as (IIRC) cdevsw.d_poll should
always DTRT WRT returning a valid result. (a few devices previously
incorrectly returned ENODEV)

- use dev_noimpl(stop,enodev) instead of dev_noimpl(stop,nullop) if tty
== 0, because it doesn't matter if dev_type_stop isn't implemented in that
case, and it allows the use of the cdev__xyz_init macros. certain ports
(sparc,sparc64,x68k) used the nullop method for dev_type_stop in a few
drivers, whereas everything else uses enodev

- ensure that the comments are accurate WRT the behaviour of a given entry
 1.2 24-Feb-2000  msaitoh branches: 1.2.6;
watchdog timer
 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 27-Mar-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.2.6.1 09-Apr-2001  nathanw Catch up with -current.
 1.3.2.2 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.3.2.1 16-Mar-2002  jdolecek Catch up with -current.
 1.4.12.2 17-Sep-2002  nathanw Catch up to -current.
 1.4.12.1 27-Feb-2002  nathanw file conf.h was added on branch nathanw_sa on 2002-09-17 21:14:26 +0000
 1.4.8.1 19-May-2002  gehenna Remove port-dependent conf.h.
 1.5 04-Mar-2002  uch branches: 1.5.10;
CTL_MACHDEP definitions are integrated into sh3/include/cpu.h again.
 1.4 03-Mar-2002  uch machine dependent sysctl are moved to machine/cpu.h
dreamcast, hpcsh ... CPU_CONSDEV
mmeye, evbsh3 ... CPU_CONSDEV, CPU_LOADANDRESET
 1.3 24-Dec-1999  msaitoh branches: 1.3.8;
back to previous one (suggested by cgd)
 1.2 21-Dec-1999  msaitoh move sysctl definitions into ${MACHINE}/include/cpu.h
 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.8.1 16-Mar-2002  jdolecek Catch up with -current.
 1.5.10.2 04-Mar-2002  uch CTL_MACHDEP definitions are integrated into sh3/include/cpu.h again.
 1.5.10.1 04-Mar-2002  uch file cpu.h was added on branch nathanw_sa on 2002-03-04 14:36:15 +0000
 1.2 03-Mar-2002  uch branches: 1.2.8;
remove obsolete headers.
 1.1 13-Sep-1999  itojun branches: 1.1.16;
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.16.1 16-Mar-2002  jdolecek Catch up with -current.
 1.2.8.2 03-Mar-2002  uch remove obsolete headers.
 1.2.8.1 03-Mar-2002  uch file cpufunc.h was added on branch nathanw_sa on 2002-03-03 14:59:59 +0000
 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.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 30-Aug-2011  bouyer Add getlabelusesmbr(), as proposed in
http://mail-index.netbsd.org/tech-userlevel/2011/08/25/msg005404.html
This is used by disk tools such as disklabel(8) to dynamically decide is
the undelyling platform uses a disklabel-in-mbr-partition or not
(instead of using a compile-time list of ports).
getlabelusesmbr() reads the sysctl kern.labelusesmbr, takes its value from the
machdep #define LABELUSESMBR.
For evbmips, make LABELUSESMBR 1 if the platform uses pmon
as bootloader, and 0 (the previous value) otherwise.
 1.3 11-Dec-2005  christos merge ktrace-lwp.
 1.2 12-Jun-2005  dyoung Make disklabel(8) and fdisk(8) into "host tools " last step: build
and install ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-disklabel,
${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-fdisk by "reaching over" to
the sources in ${NETBSDSRCDIR}/sbin/{disklabel fdisk}/.

To avoid clashes with a build-host's header files, especially on
*BSD, the host-tools versions of fdisk and disklabel search for
#includes such as disklabel.h, disklabel_acorn.h, disklabel_gpt.h,
and bootinfo.h in a new #includes namespace, nbinclude/. That is,
they #include <nbinclude/sys/disklabel.h>, <nbinclude/machine/disklabel.h>,
<nbinclude/sparc64/disklabel.h>, instead of <sys/disklabel.h> and
such. I have also updated the system headers to #include from
nbinclude/-space when HAVE_NBTOOL_CONFIG_H is #defined.
 1.1 13-Sep-1999  itojun branches: 1.1.36;
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.36.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 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.3 17-Mar-2000  mycroft In the `MY THAT'S GROSS' department...
Eliminate the recursive include of machine/endian.h from sys/endian.h.
 1.2 16-Mar-2000  mycroft Foolish consistency. Mainly, always use underscores and sys/endian.h.
 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.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.2 04-Jan-2001  itojun look at __LITTLE_ENDIAN__ (gcc symbol) to determine which endian we are in.
makes the file bi-endian.
 1.1 17-Mar-2000  mycroft branches: 1.1.6;
In the `MY THAT'S GROSS' department...
Eliminate the recursive include of machine/endian.h from sys/endian.h.
 1.1.6.3 05-Jan-2001  bouyer Sync with HEAD
 1.1.6.2 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.1.6.1 17-Mar-2000  bouyer file endian_machdep.h was added on branch thorpej_scsipi on 2000-11-20 20:07:36 +0000
 1.2 07-Jan-2000  msaitoh machine/exec_coff.h -> sys/exec_coff.h
 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.1 20-Nov-2000  bouyer Remove files that are no longer on the trunck
 1.1 25-Aug-2016  christos branches: 1.1.2; 1.1.4; 1.1.18;
more fenv.h
 1.1.18.2 03-Dec-2017  jdolecek update from HEAD
 1.1.18.1 25-Aug-2016  jdolecek file fenv.h was added on branch tls-maxphys on 2017-12-03 11:36:12 +0000
 1.1.4.2 05-Oct-2016  skrll Sync with HEAD
 1.1.4.1 25-Aug-2016  skrll file fenv.h was added on branch nick-nhusb on 2016-10-05 20:55:27 +0000
 1.1.2.2 14-Sep-2016  pgoyette Sync with HEAD
 1.1.2.1 25-Aug-2016  pgoyette file fenv.h was added on branch pgoyette-localcount on 2016-09-14 03:04:17 +0000
 1.2 19-Apr-2003  christos PR/3012: Greg A. Woods: Write all float.h files [except the vax of course]
in terms of float_ieee.h
 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.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.3 11-Dec-2005  christos merge ktrace-lwp.
 1.2 23-Oct-2003  kleink No need for multiple-inclusion protection in these.
 1.1 13-Sep-1999  itojun branches: 1.1.36;
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.36.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.36.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.36.1 03-Aug-2004  skrll Sync with HEAD
 1.2 05-Aug-2008  matt Update <machine/ieeefp.h> to use the C99 FE_* definitions instead of the
NetBSD defined ones. Redefine the NetBSD ones in terms of the C99 ones.
Step 1 to having <fenv.h>
 1.1 13-Sep-1999  itojun branches: 1.1.138; 1.1.142; 1.1.144; 1.1.148;
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.148.1 19-Oct-2008  haad Sync with HEAD.
 1.1.144.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.1.142.1 04-May-2009  yamt sync with head.
 1.1.138.1 28-Sep-2008  mjf Sync with HEAD.
 1.1 14-Apr-2001  kleink branches: 1.1.2; 1.1.4; 1.1.22;
Add definitions of C99 integer constant macros.
 1.1.22.2 14-Apr-2001  kleink Add definitions of C99 integer constant macros.
 1.1.22.1 14-Apr-2001  kleink file int_const.h was added on branch nathanw_sa on 2001-04-14 22:38:38 +0000
 1.1.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 14-Apr-2001  bouyer file int_const.h was added on branch thorpej_scsipi on 2001-04-21 17:53:29 +0000
 1.1 15-Apr-2001  kleink branches: 1.1.2; 1.1.4; 1.1.22;
Add definitions of C99 integer format conversion macros.
XXX Fastest minimum-width integer types haven't been decided upon yet.
 1.1.22.2 15-Apr-2001  kleink Add definitions of C99 integer format conversion macros.
XXX Fastest minimum-width integer types haven't been decided upon yet.
 1.1.22.1 15-Apr-2001  kleink file int_fmtio.h was added on branch nathanw_sa on 2001-04-15 17:13:10 +0000
 1.1.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 15-Apr-2001  bouyer file int_fmtio.h was added on branch thorpej_scsipi on 2001-04-21 17:53:29 +0000
 1.1 15-Apr-2001  kleink branches: 1.1.2; 1.1.4; 1.1.22;
Add definitions of C99 specified-width integer type limits.
XXX Fastest minimum-width integer types haven't been decided upon yet.
 1.1.22.2 15-Apr-2001  kleink Add definitions of C99 specified-width integer type limits.
XXX Fastest minimum-width integer types haven't been decided upon yet.
 1.1.22.1 15-Apr-2001  kleink file int_limits.h was added on branch nathanw_sa on 2001-04-15 15:29:06 +0000
 1.1.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 15-Apr-2001  bouyer file int_limits.h was added on branch thorpej_scsipi on 2001-04-21 17:53:29 +0000
 1.1 14-Apr-2001  kleink branches: 1.1.2; 1.1.4; 1.1.22;
Add definitions of C99 minimum-width and greatest-width integer types.
XXX Fastest minimum-width integer types haven't been decided upon yet.
 1.1.22.2 14-Apr-2001  kleink Add definitions of C99 minimum-width and greatest-width integer types.
XXX Fastest minimum-width integer types haven't been decided upon yet.
 1.1.22.1 14-Apr-2001  kleink file int_mwgwtypes.h was added on branch nathanw_sa on 2001-04-14 12:19:53 +0000
 1.1.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 14-Apr-2001  bouyer file int_mwgwtypes.h was added on branch thorpej_scsipi on 2001-04-21 17:53:29 +0000
 1.1 26-Jun-2000  kleink branches: 1.1.2;
Add <machine/int_types.h>, which provides namespace-pure definitions
of exact-width integer types.
 1.1.2.2 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.1.2.1 26-Jun-2000  bouyer file int_types.h was added on branch thorpej_scsipi on 2000-11-20 20:07:36 +0000
 1.15 02-Nov-2021  ryo In order to prevent _mcount() from being recursively called when built with COPTS=-O0,
sprinkle `__always_inline' to make _mcount() be generated as a single function.
 1.14 06-Apr-2010  nonaka Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.13 28-Apr-2008  martin branches: 1.13.20; 1.13.22;
Remove clause 3 and 4 from TNF licenses
 1.12 03-Dec-2007  ad branches: 1.12.14; 1.12.16; 1.12.18;
Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.
 1.11 16-Feb-2007  ad branches: 1.11.6; 1.11.22; 1.11.24; 1.11.30;
Remove spllowersoftclock() and CLKF_BASEPRI(), and always dispatch callouts
via a soft interrupt. In the near future, softclock will be run from process
context.
 1.10 09-Feb-2007  ad Merge newlock2 to head.
 1.9 21-Dec-2006  yamt merge yamt-splraiseipl branch.

- finish implementing splraiseipl (and makeiplcookie).
http://mail-index.NetBSD.org/tech-kern/2006/07/01/0000.html
- complete workqueue(9) and fix its ipl problem, which is reported
to cause audio skipping.
- fix netbt (at least compilation problems) for some ports.
- fix PR/33218.
 1.8 27-Nov-2005  yamt branches: 1.8.20; 1.8.22;
implement splraiseipl() for the following ports.
evbppc, evbmips, evbsh3, hp700, mac68k, vax, x68k.
 1.7 22-Apr-2002  msaitoh branches: 1.7.6; 1.7.12; 1.7.28; 1.7.36;
increase _INTR_N from 7 to 11 (count both SCI and SCIF)
 1.6 24-Mar-2002  uch adapted to new interrupt code and shb changes.
 1.5 22-Feb-2002  uch branches: 1.5.4;
New NetBSD/sh3 clock framework.
+ hardclock source is moved from TMU1 to TMU0.
+ SH3/SH4 common kernel support.
+ PCLOCK estimation.
+ remove duplicated code.
 1.4 31-Oct-2000  msaitoh branches: 1.4.4;
add interrupt mode into wdog

To use:

ioctl(fd, SIOWDOGSETMODE, &val)

val: WDOGM_RESET -> reset when counter expired
WDOGM_INTR -> print PC when counter expired (new!)

This interface is still under experimental.
 1.3 13-Apr-2000  msaitoh move the Interrput Priority Level (IPL_*) definitions into MD part.
 1.2 24-Feb-2000  msaitoh multiple interrputs!!!
 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 22-Nov-2000  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.4.4.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.4.4.1 16-Mar-2002  jdolecek Catch up with -current.
 1.5.4.1 17-Mar-2002  thorpej IPL_IMP -> IPL_VM
 1.7.36.1 29-Nov-2005  yamt sync with head.
 1.7.28.4 07-Dec-2007  yamt sync with head
 1.7.28.3 26-Feb-2007  yamt sync with head.
 1.7.28.2 30-Dec-2006  yamt sync with head.
 1.7.28.1 21-Jun-2006  yamt sync with head.
 1.7.12.1 11-Dec-2005  christos Sync with head.
 1.7.6.2 22-Apr-2002  msaitoh increase _INTR_N from 7 to 11 (count both SCI and SCIF)
 1.7.6.1 22-Apr-2002  msaitoh file intr.h was added on branch nathanw_sa on 2002-04-22 02:05:34 +0000
 1.8.22.2 30-Sep-2006  yamt tweak to match with hpcsh.
 1.8.22.1 19-Sep-2006  yamt implement new api for evbsh3.
 1.8.20.2 01-Feb-2007  ad Get sh3 compiling.
 1.8.20.1 12-Jan-2007  ad Sync with head.
 1.11.30.1 08-Dec-2007  mjf Sync with HEAD.
 1.11.24.1 09-Jan-2008  matt sync with HEAD
 1.11.22.1 09-Dec-2007  jmcneill Sync with HEAD.
 1.11.6.1 03-Dec-2007  ad Sync with HEAD.
 1.12.18.2 11-Aug-2010  yamt sync with head.
 1.12.18.1 16-May-2008  yamt sync with head.
 1.12.16.1 18-May-2008  yamt sync with head.
 1.12.14.1 02-Jun-2008  mjf Sync with HEAD.
 1.13.22.1 30-May-2010  rmind sync with head
 1.13.20.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.3 06-Sep-2020  riastradh Fix some more uvm header fallout. Add include guards while here.
 1.2 11-Jun-2015  matt Declare or #define avail_start and avail_end as appropriate
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6; 1.1.24; 1.1.42;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.42.1 22-Sep-2015  skrll Sync with HEAD
 1.1.24.1 03-Dec-2017  jdolecek update from HEAD
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file kloader.h was added on branch yamt-nfs-mp on 2010-08-11 22:51:58 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file kloader.h was added on branch rmind-uvmplock on 2010-05-30 05:16:47 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file kloader.h was added on branch uebayasi-xip on 2010-04-30 14:39:21 +0000
 1.2 28-Mar-2012  christos - Normalize inclusion protection (remove)
- Move CHAR_{MIN,MAX} to a common file.
- Fix broken comments
 1.1 13-Sep-1999  itojun branches: 1.1.176; 1.1.180;
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.180.1 05-Apr-2012  mrg sync to latest -current.
 1.1.176.1 17-Apr-2012  yamt sync with head
 1.1 29-Apr-2000  thorpej branches: 1.1.6;
Require that each each MACHINE/MACHINE_ARCH supply a lock.h. This file
contains the values __SIMPLELOCK_LOCKED and __SIMPLELOCK_UNLOCKED, which
replace the old SIMPLELOCK_LOCKED and SIMPLELOCK_UNLOCKED. These files
are also required to supply inline functions __cpu_simple_lock(),
__cpu_simple_lock_try(), and __cpu_simple_unlock() if locking is to be
supported on that platform (i.e. if MULTIPROCESSOR is defined in the
_KERNEL case). Change these functions to take an int * (&alp->lock_data)
rather than the struct simplelock * itself.

These changes make it possible for userland to use the locking primitives
by including <machine/lock.h>.
 1.1.6.2 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.1.6.1 29-Apr-2000  bouyer file lock.h was added on branch thorpej_scsipi on 2000-11-20 20:07:37 +0000
 1.1 30-Nov-2024  christos branches: 1.1.4;
Create a new header lwp_private.h to contain _lwp_getprivate_fast,
_lwp_gettcb_fast, _lwp_settcb and remove them from mcontext.h, so that:
1. we don't need special hacks to hide them
2. we can include <lwp.h> where needed to get the necessary prototypes
without redefining them locally.
 1.1.4.2 02-Aug-2025  perseant Sync with HEAD
 1.1.4.1 30-Nov-2024  perseant file lwp_private.h was added on branch perseant-exfatfs on 2025-08-02 05:55:37 +0000
 1.1 17-Jan-2000  kleink branches: 1.1.6;
Add NAN constant glue for sh3.
 1.1.6.2 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.1.6.1 17-Jan-2000  bouyer file math.h was added on branch thorpej_scsipi on 2000-11-20 20:07:37 +0000
 1.2 17-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.1 20-Jun-2002  thorpej branches: 1.1.2;
file mcontext.h was initially added on branch nathanw_sa.
 1.1.2.1 20-Jun-2002  thorpej Machine-dependent kernel portion of {get,set}context(). From
Klaus Klein.
 1.2 16-Jan-2001  itojun remove evbsh3/mmeye.h. it shouldn't be necessary, or at least it has to
be renamed to something better.
XXX dreamcast/mmeye.h
 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.1 18-Jan-2001  bouyer Sync with head (for UBC+NFS fixes, mostly).
 1.2 09-Feb-2007  ad branches: 1.2.4;
Merge newlock2 to head.
 1.1 22-Dec-2006  ad branches: 1.1.2;
file mutex.h was initially added on branch newlock2.
 1.1.2.1 22-Dec-2006  ad Pull in CPU specific stubs.
 1.2.4.2 26-Feb-2007  yamt sync with head.
 1.2.4.1 09-Feb-2007  yamt file mutex.h was added on branch yamt-lazymbuf on 2007-02-26 09:06:24 +0000
 1.11 11-Dec-2005  christos merge ktrace-lwp.
 1.10 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.9 10-Mar-2002  uch branches: 1.9.8; 1.9.14;
common part are moved to sh3/include/param.h
 1.8 26-Feb-2002  simonb 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).
 1.7 04-Jan-2001  itojun branches: 1.7.4;
split MACHINE_ARCH sh3e[lb]. userland build still needs checking.
 1.6 03-Jan-2001  itojun share sys/arch/sh3/conf/Makefile.sh3 across sh3-based architectures.
cleanup param.h a bit.
 1.5 30-Jun-2000  itojun raise MSIZE from 128 to 256.
- for sizeof(void *) == 8 arch, this is mandatory. MHLEN is too small
already (less than 80) and there are chances for unwanted packet loss due
to m_pullup restriction.
- for other cases, the change should avoid allocating clusters in most cases
(even when you have IPv4 IPsec tunnel, or IPv6 with moderate amount of
extension header)

portmasters: if your arch chokes with the change (high memory usage or
whatever), please backout the change for your arch.
 1.4 24-Feb-2000  msaitoh branches: 1.4.4;
variable start address of the main memory (now we can use
the area 2 as main memory with "options IOM_RAM_BEGIN=0x88000000")
 1.3 11-Feb-2000  thorpej Update for the NKMEMPAGES changes.
 1.2 04-Dec-1999  ragge CL* discarding.
 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.2 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.8.1 21-Dec-1999  wrstuden Initial commit of recent changes to make DEV_BSIZE go away.

Runs on i386, needs work on other arch's. Main kernel routines should be
fine, but a number of the stand programs need help.

cd, fd, ccd, wd, and sd have been updated. sd has been tested with non-512
byte block devices. vnd, raidframe, and lfs need work.

Non 2**n block support is automatic for LKM's and conditional for kernels
on "options NON_PO2_BLOCKS".
 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.4.4.1 23-Jul-2000  itojun pullup from main trunc (approved by releng-1-5)

raise MSIZE from 128 to 256.
- for sizeof(void *) == 8 arch, this is mandatory. MHLEN is too small
already (less than 80) and there are chances for unwanted packet loss due
to m_pullup restriction.
- for other cases, the change should avoid allocating clusters in most cases
(even when you have IPv4 IPsec tunnel, or IPv6 with moderate amount of
extension header)

portmasters: if your arch chokes with the change (high memory usage or
whatever), please backout the change for your arch.

1.1 -> 1.2 syssrc/sys/arch/amigappc/include/param.h
1.13 -> 1.14 syssrc/sys/arch/arc/include/param.h
1.1 -> 1.2 syssrc/sys/arch/arm26/include/param.h
1.17 -> 1.18 syssrc/sys/arch/arm32/include/param.h
1.6 -> 1.7 syssrc/sys/arch/bebox/include/param.h
1.4 -> 1.5 syssrc/sys/arch/cobalt/include/param.h
1.4 -> 1.5 syssrc/sys/arch/evbsh3/include/param.h
1.2 -> 1.3 syssrc/sys/arch/hpcmips/include/param.h
1.40 -> 1.41 syssrc/sys/arch/i386/include/param.h
1.7 -> 1.8 syssrc/sys/arch/m68k/include/param.h
1.9 -> 1.10 syssrc/sys/arch/macppc/include/param.h
1.4 -> 1.5 syssrc/sys/arch/mmeye/include/param.h
1.6 -> 1.7 syssrc/sys/arch/newsmips/include/param.h
1.7 -> 1.8 syssrc/sys/arch/ofppc/include/param.h
1.23 -> 1.24 syssrc/sys/arch/pc532/include/param.h
1.32 -> 1.33 syssrc/sys/arch/pmax/include/param.h
1.7 -> 1.8 syssrc/sys/arch/powerpc/include/param.h
1.1 -> 1.2 syssrc/sys/arch/prep/include/param.h
1.1 -> 1.2 syssrc/sys/arch/sgimips/include/param.h
1.3 -> 1.4 syssrc/sys/arch/sh3/include/param.h
1.44 -> 1.45 syssrc/sys/arch/sparc/include/param.h
1.21 -> 1.22 syssrc/sys/arch/sparc64/include/param.h
1.43 -> 1.44 syssrc/sys/arch/vax/include/param.h
 1.7.4.1 16-Mar-2002  jdolecek Catch up with -current.
 1.9.14.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.9.14.2 18-Sep-2004  skrll Sync with HEAD.
 1.9.14.1 03-Aug-2004  skrll Sync with HEAD
 1.9.8.2 10-Mar-2002  uch common part are moved to sh3/include/param.h
 1.9.8.1 10-Mar-2002  uch file param.h was added on branch nathanw_sa on 2002-03-10 07:45:32 +0000
 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 28-Feb-2002  uch branches: 1.2.10;
Remove unneeded header.
 1.1 13-Sep-1999  itojun branches: 1.1.16;
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.16.1 16-Mar-2002  jdolecek Catch up with -current.
 1.2.10.2 28-Feb-2002  uch Remove unneeded header.
 1.2.10.1 28-Feb-2002  uch file pio.h was added on branch nathanw_sa on 2002-02-28 01:52:30 +0000
 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 12-Jul-2018  maxv Remove the kernel PMC code. Sent yesterday on tech-kern@.

This change:

* Removes "options PERFCTRS", the associated includes, and the associated
ifdefs. In doing so, it removes several XXXSMPs in the MI code, which is
good.

* Removes the PMC code of ARM XSCALE.

* Removes all the pmc.h files. They were all empty, except for ARM XSCALE.

* Reorders the x86 PMC code not to rely on the legacy pmc.h file. The
definitions are put in sysarch.h.

* Removes the kern/sys_pmc.c file, and along with it, the sys_pmc_control
and sys_pmc_get_info syscalls. They are marked as OBSOL in kern,
netbsd32 and rump.

* Removes the pmc_evid_t and pmc_ctr_t types.

* Removes all the associated man pages. The sets are marked as obsolete.
 1.1 07-Aug-2002  briggs branches: 1.1.2; 1.1.4; 1.1.6; 1.1.202; 1.1.204;
Implement pmc(9) -- An interface to hardware performance monitoring
counters. These counters do not exist on all CPUs, but where they
do exist, can be used for counting events such as dcache misses that
would otherwise be difficult or impossible to instrument by code
inspection or hardware simulation.

pmc(9) is meant to be a general interface. Initially, the Intel XScale
counters are the only ones supported.
 1.1.204.1 10-Jun-2019  christos Sync with HEAD
 1.1.202.1 28-Jul-2018  pgoyette Sync with HEAD
 1.1.6.2 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.1.6.1 07-Aug-2002  jdolecek file pmc.h was added on branch kqueue on 2002-09-06 08:34:29 +0000
 1.1.4.2 30-Aug-2002  gehenna catch up with -current.
 1.1.4.1 07-Aug-2002  gehenna file pmc.h was added on branch gehenna-devsw on 2002-08-30 00:19:38 +0000
 1.1.2.2 13-Aug-2002  nathanw Catch up to -current.
 1.1.2.1 07-Aug-2002  nathanw file pmc.h was added on branch nathanw_sa on 2002-08-13 02:18:10 +0000
 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.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.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.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.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.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 09-Feb-2007  ad branches: 1.2.4;
Merge newlock2 to head.
 1.1 22-Dec-2006  ad branches: 1.1.2;
file rwlock.h was initially added on branch newlock2.
 1.1.2.1 22-Dec-2006  ad Pull in CPU specific stubs.
 1.2.4.2 26-Feb-2007  yamt sync with head.
 1.2.4.1 09-Feb-2007  yamt file rwlock.h was added on branch yamt-lazymbuf on 2007-02-26 09:06:24 +0000
 1.2 03-Mar-2002  uch branches: 1.2.8;
remove obsolete headers.
 1.1 13-Sep-1999  itojun branches: 1.1.16;
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.16.1 16-Mar-2002  jdolecek Catch up with -current.
 1.2.8.2 03-Mar-2002  uch remove obsolete headers.
 1.2.8.1 03-Mar-2002  uch file segments.h was added on branch nathanw_sa on 2002-03-03 15:00:00 +0000
 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 24-Feb-2000  msaitoh SH4!
 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.1 20-Nov-2000  bouyer Remove files that are no longer on the trunck
 1.2 24-Mar-2002  uch branches: 1.2.4;
adapted to new interrupt code and shb changes.
 1.1 13-Sep-1999  itojun branches: 1.1.16;
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.16.1 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.4.2 24-Mar-2002  uch adapted to new interrupt code and shb changes.
 1.2.4.1 24-Mar-2002  uch file shbvar.h was added on branch nathanw_sa on 2002-03-24 18:21:18 +0000
 1.2 27-Oct-2021  thorpej Remove unnecessary multiple-inclusion-protection from these tiny
stub headers.
 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 17-Jul-2011  joerg Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
 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.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.3 23-Jan-2021  christos Document via __HAVE_BUS_SPACE_8 platforms that implement bus_space_*_8
 1.2 28-Feb-2002  simonb branches: 1.2.12; 1.2.220;
Use "#define<tab>".
 1.1 13-Sep-1999  itojun branches: 1.1.16;
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.16.1 16-Mar-2002  jdolecek Catch up with -current.
 1.2.220.1 03-Apr-2021  thorpej Sync with HEAD.
 1.2.12.2 28-Feb-2002  simonb Use "#define<tab>".
 1.2.12.1 28-Feb-2002  simonb file types.h was added on branch nathanw_sa on 2002-02-28 03:17:28 +0000
 1.2 17-Jul-2011  joerg Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
 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 07-Feb-2001  uch move VM_PHYSSEG_MAX, VM_NFREELIST, VM_FREELIST_DEFAULT defines to
machine/vmparam.h
 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.1 11-Feb-2001  bouyer Sync with HEAD.
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 08-May-2004  kleink branches: 1.1.2;
Factor out W{CHAR,INT}_{MAX,MIN} into their own header file.
 1.1.2.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.2.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.2.2 03-Aug-2004  skrll Sync with HEAD
 1.1.2.1 08-May-2004  skrll file wchar_limits.h was added on branch ktrace-lwp on 2004-08-03 10:34:22 +0000
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file clock_machdep.c was added on branch yamt-nfs-mp on 2010-08-11 22:51:58 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file clock_machdep.c was added on branch rmind-uvmplock on 2010-05-30 05:16:47 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file clock_machdep.c was added on branch uebayasi-xip on 2010-04-30 14:39:21 +0000
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file kzsh401.c was added on branch yamt-nfs-mp on 2010-08-11 22:51:58 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file kzsh401.c was added on branch rmind-uvmplock on 2010-05-30 05:16:47 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file kzsh401.c was added on branch uebayasi-xip on 2010-04-30 14:39:21 +0000
 1.1 19-Jul-2020  uwe Add placeholders/boilerplate for NextVoD.

STMicroelectronics support needs to be written for both the CPU and
devices. This config and related files is absolute bare bones to get
a scaffolding kernel to compile to actually work on that support.
Don't hold your breath.
 1.1 19-Jul-2020  uwe Add placeholders/boilerplate for NextVoD.

STMicroelectronics support needs to be written for both the CPU and
devices. This config and related files is absolute bare bones to get
a scaffolding kernel to compile to actually work on that support.
Don't hold your breath.
 1.3 08-Feb-2024  andvar s/Reciever/Receiver/ in comment.
 1.2 20-Jul-2020  uwe Implement cngetc to be able to talk to DDB.
 1.1 19-Jul-2020  uwe Add placeholders/boilerplate for NextVoD.

STMicroelectronics support needs to be written for both the CPU and
devices. This config and related files is absolute bare bones to get
a scaffolding kernel to compile to actually work on that support.
Don't hold your breath.
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file Makefile was added on branch yamt-nfs-mp on 2010-08-11 22:51:59 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file Makefile was added on branch rmind-uvmplock on 2010-05-30 05:16:47 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file Makefile was added on branch uebayasi-xip on 2010-04-30 14:39:21 +0000
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file mesboot.exe.uue was added on branch yamt-nfs-mp on 2010-08-11 22:51:59 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file mesboot.exe.uue was added on branch rmind-uvmplock on 2010-05-30 05:16:47 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file mesboot.exe.uue was added on branch uebayasi-xip on 2010-04-30 14:39:21 +0000
 1.2 15-Aug-2016  maxv Uninitialized var, found by brainy; not tested, but obvious enough
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6; 1.1.24; 1.1.42;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.42.1 05-Oct-2016  skrll Sync with HEAD
 1.1.24.1 03-Dec-2017  jdolecek update from HEAD
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file mesboot.c was added on branch yamt-nfs-mp on 2010-08-11 22:51:59 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file mesboot.c was added on branch rmind-uvmplock on 2010-05-30 05:16:47 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file mesboot.c was added on branch uebayasi-xip on 2010-04-30 14:39:21 +0000
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file clock_machdep.c was added on branch yamt-nfs-mp on 2010-08-11 22:51:59 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file clock_machdep.c was added on branch rmind-uvmplock on 2010-05-30 05:16:47 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file clock_machdep.c was added on branch uebayasi-xip on 2010-04-30 14:39:21 +0000
 1.3 01-Dec-2012  tsutsui Fix RCSId.
 1.2 19-Jul-2011  dyoung branches: 1.2.2; 1.2.12;
Change <machine/bus.h> to <sys/bus.h> throughout.

Split bus.h -> bus_{defs,funcs}.h.

Mark evbsh3/bus.h obsolete.
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file if_ne_mainbus.c was added on branch yamt-nfs-mp on 2010-08-11 22:51:59 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file if_ne_mainbus.c was added on branch rmind-uvmplock on 2010-05-30 05:16:48 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file if_ne_mainbus.c was added on branch uebayasi-xip on 2010-04-30 14:39:21 +0000
 1.2.12.1 25-Feb-2013  tls resync with head
 1.2.2.1 16-Jan-2013  yamt sync with (a bit old) head
 1.5 20-Dec-2023  thorpej Remove unnecessary <sys/malloc.h>.
 1.4 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.3 24-Apr-2021  thorpej branches: 1.3.8;
Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
actually needed.
- Don't be explicit about what interface attribute is attaching if
the device only has one. (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
situations, making is visibly easier to see when indirect config is
in play, and allowing for future change in semantics. (As of now,
this is just a wrapper around config_match(), but that is an
implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.2 21-Jan-2012  nonaka branches: 1.2.62;
fix my license notice.
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6; 1.1.14; 1.1.18;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.18.1 18-Feb-2012  mrg merge to -current.
 1.1.14.1 17-Apr-2012  yamt sync with head
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file scimci.c was added on branch yamt-nfs-mp on 2010-08-11 22:51:59 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file scimci.c was added on branch rmind-uvmplock on 2010-05-30 05:16:48 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file scimci.c was added on branch uebayasi-xip on 2010-04-30 14:39:21 +0000
 1.2.62.1 21-Mar-2021  thorpej Give config_found() the same variadic arguments treatment as
config_search(). This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls. Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.
 1.3.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.6 20-Dec-2023  thorpej Remove unnecessary <sys/malloc.h>.
 1.5 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.4 24-Apr-2021  thorpej branches: 1.4.8;
Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
actually needed.
- Don't be explicit about what interface attribute is attaching if
the device only has one. (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
situations, making is visibly easier to see when indirect config is
in play, and allowing for future change in semantics. (As of now,
this is just a wrapper around config_match(), but that is an
implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.3 04-Jan-2014  nonaka branches: 1.3.44;
fix CS bit.
 1.2 21-Jan-2012  nonaka branches: 1.2.2; 1.2.6; 1.2.8; 1.2.10; 1.2.16;
fix my license notice.
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6; 1.1.14; 1.1.18;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.18.1 18-Feb-2012  mrg merge to -current.
 1.1.14.2 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.1.14.1 17-Apr-2012  yamt sync with head
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file ssumci.c was added on branch yamt-nfs-mp on 2010-08-11 22:51:59 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file ssumci.c was added on branch rmind-uvmplock on 2010-05-30 05:16:48 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file ssumci.c was added on branch uebayasi-xip on 2010-04-30 14:39:21 +0000
 1.2.16.1 12-Jan-2014  bouyer Pull up following revision(s) (requested by nonaka in ticket #1007):
sys/arch/evbsh3/t_sh7706lan/ssumci.c: revision 1.3
fix CS bit.
 1.2.10.1 18-May-2014  rmind sync with head
 1.2.8.1 12-Jan-2014  bouyer Pull up following revision(s) (requested by nonaka in ticket #1007):
sys/arch/evbsh3/t_sh7706lan/ssumci.c: revision 1.3
fix CS bit.
 1.2.6.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.2.1 12-Jan-2014  bouyer Pull up following revision(s) (requested by nonaka in ticket #1007):
sys/arch/evbsh3/t_sh7706lan/ssumci.c: revision 1.3
fix CS bit.
 1.3.44.1 21-Mar-2021  thorpej Give config_found() the same variadic arguments treatment as
config_search(). This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls. Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.
 1.4.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.3 01-Dec-2012  tsutsui Fix RCSId.
 1.2 21-Jan-2012  nonaka branches: 1.2.6;
fix my license notice.
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6; 1.1.14; 1.1.18;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.18.1 18-Feb-2012  mrg merge to -current.
 1.1.14.2 16-Jan-2013  yamt sync with (a bit old) head
 1.1.14.1 17-Apr-2012  yamt sync with head
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file t_sh7706lan.c was added on branch yamt-nfs-mp on 2010-08-11 22:51:59 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file t_sh7706lan.c was added on branch rmind-uvmplock on 2010-05-30 05:16:48 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file t_sh7706lan.c was added on branch uebayasi-xip on 2010-04-30 14:39:21 +0000
 1.2.6.1 25-Feb-2013  tls resync with head
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file t_sh7706lan_space.c was added on branch yamt-nfs-mp on 2010-08-11 22:51:59 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file t_sh7706lan_space.c was added on branch rmind-uvmplock on 2010-05-30 05:16:48 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file t_sh7706lan_space.c was added on branch uebayasi-xip on 2010-04-30 14:39:21 +0000
 1.2 21-Jan-2012  nonaka fix my license notice.
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6; 1.1.14; 1.1.18;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.18.1 18-Feb-2012  mrg merge to -current.
 1.1.14.1 17-Apr-2012  yamt sync with head
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file t_sh7706lanreg.h was added on branch yamt-nfs-mp on 2010-08-11 22:51:59 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file t_sh7706lanreg.h was added on branch rmind-uvmplock on 2010-05-30 05:16:48 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file t_sh7706lanreg.h was added on branch uebayasi-xip on 2010-04-30 14:39:21 +0000
 1.2 21-Jan-2012  nonaka fix my license notice.
 1.1 06-Apr-2010  nonaka branches: 1.1.2; 1.1.4; 1.1.6; 1.1.14; 1.1.18;
Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
 1.1.18.1 18-Feb-2012  mrg merge to -current.
 1.1.14.1 17-Apr-2012  yamt sync with head
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 06-Apr-2010  yamt file t_sh7706lanvar.h was added on branch yamt-nfs-mp on 2010-08-11 22:51:59 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 06-Apr-2010  rmind file t_sh7706lanvar.h was added on branch rmind-uvmplock on 2010-05-30 05:16:48 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 06-Apr-2010  uebayasi file t_sh7706lanvar.h was added on branch uebayasi-xip on 2010-04-30 14:39:21 +0000

RSS XML Feed