Home | History | Annotate | only in /src/sys/arch/cats
History log of /src/sys/arch/cats
RevisionDateAuthorComments
 1.5 08-Apr-2011  dyoung There's no isa/ under cats/; update Makefile to reflect that.
 1.4 04-Apr-2011  dyoung Fix target 'tags'.
 1.3 25-Oct-2008  apb branches: 1.3.16; 1.3.22;
Use ${TOOL_SED} instead if plain sed in Makefiles.
 1.2 06-Jan-2003  lukem branches: 1.2.106; 1.2.110; 1.2.116;
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 12-Jun-2001  chris branches: 1.1.8;
Add cats specific makefile for tags and includes.
 1.1.8.2 07-Jan-2003  thorpej Sync with HEAD.
 1.1.8.1 12-Jun-2001  thorpej file Makefile was added on branch nathanw_sa on 2003-01-07 21:05:03 +0000
 1.2.116.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.2.110.1 04-May-2009  yamt sync with head.
 1.2.106.1 17-Jan-2009  mjf Sync with HEAD.
 1.3.22.1 06-Jun-2011  jruoho Sync with HEAD.
 1.3.16.1 21-Apr-2011  rmind sync with head
 1.23 03-Oct-2025  thorpej Fix device_setprop_bool() return check.
 1.22 03-Oct-2025  thorpej Use device_{get,set}prop_bool() for "ali1543-ide-force-compat-mode".
 1.21 29-Sep-2022  skrll Remove unnecessary include of <sys/malloc.h>.
 1.20 29-Sep-2022  skrll Trailing whitespace
 1.19 02-Apr-2014  matt Defer intr evcnt_attach to cpu_configure
 1.18 27-Oct-2012  chs branches: 1.18.2;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.17 29-Jul-2012  mlelstv branches: 1.17.2;
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.16 18-Mar-2009  cegger branches: 1.16.12; 1.16.18;
Ansify function definitions w/o arguments. Generated with sed.
 1.15 12-Feb-2008  joerg branches: 1.15.10; 1.15.18; 1.15.24;
Introduce device_find_by_xname and device_find_by_driver_unit to replace
alldevs iterations all over src.

Patch discussed with and improved on suggestioned from cube@.
 1.14 01-Jan-2008  chris Add property to aceride to allow the forcing of compat mode.

This allows cats to override the BIOS (aka ABLE) settings, which enable
native mode, but doesn't route the interrupts correctly.

Discussed last year on tech-kern and port-cats.
 1.13 03-Dec-2007  ad branches: 1.13.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.12 17-Oct-2007  garbled branches: 1.12.2;
Merge the ppcoea-renovation branch to HEAD.

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

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

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.11 30-Jul-2007  jmmv branches: 1.11.2; 1.11.4; 1.11.6; 1.11.8;
Print some debugging information when DEBUG is set, not when TERSE is
unset. The latter is not a "standard" definition, and was used in very
few places anyway.
 1.10 11-Dec-2005  christos branches: 1.10.24; 1.10.30; 1.10.38; 1.10.40; 1.10.42; 1.10.44;
merge ktrace-lwp.
 1.9 03-Jun-2005  chris branches: 1.9.2;
de-__P and ansify some functions.

Also add a const.
 1.8 02-Jan-2005  chris Remove direct references to TAILQ internal structures.

No functional change, just tidying up code.
 1.7 23-Oct-2004  thorpej Centralize the declaration of booted_device and booted_partition.
 1.6 15-Jul-2003  lukem __KERNEL_RCSID()
 1.5 16-Jun-2003  thorpej branches: 1.5.2;
Rename IPL_IMP -> IPL_VM.
 1.4 03-Nov-2002  chris Checkin new interrupt handling code for the footbridge.
This is based upon Jason's work on xscale.

Most of the interrupt handling code is now written in C using an asm stub to
call into the C code.

spl* now only updates a software mask, and does not update the hardware,
this should be much faster.

The new code works well on cats, it's untested on netwinder, but should work.

The code implements generic soft interrupts.

More work is still required to bring the isa interrupt handling code upto
scratch currently all isa interrupts are handled at IPL_BIO on the footbridge.
This may cause isa interrupts to be handled later than they should be.
I plan to fix this in the near future.
 1.3 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.2 05-Sep-2001  matt branches: 1.2.6; 1.2.10; 1.2.14;
Change <machine/irqhandler.h> to <machine/intr.h> since the latter always
includes the former and is a standard include file.
 1.1 12-Jun-2001  chris branches: 1.1.2;
Add cats specific autoconf and conf.c. Also add defopt NETWINDER to files.cats, this is so a few things that include opt_netwinder compile.
 1.1.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.1.2.1 13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.2.14.1 17-May-2002  gehenna Replace the access to devsw table and the hard-coded major with devsw API.
 1.2.10.1 17-Mar-2002  thorpej IPL_IMP -> IPL_VM
 1.2.6.3 11-Nov-2002  nathanw Catch up to -current
 1.2.6.2 17-Sep-2002  nathanw Catch up to -current.
 1.2.6.1 05-Sep-2001  nathanw file autoconf.c was added on branch nathanw_sa on 2002-09-17 21:13:58 +0000
 1.5.2.6 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.5.2.5 17-Jan-2005  skrll Sync with HEAD.
 1.5.2.4 02-Nov-2004  skrll Sync with HEAD.
 1.5.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.5.2.1 03-Aug-2004  skrll Sync with HEAD
 1.9.2.4 27-Feb-2008  yamt sync with head.
 1.9.2.3 21-Jan-2008  yamt sync with head
 1.9.2.2 07-Dec-2007  yamt sync with head
 1.9.2.1 03-Sep-2007  yamt sync with head.
 1.10.44.1 15-Aug-2007  skrll Sync with HEAD.
 1.10.42.1 07-Aug-2007  matt Sync with HEAD.
 1.10.40.1 06-Jan-2008  wrstuden Catch up to netbsd-4.0 release.
 1.10.38.1 03-Oct-2007  garbled Sync with HEAD
 1.10.30.2 03-Dec-2007  ad Sync with HEAD.
 1.10.30.1 20-Aug-2007  ad Sync with HEAD.
 1.10.24.1 24-Oct-2007  xtraeme Pull up following revision(s) (requested by jmmv in ticket #941):
sys/arch/acorn32/acorn32/autoconf.c: revision 1.9
sys/arch/netwinder/netwinder/autoconf.c: revision 1.8
sys/arch/shark/shark/autoconf.c: revision 1.9
sys/arch/cats/cats/autoconf.c: revision 1.11
Print some debugging information when DEBUG is set, not when TERSE is
unset. The latter is not a "standard" definition, and was used in very
few places anyway.
 1.11.8.2 23-Mar-2008  matt sync with HEAD
 1.11.8.1 09-Jan-2008  matt sync with HEAD
 1.11.6.4 21-Mar-2008  chris Sync to head.
 1.11.6.3 01-Jan-2008  chris Make branch build again following sync to head.
 1.11.6.2 01-Jan-2008  chris Sync with HEAD.
 1.11.6.1 11-Aug-2007  chris Initial check-in of reworked arm interrupt routines.

Main things to note on this branch:
* spl routines are inlined, less complex, and small (kernel drops in size)
* interrupts are handled in priority order (for most things it doesn't
matter, but pending ipls are used to determine if there is any work to do)
* arm_irqhandler.c is derived from footbridge_irqhandler.c, which was based
on work by thorpej.
* The code tries to touch hardware as little as possible.
* spl masks are no longer tracked, as the system is based on pending ipls

The shared code uses global ipl lists to track which interrupt handlers
are attached to which ipl (arm_iplq[]).

Interrupt sources register with the common code to indicate:
* how many irq lines they have
* a function to set the hardware mask.
* call arm_intr_claim and arm_intr_disestablish to setup handlers

When an interrupt occurs the ipl is flagged as pending, in ipls_pending.
If it can be handled at the current_ipl_level the code does so.
If it can't be handled it's left until the current_ipl_level drops.

As the ipl level changes down a quick test is made of the new ipl level
against the ipls_pending value. If an ipl is pending arm_intr_splx_lifter
is called to handle the pending ipls.

It should be noted that all interrupts are left enabled at the hardware
level, interrupts are only masked when they occur. They are only
re-enabled after it's interrupt handler is called. Hardware masks are not
changed at any other time.

Soft interrupts are treated the same as hardware interrupts, they
register as a provider, and do not get treated specially. All the soft
interrupt handlers are placed onto the relevant global ipl queue, the same
as hard interrupts handlers.

At the moment only footbridge within a cats has been updated to use the new
handling.

Todo:
* change the handling of interrupts, so that the hardware doesn't register
a routine to fetch the hardware status. Instead is makes a call which
provides the mask. This removes the primary flag when registering an
interrupt provider. It also makes more sense with multiple interrupt
sources.
* Arm v5 has the clz asm, which could be used instead of the carefully
hand rolled arm_intr_fls function.
* switch cats isa support to use this framework.
* switch iomd and acorn32 to use this framework.
* switch shark to use this framework.
* port any other arm platforms that are interested
* examine overlaps between this code and ppcoea-renovation branch.
* add support for different trigger types (Edge, level, pulse, etc)

(note that iomd and shark currently touch hardware on every spl change,
hence why they're targets to port)
 1.11.4.1 09-Dec-2007  jmcneill Sync with HEAD.
 1.11.2.1 26-Dec-2007  rjs Sync with HEAD.
 1.12.2.2 18-Feb-2008  mjf Sync with HEAD.
 1.12.2.1 08-Dec-2007  mjf Sync with HEAD.
 1.13.6.1 02-Jan-2008  bouyer Sync with HEAD
 1.15.24.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.15.18.1 28-Apr-2009  skrll Sync with HEAD.
 1.15.10.1 04-May-2009  yamt sync with head.
 1.16.18.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.16.12.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.16.12.1 30-Oct-2012  yamt sync with head
 1.17.2.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.17.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.18.2.1 18-May-2014  rmind sync with head
 1.96 21-Oct-2024  skrll Fix my thinko wrt PMAP_NEED_ALLOC_POOLPAGE and restore the code that was
#ifndef PMAP_NEED_ALLOC_POOLPAGE / #endif
 1.95 20-Oct-2024  skrll G/C

PMAP_NEED_ALLOC_POOLPAGE is a failed experiment.
 1.94 20-Apr-2023  skrll branches: 1.94.6;
Provide a shared pmap_devmap implementation and convert all pmap_devmap
arrays to use DEVMAP_ENTRY{,_END}
 1.93 08-Jan-2022  skrll defflag FCOM_INIT_ARM
 1.92 27-Aug-2021  skrll Do the VPRINTF thing and #include "opt_arm/debug.h" for VERBOSE_INIT_ARM
 1.91 27-Aug-2021  skrll initarm_common already calls db_machine_init, so don't do it for a second
time otherwise the handlers list just loops.
 1.90 27-Aug-2021  skrll lower case for hex values.
 1.89 18-Apr-2020  skrll PMAP_DEBUG has been deleted on arm
 1.88 16-Jul-2019  skrll branches: 1.88.8;
Consistently use vaddr_t as initarm and friends return type.

Makes no difference to binaries except for aarch64 where it's required
 1.87 26-Apr-2019  skrll The free block after the kernel from arm32_bootmem_init doesn't
account for bt_memavail. Adjust for this.
 1.86 15-Aug-2017  maya branches: 1.86.4;
remove unnecessary include. no aout code here!
 1.85 15-Aug-2017  maya Remove dead code. it isn't possible to do non-__ELF__ builds
 1.84 13-Jun-2017  skrll Now that bus_space can use devmap - use it for early console
 1.83 19-Mar-2017  skrll branches: 1.83.6;
Support __HAVE_MM_MD_DIRECT_MAPPED_PHYS
 1.82 04-Apr-2014  skrll branches: 1.82.6; 1.82.10; 1.82.14;
Convert cats to the new world order, i.e. arm32_{bootmem,kernel_vm}_init.
Make VERBOSE_INIT_ARM work while I'm here.
 1.81 04-Apr-2014  skrll whitespace.
 1.80 04-Apr-2014  skrll Revert previous - it wasn't complete.
 1.79 02-Apr-2014  skrll Convert cats to the new world order, i.e. arm32_{bootmem,kernel_vm}_init
 1.78 02-Apr-2014  matt Don't map ebsabootinfo.bt_vargp if it is the same address as the vector page
 1.77 18-Aug-2013  matt Include <arm/locore.h>
 1.76 13-Oct-2012  jdc branches: 1.76.2;
Adapt to the changed signature of pckbc_cnattach().
 1.75 22-Sep-2012  matt Don't use an asm in pmap_activate to update the TTBR, use cpu_setttb instead
but add a second argument to it to indicate whether the TLB/caches need to be
flushed. Default cortex to pmap_needs_fixup = 1. But check the MMFR3 field
to see if the fixed can be skipped.
Use a cf_flag bit 0 to indicate whether the A9 L2 cache should disable (bit 0 = 1)
or enabeld (bit = 0).

With these changes, the A9 MMU can use traverse caches to do MMU tablewalks
Also, make sure all memory has the shareable bit for the A9.
 1.74 16-Aug-2012  matt branches: 1.74.2;
Move the standard definitions of the {UND,IRQ,FIQ,ABT}_STACK_SIZE to
<arm32/machdep.h>
Move the extern for cpu_reset_address to the same file.
Add cpu_reset_address_paddr.
Kill cpu_reset_v4_MMU_disable.
if cpu_reset_address is NULL, then the MMU will be disabled.
 1.73 29-Jul-2012  matt Fix more -fno-common fallout.
Move more variables to common locations.
 1.72 06-Feb-2012  matt Make this compile with VERBOSE_ARM_INIT.
If the AOUT magic is not ZMAGIC, assume kernel is ELF.
 1.71 01-Jul-2011  dyoung branches: 1.71.2; 1.71.6;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.70 30-Jun-2011  wiz dependant -> dependent
 1.69 28-Dec-2009  uebayasi More setttb() -> cpu_setttb() for readability & consistency. Missing instances
pointed out by tsutsui@ & nonaka@, thanks.
 1.68 27-Nov-2009  rmind - 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.67 26-Nov-2009  matt Kill proc0paddr. Use lwp0.l_addr instead.
 1.66 18-Aug-2009  he No longer rely on <sys/exec.h> including <sys/exec_aout.h>.
Hi, matt@!
 1.65 11-Aug-2009  matt Remove all declarations of physmem from sys/arch. Add an include of
<sys/systm.h> to the one file that did not already contain it.
This now means that physmem can be changed by updating systm.h and uvm_page.c
(excluding fixing printfs)
 1.64 13-Feb-2009  apb Use "defopt MODULAR" in sys/conf/files, and #include "opt_modular.h"
in all kernel sources that use the MODULAR option.
Proposed in tech-kern on 18 Jan 2009.
 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 27-Apr-2008  matt branches: 1.60.6; 1.60.8;
Merge kernel changes in matt-armv6 to HEAD.
 1.59 19-Jan-2008  chris branches: 1.59.6; 1.59.8; 1.59.10;
Remove arm support for IPKDB.

It hasn't worked since arm was broken out from arm32 in Jan 2001, and
no-one has noticed or cared to fix it.
 1.58 24-Nov-2006  wiz branches: 1.58.24; 1.58.28; 1.58.30; 1.58.36; 1.58.44;
s/independant/independent/, from Zafer.
 1.57 27-Jun-2006  he branches: 1.57.4; 1.57.6;
Fix a build problem ('kernel_l1pt.pv_va may be used uninitialized').
 1.56 11-Dec-2005  christos branches: 1.56.4; 1.56.8; 1.56.16;
merge ktrace-lwp.
 1.55 03-Jun-2005  chris branches: 1.55.2;
de-__P and ansify some functions.

Also add a const.
 1.54 03-Jun-2005  chris Remove long dead max_processes variable and PMAP_STATIC_L1S from config
files.
These options haven't been needed since the arm pmap was switched to using
domains.
 1.53 03-Jun-2005  chris Add const, fix -Wcast-qual and fix shadow warning.

Also add some tracing I used to debug booting issues with ABLE.
 1.52 12-Dec-2004  abs Fix comments slighly
 1.51 04-Oct-2003  chris Add Experimental ELF support for cats. Only to be used if you feel daring
enough to run the ABLE firmware.
 1.50 04-Oct-2003  chris Fix booting from ABLE on cats. Two problems fixed here:
1. ABLE sets the l1pt to use domain 3 for it's entries (no idea why) so to
cover all bases when setting the domain before the change to the new L1pt
become a client of all domains.
2. It seems that we setup the kernel entries without any access permission.
(note not sure that this isn't a bug) And rely on the control bits
containing either ROM or SYST enable. which allows access to pages without
access permissions set. We actually enable SYST when we do the full detect
of the CPU, but we don't detect the CPU till after the L1pt switch, which
we never make it past. Fix this by explicitly enabling the SYST bit in the
control register. rather than relying on the firmware to have dont the right
thing.
 1.49 15-Jul-2003  lukem __KERNEL_RCSID()
 1.48 14-Jun-2003  thorpej branches: 1.48.2;
Also pass a type argument to comcnattach() and com_kgdb_attach().
comspeed() (and thus cominit()) may need this information.
 1.47 22-May-2003  thorpej Move KERNEL_VM_SIZE into the C files where its used.
 1.46 21-May-2003  thorpej Move KERNEL_VM_BASE inside where it is used (it won't be there for long).
 1.45 03-May-2003  thorpej Don't expose KERNEL_TEXT_BASE outside of board-specific code. This gives
individual board start-up code more flexibility about where the kernel
starts in the kernel address space.
 1.44 03-May-2003  thorpej Reduce differences between ARM32_NEW_VM_LAYOUT and not; always pass
the start and end of the kernel managed virtual address space to
pmap_bootstrap() in the new pmap.
 1.43 03-May-2003  thorpej Remove old pmap support for platforms which have fully switched over.
 1.42 02-May-2003  thorpej Eliminate PTE_BASE and the PT-PT completely in the ARM32_PMAP_NEW case.
Also in the ARM32_PMAP_NEW case, reclaim the USPACE-bytes of wasted space
at the top of the user address that hasn't been needed for a very very
long time.
 1.41 26-Apr-2003  chris Add support for ARM32_PMAP_NEW. also make it the default for all cats
kernels.
 1.40 26-Apr-2003  ragge Call ksyms_init() instead of ddb_init() in case of
NKSYMS || defined(DDB) || defined(LKM)
 1.39 01-Apr-2003  thorpej Use PAGE_SIZE rather than NBPG.
 1.38 17-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.37 03-Nov-2002  chris Checkin new interrupt handling code for the footbridge.
This is based upon Jason's work on xscale.

Most of the interrupt handling code is now written in C using an asm stub to
call into the C code.

spl* now only updates a software mask, and does not update the hardware,
this should be much faster.

The new code works well on cats, it's untested on netwinder, but should work.

The code implements generic soft interrupts.

More work is still required to bring the isa interrupt handling code upto
scratch currently all isa interrupts are handled at IPL_BIO on the footbridge.
This may cause isa interrupts to be handled later than they should be.
I plan to fix this in the near future.
 1.36 12-Oct-2002  chris Merge isa_machdep.c from netwinder and cats into footbridge/isa (where it
joins other machdep files)
Saves maintaining multiple copies of the same thing, the only differences
were:
IRQ line used on the footbridge (made that a define in include/isa_machdep.h)
name of a dma_ranges variable contained arch name, so just made it generic.
 1.35 27-Sep-2002  provos remove trailing \n in panic(). approved perry.
 1.34 24-Aug-2002  thorpej Enable caching on kernel and user page tables. This saves having
to do uncached memory access during VM operations (which can be
quite expensive on some CPUs).

We currently write-back PTEs as soon as they're modified; there is
some room for optimization (to write them back in larger chunks).
For PTEs in the APTE space (i.e. PTEs for pmaps that describe another
process's address space), PTEs must also be evicted from the cache
complete (PTEs in PTE space will be evicted durint a context switch).
 1.33 21-Aug-2002  thorpej Do cached memory access to L1 tables, making sure to write-back the
cache after any L1 table modifications.
 1.32 31-Jul-2002  thorpej Overhaul how DMA ranges work in the ARM bus_dma implementation.

A new "arm32_dma_range" structure now describes a DMA window, with
a system address base, bus address base, and length. In addition to
providing info about which memory regions are legal for DMA, the new
structure provides address translation support, as well.

As before, if a tag does not list any ranges, then all addresses are
considered valid, and no DMA address translation is performed.

This allows us to remove a large chunk of code which was duplicated and
tweaked slightly (to do the address translation) from the stock ARM
bus_dma in the XScale IOP and ARM Integrator ports.

Test compiled on all ARM platforms, test booted on Intel IQ80321 and Shark.
 1.31 31-Jul-2002  thorpej Move the calls to uvm_page_physload() out of pmap_bootstrap() and
into platform-specific initialization code, giving platform-specific
code control over which free list a given chunk of memory gets put
onto.

Changes are essentially mechanical. Test compiled for all ARM
platforms, test booted on Intel IQ80321 and Shark.

Discussed some time ago on port-arm.
 1.30 30-Jul-2002  thorpej Move the uvm_setpagesize() call to platform-dependent code in preparation
for other changes to pmap_bootstrap().
 1.29 05-Apr-2002  thorpej branches: 1.29.2; 1.29.4;
* Rewrite the 32-bit ARM pte.h based on the ARM architecture manual.
Significant cleanup, here, including better PTE bit names.
* Add XScale PTE extensions (ECC enable, write-allocate cache mode).
* Mechanical changes everywhere else to update for new pte.h. While
doing this, two bugs (as a result of typos) were fixed in

arm/arm32/bus_dma.c
evbarm/integrator/int_bus_dma.c
 1.28 03-Apr-2002  thorpej Clean up handling of the vector page on 32-bit ARM systems:
* Don't refer to VA 0, instead refer to a new variable: vector_page
* Delete the old zero_page_*() functions, replacing them with a new
one: vector_page_setprot().
* When manipulating vector page mappings in user pmaps, only do so if
the vector page is below KERNEL_BASE (if it's above KERNEL_BASE, the
vector page is mapped by the kernel pmap).
* Add a new function, arm32_vector_init(), which takes the virtual
address of the vector page (which MUST be valid when the function
is called) and a bitmask of vectors the kernel is going to take
over, and performs all vector page initialization, including setting
the V bit in the CPU Control register ("relocate vectors to high
address"), if necessary.
 1.27 25-Mar-2002  thorpej * Fix use of pmap_curmaxkvaddr.
* Use the PTP hint in the pmap.
 1.26 23-Mar-2002  thorpej * Rename PROCESS_PAGE_TBLS_BASE -> PTE_BASE
* Rename ALT_PAGE_TBLS_BASE -> APTE_BASE
* Garbage-collect PAGE_TABLE_SPACE_START
 1.25 03-Mar-2002  chris Implement pmap_growkernel for arm32 based ports.
Note that this has been compiled on some systems, cats, IQ80310, IPAQ, netwinder and shark (note that shark's build is currently broken due to other reasons), but only actually run on cats.
Shark doesn't make use of the functionality as I believe there has to be a correlation between OFW and the kernel tables so that calls into OFW work.
 1.24 22-Feb-2002  skrll Pass the VA for kernel_ptpt as the VA to pmap_map_entry
 1.23 22-Feb-2002  skrll Make sure the kernel_pt_table has the right physical to virtual address
mapping.
 1.22 22-Feb-2002  thorpej Change pmap_map_entry() to work like pmap_map_chunk(): take a pointer
to the L1 table and a virtual address, and no pointer to the L2 table.
The L2 table will be looked up by pmap_map_entry(), which will panic
if the there is no L2 table for the requested VA.

NOTE: IT IS EXTREMELY IMPORTANT THAT THE CORRECT VIRTUAL ADDRESS
BE PROVIDED TO pmap_map_entry()! Notably, the code that mapped
the kernel L2 tables into the kernel PT mapping L2 table were not
passing actual virtual addresses, but rather offsets into the range
mapped by the L2 table. I have fixed up all of these call sites,
and tested the resulting kernel on both an IQ80310 and a Shark.
Other portmasters should examine their pmap_map_entry() calls if
their new kernels fail.
 1.21 21-Feb-2002  thorpej Keep track of which kernel PTs are available during bootstrap,
and let pmap_map_chunk() lookup the correct one to use for the
current VA. Eliminate the "l2table" argument to pmap_map_chunk().

Add a second L2 table for mapping kernel text/data/bss on the
IQ80310 (fixes booting kernels with ramdisks).
 1.20 21-Feb-2002  thorpej Always pass the L1 table to pmap_map_chunk(). This allows pmap_map_chunk()
to perform some error checking.
 1.19 21-Feb-2002  thorpej map_chunk() -> pmap_map_chunk(), and move it to pmap.c
 1.18 20-Feb-2002  thorpej map_pagetable() -> pmap_link_l2pt(), and move it to pmap.c
 1.17 20-Feb-2002  thorpej Collapse map_entry{,ro,nc}() into a single pmap_map_entry() that
takes a prot and a "cacheable" indicator.
 1.16 20-Feb-2002  thorpej Rename map_section() to pmap_map_section(), move it to pmap.c, and give it
an extra argument (prot - specifies protection of the mapping).
 1.15 10-Feb-2002  chris Fix a potential boot failure, we need to make sure that the pt's used for the kernel mapping are contiguous otherwise map_chunk etc could overwrite the L1 table.
 1.14 10-Feb-2002  chris Change reference from arm32 to cats in printf, pointed out by wiz.
 1.13 09-Feb-2002  chris Move the arm32/pci files into the cats dir. AFAIK these files are only used by cats.
 1.12 25-Jan-2002  thorpej Overhaul of the ARM cache code. This is mostly a simplification
pass. Rather than providing a whole slew of cache operations that
aren't ever used, distill them down to some useful primitives:

icache_sync_all Synchronize I-cache
icache_sync_range Synchronize I-cache range

dcache_wbinv_all Write-back and Invalidate D-cache
dcache_wbinv_range Write-back and Invalidate D-cache range
dcache_inv_range Invalidate D-cache range
dcache_wb_range Write-back D-cache range

idcache_wbinv_all Write-back and Invalidate D-cache,
Invalidate I-cache
idcache_wbinv_range Write-back and Invalidate D-cache,
Invalidate I-cache range

Note: This does not yet include an overhaul of the actual asm files
that implement the primitives. Instead, we've provided a safe default
for each CPU type, and the individual CPU types can now be optimized
one at a time.
 1.11 22-Jan-2002  chris Update/remove prototypes.
 1.10 19-Jan-2002  chris Following on from similair change by Jason for xscale, pass the l1 page table into the map_chunk function so it can try to map the kernel in sections.
 1.9 12-Jan-2002  chris Make GENERIC cats kernel boot again. By allocating a 2nd second level page table for the kernel and stack space we can now have to 8MB of kernel and stacks (if the kernel ever gets really bloated might need to add a 3rd!)
Also update the funcs in arm32_machdep.c that create the entries so that on cats they expect the 2 pagetables to be contiguous, note this means that for now cats is special cased in lots of funcs. I'll tidy this up to something a bit more sane soon, to avoid the multitude of #ifndef cats that I had to sprinkle in.
 1.8 07-Jan-2002  chris Finish up the changes to get LOOSE_PROTOTYPES working for cats.
Note that this leaves a few inconsistencies (no more than we already had though) eg initarm is now prototyped in arm32/machdep.h, however only cats currently makes use of that header.
 1.7 23-Nov-2001  thorpej Use <arm/undefined.h> instead of <machine/undefined.h>.
 1.6 23-Nov-2001  thorpej No need to pull in <machine/pte.h> directly.
 1.5 09-Nov-2001  thorpej branches: 1.5.2;
Add some rudimentary support for ELF symbols in DDB on the ARM ports.
On platforms which load the kernel sans symbols directly from firmware
(possibly in e.g. S-Record format), call ddb_init() with empty arguments,
so that it will search any compiled in SYMTAB_SPACE. On all other platforms,
if __ELF__, also call ddb_init() with empty arguments until ELF bootloaders
which pass symbol information are ready.
 1.4 09-Nov-2001  thorpej Remove unneeded declarations of the db_machine_init() function. The
ARM ports are the only ones that actually have one, and it is about
to change.
 1.3 09-Nov-2001  thorpej Remove unnecessary prototypes for zero_page_read{only,write}().
 1.2 05-Sep-2001  matt branches: 1.2.4;
Change <machine/irqhandler.h> to <machine/intr.h> since the latter always
includes the former and is a standard include file.
 1.1 20-Jun-2001  chris branches: 1.1.2;
Remove defopt EBSA285.
Move the files from footbridge that are cats specific.
Remove EBSA285 kernel as people should be able to use the generic cats kernel for EBSA285 systems.
 1.1.2.8 18-Oct-2002  jdolecek sync with -current:
Merge isa_machdep.c from netwinder and cats into footbridge/isa
 1.1.2.7 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.2.6 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.1.2.5 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.2.4 16-Mar-2002  jdolecek Catch up with -current.
 1.1.2.3 11-Feb-2002  jdolecek Sync w/ -current.
 1.1.2.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.2.1 13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.2.4.1 12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.5.2.11 11-Nov-2002  nathanw Catch up to -current
 1.5.2.10 18-Oct-2002  nathanw Catch up to -current.
 1.5.2.9 27-Aug-2002  thorpej Sync with -current.
 1.5.2.8 01-Aug-2002  nathanw Catch up to -current.
 1.5.2.7 24-Jun-2002  nathanw Curproc->curlwp renaming.

Change uses of "curproc->l_proc" back to "curproc", which is more like the
original use. Bare uses of "curproc" are now "curlwp".

"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL)
so that it is always safe to reference curproc (*de*referencing curproc
is another story, but that's always been true).
 1.5.2.6 17-Apr-2002  nathanw Catch up to -current.
 1.5.2.5 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.5.2.4 28-Feb-2002  nathanw Catch up to -current.
 1.5.2.3 11-Jan-2002  nathanw More catchup.
 1.5.2.2 08-Jan-2002  nathanw Catch up to -current.
 1.5.2.1 09-Nov-2001  nathanw file cats_machdep.c was added on branch nathanw_sa on 2002-01-08 00:23:47 +0000
 1.29.4.2 14-Feb-2003  he Revert pull-up of revision 1.33 (requested by rearnsha in ticket #1170):
Revert cached memory access to L1 tables, this causes instability
on the release branch.
 1.29.4.1 21-Nov-2002  he Pull up revision 1.33 (requested by thorpej in ticket #712):
Do cached memory access to L1 tables, making sure to
write-back the cache after any L1 table modifications.
 1.29.2.1 30-Aug-2002  gehenna catch up with -current.
 1.48.2.5 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.48.2.4 18-Dec-2004  skrll Sync with HEAD.
 1.48.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.48.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.48.2.1 03-Aug-2004  skrll Sync with HEAD
 1.55.2.2 21-Jan-2008  yamt sync with head
 1.55.2.1 30-Dec-2006  yamt sync with head.
 1.56.16.1 13-Jul-2006  gdamore Merge from HEAD.
 1.56.8.1 11-Aug-2006  yamt sync with head
 1.56.4.1 09-Sep-2006  rpaulo sync with head
 1.57.6.1 10-Dec-2006  yamt sync with head.
 1.57.4.1 12-Jan-2007  ad Sync with head.
 1.58.44.1 20-Jan-2008  bouyer Sync with HEAD
 1.58.36.1 18-Feb-2008  mjf Sync with HEAD.
 1.58.30.2 23-Mar-2008  matt sync with HEAD
 1.58.30.1 28-Jan-2008  matt Adapt to new pmap_bootstrap signature.
 1.58.28.2 20-Jan-2008  chris Sync to HEAD.
 1.58.28.1 11-Aug-2007  chris Initial check-in of reworked arm interrupt routines.

Main things to note on this branch:
* spl routines are inlined, less complex, and small (kernel drops in size)
* interrupts are handled in priority order (for most things it doesn't
matter, but pending ipls are used to determine if there is any work to do)
* arm_irqhandler.c is derived from footbridge_irqhandler.c, which was based
on work by thorpej.
* The code tries to touch hardware as little as possible.
* spl masks are no longer tracked, as the system is based on pending ipls

The shared code uses global ipl lists to track which interrupt handlers
are attached to which ipl (arm_iplq[]).

Interrupt sources register with the common code to indicate:
* how many irq lines they have
* a function to set the hardware mask.
* call arm_intr_claim and arm_intr_disestablish to setup handlers

When an interrupt occurs the ipl is flagged as pending, in ipls_pending.
If it can be handled at the current_ipl_level the code does so.
If it can't be handled it's left until the current_ipl_level drops.

As the ipl level changes down a quick test is made of the new ipl level
against the ipls_pending value. If an ipl is pending arm_intr_splx_lifter
is called to handle the pending ipls.

It should be noted that all interrupts are left enabled at the hardware
level, interrupts are only masked when they occur. They are only
re-enabled after it's interrupt handler is called. Hardware masks are not
changed at any other time.

Soft interrupts are treated the same as hardware interrupts, they
register as a provider, and do not get treated specially. All the soft
interrupt handlers are placed onto the relevant global ipl queue, the same
as hard interrupts handlers.

At the moment only footbridge within a cats has been updated to use the new
handling.

Todo:
* change the handling of interrupts, so that the hardware doesn't register
a routine to fetch the hardware status. Instead is makes a call which
provides the mask. This removes the primary flag when registering an
interrupt provider. It also makes more sense with multiple interrupt
sources.
* Arm v5 has the clz asm, which could be used instead of the carefully
hand rolled arm_intr_fls function.
* switch cats isa support to use this framework.
* switch iomd and acorn32 to use this framework.
* switch shark to use this framework.
* port any other arm platforms that are interested
* examine overlaps between this code and ppcoea-renovation branch.
* add support for different trigger types (Edge, level, pulse, etc)

(note that iomd and shark currently touch hardware on every spl change,
hence why they're targets to port)
 1.58.24.1 28-Feb-2008  rjs Sync with HEAD.
 1.59.10.4 11-Mar-2010  yamt sync with head
 1.59.10.3 19-Aug-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 03-Mar-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.71.6.1 18-Feb-2012  mrg merge to -current.
 1.71.2.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.71.2.2 30-Oct-2012  yamt sync with head
 1.71.2.1 17-Apr-2012  yamt sync with head
 1.74.2.3 03-Dec-2017  jdolecek update from HEAD
 1.74.2.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.74.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.76.2.2 18-May-2014  rmind sync with head
 1.76.2.1 28-Aug-2013  rmind sync with head
 1.82.14.1 21-Apr-2017  bouyer Sync with HEAD
 1.82.10.1 20-Mar-2017  pgoyette Sync with HEAD
 1.82.6.1 28-Aug-2017  skrll Sync with HEAD
 1.83.6.3 28-Apr-2019  martin Redo previous, this time actually using the patch requested in the ticket:
pull up following revision(s) (requested by skrl in ticket #1249):

sys/arch/cats/cats/cats_machdep.c: revision 1.87 (via patch)

The free block after the kernel from arm32_bootmem_init doesn't
account for bt_memavail. Adjust for this.
 1.83.6.2 26-Apr-2019  martin Pull up following revision(s) (requested by skrl in ticket #1249):

sys/arch/cats/cats/cats_machdep.c: revision 1.87

The free block after the kernel from arm32_bootmem_init doesn't
account for bt_memavail. Adjust for this.
 1.83.6.1 05-Jul-2017  martin Pull up following revision(s) (requested by skrll in ticket #83):
sys/arch/cats/cats/cats_machdep.c: revision 1.84
sys/arch/arm/footbridge/footbridge_io.c: revision 1.23
sys/arch/cats/conf/GENERIC: revision 1.162
Use devmap if available
Now that bus_space can use devmap - use it for early console
Comment out a bunch of thing so that a GENERIC kernel boots on my cats
with cyclone firmware
 1.86.4.3 21-Apr-2020  martin Sync with HEAD
 1.86.4.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.86.4.1 10-Jun-2019  christos Sync with HEAD
 1.88.8.1 20-Apr-2020  bouyer Sync with HEAD
 1.94.6.1 02-Aug-2025  perseant Sync with HEAD
 1.2 03-Sep-2001  matt branches: 1.2.6;
Use new shared arm/arm32/conf.c
 1.1 12-Jun-2001  chris branches: 1.1.2;
Add cats specific autoconf and conf.c. Also add defopt NETWINDER to files.cats, this is so a few things that include opt_netwinder compile.
 1.1.2.1 13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.2.6.1 08-Jan-2002  nathanw Catch up to -current.
 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 22-May-2001  chris branches: 1.1.8;
Start moving cats out of the arm32 dir into it's own arch dir.
 1.1.8.2 07-Jan-2003  thorpej Sync with HEAD.
 1.1.8.1 22-May-2001  thorpej file .keep_me was added on branch nathanw_sa on 2003-01-07 21:05:04 +0000
 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:05:04 +0000
 1.187 12-Feb-2023  abs Add optoion GENERIC.local include to the end of ~all GENERIC configs

This excludes atari, sgimips, evbmips, evbppc, evbsh3, and hpcarm
all of which have somewhat specific kernel config file layouts
 1.186 29-Sep-2022  riastradh swwdog(4): Add to GENERIC kernels.

Plus a handful of others that I'm familiar with. Lots of special-
purpose kernels should probably have this too but I'm not going
through all the arm, mips, and ppc evaluation board kernels to see
which ones are relevant.

Omitted from systems I know to be very small:
- sun2/GENERIC
- dreamcast/GENERIC
Feel free to remove it from others that need to be kept smaller.

Compile-tested a few of these just in case:
- alpha/GENERIC
- amd64/GENERIC
- evbmips/OCTEON
- i386/GENERIC
- riscv/GENERIC

PR kern/29702
 1.185 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.184 29-Jun-2021  nia Remove uscanner(4) driver

This exists for compatibility with a Linux interface which was apparently
deprecated in Linux 2.6. There are various mailing list threads going
back to 2004 where the usefulness of this driver is discussed, but
the conclusion is that scanner software has all moved to using ugen(4)
instead, and enabling this driver will not help you scan things.
 1.183 27-Sep-2020  roy branches: 1.183.6;
vether: Add to kernel configurations

It's only enabled if the kernel enabled bridge AND tap.
Otherwise it's commented out.
 1.182 01-Aug-2020  maxv Remove references to BRIDGE_IPF, it is now compiled in by default.
 1.181 16-May-2020  maya Remove uyap, USB YAP phone firmware loader.

And the associated ezload EZ-USB code, which is only used by uyap.
It could theoretically be used by other drivers, but none of them are
in tree.

I suspect that this device isn't in use, as phone technology has improved
a lot since 2001 when uyap(4) was added to the tree.

Proposed with no objections on netbsd-users on 13 April 2020
 1.180 18-Apr-2020  skrll PMAP_DEBUG has been deleted on arm
 1.179 18-Apr-2020  skrll Trailing whitespace
 1.178 29-Jan-2020  maya branches: 1.178.4;
remove urio(4), a driver for the Rio500 MP3 player.

At this point it is highly unlikely this 1999 device still has users,
but it still comes up in the context of maxv's USB-fuzzing (and any device
could pretend to be a urio(4)), so it's best to get rid of it.

Renamed all major entries to obsolete, as was done in previous removals.

This still requires an update to sanitizers, but they're located in
"external", perhaps it should be first committed upstream?

Proposed on tech-kern a month ago.
 1.177 25-Jan-2020  thorpej Retire "le* at pci?" from the shipped kernel configs:
- If the config had both an le@pci and a pcn, simply remove le@pci
(pcn would match at a higher priority anyway).
- If the config had le@pci enabled, but no pcn, change le@pci to pcn.
- If the config had le@pci commented out, but no pcn, change le@pci
to pcn and leave it commented out.

The pcn driver supports more chips than le@pci and does DMA directly
to/from mbufs rather than memory copies.
 1.176 20-Jan-2020  thorpej Remove FDDI support.
 1.175 19-Jan-2020  thorpej Remove HIPPI support and the esh(4) driver that uses it. There have not
been any users of HIPPI for some time, and it is unlikely to be resurrected.
 1.174 19-Jan-2020  thorpej Remove the strip(4) - Starmode Radio IP - pseudo-device driver. It is
long since obsolete.
 1.173 26-Apr-2019  sevan branches: 1.173.4;
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.172 13-Apr-2019  isaki Add drvctl to kernel which has audio device.
audiocfg(1) requires drvctl(4).
 1.171 06-Feb-2019  rin Add ure(4) to kernel config files. Also add PHY drivers where necessary.
 1.170 12-Dec-2018  maxv Remove references to "lmc" in the kernel configurations.
 1.169 06-Sep-2018  maxv Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.
 1.168 25-Aug-2018  rin Add (commented out) mue(4) to where appropriate.
Also add MII/PHY drivers for USB NICs if missing.
 1.167 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.166 23-Jan-2018  sevan branches: 1.166.2; 1.166.4;
Alternate buffer queue strategies no longer considered experimental, update
description.

Discussed on tech-kern
http://mail-index.netbsd.org/tech-kern/2018/01/21/msg023002.html
 1.165 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.164 13-Sep-2017  sevan Remove support for VERIFIED_EXEC_FP_RMD160, VERIFIED_EXEC_FP_SHA1, and VERIFIED_EXEC_FP_MD5 options.
These algorithms are either broken or on their way to being broken.

Discussed on tech-security
http://mail-index.netbsd.org/tech-security/2017/08/21/msg000936.html

ok riastradh
 1.163 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 3.
 1.162 25-Jun-2017  skrll Comment out a bunch of thing so that a GENERIC kernel boots on my cats
with cyclone firmware
 1.161 13-Dec-2016  christos branches: 1.161.8;
wildcard speaker attachments, now that we can handle many of them.
 1.160 10-Dec-2016  christos remove VAUDIOSPEAKER for now, will be done differently.
 1.159 09-Dec-2016  christos kill PCPPISPEAKER
 1.158 08-Dec-2016  nat Add a synthesized pc beeper and keyboard bell for platforms with an audio
device.
 1.157 19-Mar-2016  gdt branches: 1.157.2;
Disable uscanner in all kernel configs

As discussed on current-users@, SANE uses ugen via libusb and not
uscanner, so users are not well served by having uscanner. Consensus
is that addressing how to adjust permissions for scanners should not
block restoring basic functionionality.

(Compile-tested only, but there are multiple reports of this being the
right approach.)
 1.156 08-Aug-2015  maxv Remove KMEMSTATS.
 1.155 16-Nov-2014  manu branches: 1.155.2;
Remove unused extended attributes kernel options

As Masao Uebayashi pointed to me, UFS_EXTATTR_AUTOSTART, LFS_EXTATTR_AUTOSTART
and UFS_EXTATTR_AUTOCREATE are not used anywhere in the code. Remove them
as they have been obsolete for a long time:
UFS_EXTATTR_AUTOSTART was replaced by mount -o extattr
LFS_EXTATTR_AUTOSTART was created to match obsolete UFS_EXTATTR_AUTOSTART
UFS_EXTATTR_AUTOCREATE was replaced by sysctl vfs.ffs.extattr_autocreate
 1.154 12-Nov-2014  manu Support for UFS1 extended attributes in GENERIC and GENERIC-like kernels

This change just brings UFS1 extended attribute *support* in the kernel,
extended attributes are not enabled unless three conditions are met:
1) filesystem is UFS1 (newfs -O1)
2) .attribute/system and .attribute/user directories are created at fs root
3) filesystem is mounted with -o extattr

Some GENERIC kernels are obviously memory constrained, the extended
attributes options were not enabled for them, but just added commented out.
(kernel were considered memory constrained if QUOTA option was disabled)
 1.153 23-Aug-2014  dholland 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.152 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.151 16-Aug-2014  apb Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
 1.150 03-Aug-2014  martin branches: 1.150.2;
Add COMPAT_NETBSD32, following the switch to eabi by default.
 1.149 30-Jun-2013  rmind branches: 1.149.4;
G/C PFIL_HOOKS from the kernel configs.
 1.148 05-Jun-2013  christos branches: 1.148.2;
remove obsolete networking options
 1.147 27-Apr-2013  christos more bogus number removal
 1.146 27-Apr-2013  christos the bogus number police
 1.145 27-Apr-2013  christos remove confusing numeric locators where they are unused.
 1.144 02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.143 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.142 06-Dec-2012  msaitoh Remove "#options ARMFPE"
 1.141 17-Oct-2012  apb Add "options COMPAT_60" to all kernel configuration files
that already had "options COMPAT_50".
 1.140 05-Jun-2012  abs branches: 1.140.2;
Adjust the WSDISPLAY_COMPAT_USL comment to mention wsconscfg, to at least
give a hint that its not just for third party compat. No functional change.
 1.139 10-Mar-2012  joerg P1003_1B_SEMAPHORE is no longer optional.
 1.138 06-Feb-2012  matt branches: 1.138.2;
Increase SYMTAB_SPACE (commented out).
Add commented out VERBOSE_INIT_ARM and FCOM_INIT_ARM
 1.137 18-Dec-2011  dholland WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.136 22-Nov-2011  tls branches: 1.136.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.135 30-Jun-2011  wiz branches: 1.135.2;
dependant -> dependent
 1.134 06-Mar-2011  bouyer merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.
 1.133 23-Nov-2010  hannken branches: 1.133.2; 1.133.4;
Remove unused count from pseudo-device md.
 1.132 08-May-2010  mrg 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.131 29-Apr-2010  chs enable TMPFS in all GENERICs that have MFS enabled.
 1.130 16-Apr-2010  pooka Remove unused count (invariably "4") from pseudo-device fss.
 1.129 18-Mar-2010  dholland grammar patrol
 1.128 05-Dec-2009  pooka branches: 1.128.2; 1.128.4;
Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs. User functionality remains the same.
 1.127 24-Jan-2009  mrg add COMPAT_50 to all the configs with COMPAT_40.
 1.126 24-Nov-2008  ad Remove softdep, pass 1. We are focused on improving journalling.

Proposed on tech-kern@.
 1.125 12-Nov-2008  ad Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.124 20-Sep-2008  chris branches: 1.124.2;
Remove isp* from the cats GENERIC kernel. This reduces the kernel size by
~700KB and brings the kernel below the 5MB size needed for cyclone firmware
to successfully boot the kernel.
 1.123 10-Aug-2008  tls Add accept filters to GENERIC kernels where they exist.
 1.122 31-Jul-2008  simonb Add "options WAPBL" to standard GENERIC/INSTALL type configs.
 1.121 30-May-2008  tsutsui branches: 1.121.4;
Add options COMPAT_40 to files which have options COMPAT_30.
 1.120 19-Jan-2008  chris branches: 1.120.6; 1.120.8; 1.120.10; 1.120.12;
Remove arm support for IPKDB.

It hasn't worked since arm was broken out from arm32 in Jan 2001, and
no-one has noticed or cared to fix it.
 1.119 31-Dec-2007  ad Remove systrace. Ok core@.
 1.118 04-Nov-2007  xtraeme branches: 1.118.2; 1.118.8;
Remove System V semaphores and share memory options to set the limits:
SEMMNI, SEMMNS, SEMUME and SHMMAXPGS.

They can be tweaked via sysctl now. Ports that were setting values on
them weren't touched, I only removed the ones that were commented out.
 1.117 17-Oct-2007  garbled Merge the ppcoea-renovation branch to HEAD.

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

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

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.116 06-Aug-2007  adrianp branches: 1.116.2; 1.116.4; 1.116.8;
Remove iso(4) from GENERIC kernels, as discussed on tech-net@
Ok'ed by core@
 1.115 04-Jun-2007  martin branches: 1.115.2; 1.115.4; 1.115.6; 1.115.8;
Add pseudo-device agr to all GENERIC kernels where it might make sense
(commented out in some).
 1.114 14-Mar-2007  drochner branches: 1.114.6;
It doesn't make sense to specify "configuration" and "interface"
locators for uhub because a hub can't have sub-devices.
This might be sanity-checked eventually.
Same for ubt now after the change to device attachment.
 1.113 11-Nov-2006  jmmv branches: 1.113.2; 1.113.4; 1.113.8; 1.113.10; 1.113.12;
Remove tmpfs's experimental status. OK'ed by core@.
 1.112 27-Sep-2006  manu - Document COMPAT_15 as doing nothing
- Add COMPAT_15 to all the kernel that had COMPAT_14, for the sake of coherency
- Remove the only occurences of #ifdef COMPAT_15 in the tree: for the ARM
ports, COMPAT_15 was always used in conjunction with EXEC_AOUT. Only EXEC_AOUT
matters here.

This address kern/18407
 1.111 19-Sep-2006  he Convert the NetBSD/cats port to use generic TODR.

This gets rid of the now-unneded "todclock" and "todservice" attributes
from the footbridge device files, which should allow netwinder to build
again after its conversion to generic TODR.

Resulting kernel verified to boot up OK on gxemul (after my recent
fixes of the gxemul package to emulate free-running timers).
 1.110 26-Aug-2006  christos branches: 1.110.2; 1.110.4;
PR/34283: Gene ENonymous: Add IPFILTER_LOOKUP to the default kernel options
Also remove CCITT,NS,NIP
 1.109 26-Aug-2006  tsutsui Remove obsolete #options VERIFIED_EXEC, found by grep(1).
 1.108 14-Aug-2006  skrll s/adpater/adapter/

Prompted by PR/34195
 1.107 12-Aug-2006  christos Disable SYSTRACE by default on all kernels (discussed with core)
 1.106 26-Jul-2006  cube branches: 1.106.2;
Remove "atapibus* at umass?" and "scsibus* at umass?" when there is
already an attachment to the interface attribute (atapi and scsi).

Part of PR#34085, although it is the contrary to what the submitter
suggests (which shows that having both in a config file can be confusing).
 1.105 28-Jun-2006  liamjfoy Add CARP to GENERIC kernel configs. CARP is not enabled by default.

ok: christos
 1.104 15-Apr-2006  jmmv branches: 1.104.4;
Remove the getwschar and putwschar accessops from wsdisplay drivers as
requested by uwe@. These were wrong because they were receiving an
emulcookie yet they were accessops (thus having to receive an accesscookie).
Instead, just handle the WSDISPLAYIO_{GET,PUT}WSCHAR ioctls from the
driver's ioctl accessop.

As this reduces the amount of code needed to handle these operations to
two small functions in each driver, remove the WSDISPLAY_CHARFUNCS kernel
option.

Reviewed by, at least, uwe@ and macallan@. No objections in tech-kern@.
 1.103 28-Mar-2006  pavel Add stf to all kernel configs which have INET6 and gif, except the INSTALL
ones and those for specific machines of developers. PR 32304.

OK'ed by rpaulo.

N.B. stf is a cloning device, so it still must be enabled by
"ifconfig stf0 create".
 1.102 22-Feb-2006  hira branches: 1.102.2; 1.102.4; 1.102.6;
Fix typo (Prolofic -> Prolific).
 1.101 05-Feb-2006  cube Remove 'count' argument for pseudo-devices that ignore it
(vnd, bpfilter, ppp, gif, gre, tun, sl, strip, faith, stf).
 1.100 04-Feb-2006  rpaulo bpfilter doesn't accept count anymore.
 1.99 02-Feb-2006  reinoud branches: 1.99.2;
Add commented out UDF file-system entry in all GENERIC configurations.
 1.98 20-Dec-2005  thorpej branches: 1.98.2; 1.98.4;
Remove the tablet line discipline.
 1.97 09-Dec-2005  elad Add (commented out) Veriexec options and pseudo-device to GENERIC kernels,
and remove the i386 GENERIC_VERIEXEC config.
 1.96 07-Dec-2005  tsutsui Adjust comments for options FFS_NO_SNAPSHOT.

XXX: This option should be mentioned in options(4).
 1.95 25-Nov-2005  thorpej swcr -> swcrypto
 1.94 25-Nov-2005  thorpej "pseudo-device crypto" really refers to the /dev/crypto API to the
opencrypto framework, not the framework itself. Update the comment
accordingly.
 1.93 25-Nov-2005  thorpej Add "pseudo-device swcr" (commented out if "pseudo-device crypto" is also
commented out).
 1.92 03-Nov-2005  chs branches: 1.92.2;
turn off DEBUG and DIAGNOSTIC in GENERIC kernels so that they
are compatible with the LKMs that are part of the release.
 1.91 10-Sep-2005  jmmv Initial addition of tmpfs, an efficient memory file-system. This project
was developed as part of Google's Summer of Code 2005 program. This
change adds the kernel code, the mount_tmpfs utility, a regression test
suite and does all other related changes to integrate these.

The file-system is still *experimental*. Therefore, it is disabled by
default in all kernels. However, as typically done, a commented-out
entry is added in them to ease its setup.

Note that I haven't commited the required mountd(8) changes to be able
to export tmpfs file-systems because NFS support is still very unstable
and because, before enabling it, I'd like to do some other changes.

OK'ed by my project mentor, William Studenmund (wrstuden@).
 1.90 19-Aug-2005  christos Enable ptyfs by default on the non-install and non small/tiny/ramdisk kernels
 1.89 19-Aug-2005  christos 64 bit inode changes.
 1.88 05-Aug-2005  skrll Add (commented out) ucycom to various kernel configs.
 1.87 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.86 30-Jul-2005  yamt add "options VMSWAP" to non INSTALL kernels.
 1.85 17-Jul-2005  hubertf Add support for reading cloop2 compressed filesystem image,
enable by putting VND_COMPRESSION into kernel config file.
Written by Cliff Wright, polished up slightly by me.
 1.84 07-Jul-2005  tron Add (commented out) IPSEC_NAT_T option.
 1.83 25-Jun-2005  rpaulo branches: 1.83.2;
Add file-system PTYFS (commented out) so that people know its existence.

Ok'ed by Christos Zoulas and Hubert Feyrer.
 1.82 09-Jun-2005  tsutsui - Rename options NEW_BUFQ_STRATEGY -> options BUFQ_READPRIO.
(still commented out)
- Add (also commented out) options BUFQ_PRIOCSCAN.

Suggested by perry and soda on tech-kern.
Please refer options(4) for details for these options.
 1.81 03-Jun-2005  chris Remove long dead max_processes variable and PMAP_STATIC_L1S from config
files.
These options haven't been needed since the arm pmap was switched to using
domains.
 1.80 31-May-2005  tron Remove attachment for the piixide(4) driver from all non-x86 kernel
configurations because Intel IDE disk controllers only exist as part
of Intel chipsets for x86 systems.
 1.79 15-Apr-2005  itohy Add ukyopon(4).
 1.78 25-Mar-2005  cube Add attimer(4) configurations everywhere pcppi(4) exists, with the
following rule:
If a pcppi device is enabled for an attachment, enable an attimer for the
same attachement, otherwise comment it.
 1.77 25-Feb-2005  simonb branches: 1.77.2;
Add COMPAT_20 (and COMPAT_16 in some cases) to kernel config files
that didn't have those options but had other earlier compat options.
 1.76 18-Feb-2005  dsl Invert FFS_SNAPSHOT to FFS_NO_SNAPSHOT
 1.75 11-Feb-2005  dsl Add 'option FFS_SNAPSHOT' to most of the config files.
Commented out for kernels that appear to hace space constraints.
 1.74 31-Jan-2005  hannken Add file system snapshots to kernel configs.

- Ffs internal snapshots get compiled in unconditionally.

- File system snapshot device fss(4) added to all kernel configs that
have a disk. Device is commented out on all non-GENERIC kernels.

Reviewed by: Jason Thorpe <thorpej@netbsd.org>
 1.73 28-Jan-2005  rumble Sprinkle options UFS_DIRHASH on GENERIC kernels. It's presently
commented out and labeled experimental pending further review and
testing.
 1.72 17-Jan-2005  cube branches: 1.72.2;
Add tap(4) support to a random^Wcarefully chosen set of kernel configs.
All those kernels have a line for both tun and bridge, and if either is
commented out, tap is commented out also. With the exception of i386's
GENERIC_TINY.

XXX: we _need_ some way of making this more simple.
 1.71 24-Nov-2004  bouyer branches: 1.71.4;
pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).
 1.70 10-Nov-2004  christos Add COMPAT_BSDPTY to the rest of the config files.
 1.69 23-Oct-2004  augustss s/uax/axe/
 1.68 04-Sep-2004  manu IPv4 PIM support, based on a submission from Pavlin Radoslavov posted on
tech-net@
 1.67 15-Jul-2004  atatat Add "options SYSCTL_INCLUDE_DESCR" to a lot of configs, but commented
out in most of them.
 1.66 28-Jun-2004  bouyer Add options P1003_1B_SEMAPHORE
to all GENERIC-like kernel config files where SYSV* options were already
present (commented out if the SYSV* options are commented out).
Fix lib/25897 and lib/25898.
 1.65 26-Jun-2004  abs Add (commented out) ALTQ options to all GENERIC-like files
 1.64 22-Jun-2004  itojun have pf and pflog pseudo-device (commented out).
reviewed by matt, perry, christos
 1.63 18-Jun-2004  christos ptm is now mandatory, depends on pty, and can be disabled with -DNO_DEV_PTM
 1.62 16-Jun-2004  christos Add pseudo-device ptm on all the generic flavored kernels.
 1.61 13-Feb-2004  wiz branches: 1.61.2;
Uppercase CPU, plural is CPUs.
 1.60 14-Jan-2004  jonathan Add support for opencrypto, PCI accelerators to sys/arch/*/conf/GENERIC
files for machines I know to have genuine PCI slots. As sent to tech-kern
for feedback in December 2003. Based on feedback, opencrypto is commented
out in the macppc GENERIC (due to absense of GENERIC_SOFTINT support),
and added to the sparc64 config (sys/arch/sparc64/conf/GENERIC32).
 1.59 14-Dec-2003  thorpej Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).
 1.58 13-Dec-2003  thorpej Split out the Silicon Image SATALink support into its own driver,
"satalink".
 1.57 21-Oct-2003  skrll Rename dsrtc to ds1687rtc to avoid conflicting with the MI i2c
ds1307 driver.

Hi Jason.
 1.56 21-Oct-2003  skrll Remove the channel locator in atapibus* at umass?
 1.55 18-Oct-2003  lukem Use one 'atabus* at ata?' instead of multiple 'atabus* at FOOide? channel ?'
Use 'atapibus* at atapi?' instead of 'atapibus* at atabus?'
 1.54 08-Oct-2003  bouyer Add new per-chip pciide drivers.
 1.53 08-Oct-2003  bouyer Add atabus.
 1.52 04-Oct-2003  chris Add Experimental ELF support for cats. Only to be used if you feel daring
enough to run the ABLE firmware.
 1.51 13-Sep-2003  chris Add COMPAT_16 to most arm based kernels. Mainly in preperation for doing
SA_SIGINFO work.
 1.50 22-Aug-2003  itojun add udav*
 1.49 06-Aug-2003  bouyer Add esiop at pci to GENERIC which already have siop at pci.
esiop has been tested enouth now.
esiop not added to INSTALL kernels because of possible space constraint.
siop should be able to drive all adapters supported by esiop.
 1.48 04-May-2003  gmcgarry branches: 1.48.2;
Add wsfont. Addresses PR#18388.
 1.47 26-Apr-2003  ragge Add pseudo-device ksyms.
 1.46 10-Apr-2003  christos Bye Bye UCONSOLE
 1.45 27-Feb-2003  perseant Make BRIDGE_IPF an option, and document it. Add it (commented) to GENERIC.
Let brconfig tell whether the bridge is using the ipfilter hook, or not.
 1.44 16-Feb-2003  augustss Add uax(4) (and url(4) in some cases).
 1.43 22-Nov-2002  wiz Fix typo (responsiness -> responsiveness).
 1.42 27-Oct-2002  tsutsui Add fmv and ne at isapnp, which are also working on cats.
 1.41 25-Oct-2002  chris Add comment explaining what DDB_KEYCODE does. It should probably be renamed
to DDB_BREAK_CHAR to match the com driver at some point, although even that
isn't used everywhere.
 1.40 18-Oct-2002  junyoung Add NEW_BUFQ_STRATEGY (disabled by default).
 1.39 14-Oct-2002  elric Added commented out cgd(4)s to GENERIC configs.
 1.38 10-Oct-2002  chris As GENERIC grows, so does the needed symbol table space, bump it to
380000 from 370000.
 1.37 06-Oct-2002  provos add SYSTRACE; approved perry.
 1.36 05-Oct-2002  chris Add commented out WSDISPLAY_CHARFUNCS. Using it enables wsmoused support.
 1.35 04-Oct-2002  rearnsha Hmm, fix some bogosity in my previous attempt to fix some bogosity:-)
Keep SYMTAB_SPACE (but clean it up).
Restore iophy PHYs.
 1.34 02-Oct-2002  rearnsha Revert previous change. GENERIC already has an sb* at isapnp?
 1.33 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.32 25-Sep-2002  martti Add one space between "#option" and "<tab>IPFILTER_DEFAULT_BLOCK"
 1.31 20-Sep-2002  martti Added (commented out) IPFILTER_DEFAULT_BLOCK.
 1.30 18-Sep-2002  lukem enable USERCONF by default; it's small and extremely useful to have available.
 1.29 05-Sep-2002  nathanw Pull in a newer list of mii/phy drivers.
 1.28 17-Jun-2002  lukem 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.27 25-Apr-2002  atatat branches: 1.27.2; 1.27.4;
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.26 17-Apr-2002  mycroft Switch from de to tlp by default.
 1.25 15-Apr-2002  skrll Nuke pmsi
 1.24 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.23 10-Apr-2002  thorpej Remove FOOTBRIDGE.
 1.22 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.21 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.20 04-Mar-2002  sommerfeld The "gif*" tunnelling interface does everything ipip does.
Move usage example from ipip.4 to gif.4
Excise ipip and stitch up the scars.
 1.19 12-Feb-2002  skrll Enable ep* at pci?

OK'd by Chris Gilbert <chris@netbsd.org>
 1.18 10-Feb-2002  wiz Update description for icsphy.
 1.17 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.16 28-Dec-2001  augustss Update for new uhidev device attachment.
 1.15 28-Dec-2001  martin Add PPPoE to all generic kernels that should be able to use it.
XXX TODO: do this for INSTALL kernels too, add sysinst support and make the
XXX needed binaries available on the ramdisk root fs.
 1.14 14-Dec-2001  gmcgarry Add a blurb to the top of all GENERIC files. This serves three purposes:
- to clarify some terminology
- to clarify the intention of the GENERIC file
- to cross-reference some useful man pages
 1.13 23-Nov-2001  atatat The bridge(4) pseudo-device no longer requires the port to
__HAVE_GENERIC_SOFT_INTERRUPTS, so add it back to all GENERIC configs.
 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 13-Nov-2001  augustss branches: 1.11.2;
The wsmux pseudo device does not need a count anymore.
 1.10 01-Sep-2001  atatat Comment out bridge pseudo devices from ports that don't
__HAVE_GENERIC_SOFT_INTERRUPTS. bridge(4) doesn't compile there.
 1.9 01-Sep-2001  atatat Add bridge pseudo devices to GENERIC configs
 1.8 08-Jul-2001  abs branches: 1.8.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.7 30-Jun-2001  darcy Add System V semaphore resource limits to each GENERIC file that has an
option for System V semaphores. It appears that there are no overrides
in the code and each file has the following added.

options SYSVSEM # System V semaphores
+#options SEMMNI=10 # number of semaphore identifiers
+#options SEMMNS=60 # number of semaphores in system
+#options SEMUME=10 # max number of undo entries per process
+#options SEMMNU=30 # number of undo structures in system
options SYSVSHM # System V shared memory

If anyone thinks that this is incorrect for any of these files, please
correct it.

Note - the i386 port was not forgotten. It was done separately.
 1.6 20-Jun-2001  chris Remove defopt EBSA285.
Move the files from footbridge that are cats specific.
Remove EBSA285 kernel as people should be able to use the generic cats kernel for EBSA285 systems.
 1.5 16-Jun-2001  tsutsui Add iha at pci, which just works on my CATS.
 1.4 16-Jun-2001  tsutsui Enable some devices which I am/was using:
epic* at pci?
fxp* at pci?
sip* at pci?
tlp* at pci?
inphys* at mii?
qsphys* at mii?
 1.3 12-Jun-2001  chris comment out MEMORY_DISK_HOOKS, currently cats can only use an in-kernel memory disk.
 1.2 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.1 22-May-2001  chris Start moving cats out of the arm32 dir into it's own arch dir.
 1.8.2.7 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.6 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.8.2.5 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.8.2.4 16-Mar-2002  jdolecek Catch up with -current.
 1.8.2.3 11-Feb-2002  jdolecek Sync w/ -current.
 1.8.2.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.8.2.1 13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.11.2.10 11-Dec-2002  thorpej Sync with HEAD.
 1.11.2.9 11-Nov-2002  nathanw Catch up to -current
 1.11.2.8 18-Oct-2002  nathanw Catch up to -current.
 1.11.2.7 17-Sep-2002  nathanw Catch up to -current.
 1.11.2.6 20-Jun-2002  nathanw Catch up to -current.
 1.11.2.5 17-Apr-2002  nathanw Catch up to -current.
 1.11.2.4 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.11.2.3 28-Feb-2002  nathanw Catch up to -current.
 1.11.2.2 08-Jan-2002  nathanw Catch up to -current.
 1.11.2.1 13-Nov-2001  nathanw file GENERIC was added on branch nathanw_sa on 2002-01-08 00:23:48 +0000
 1.27.4.3 26-Oct-2005  jmc Pullup (via patch) requested in ticket #5754 by itohy

Provide a backport for ukyopon(4) and pullup umodem(4) updates.
 1.27.4.2 24-Oct-2002  lukem Pull up upgrade to IPfilter 3.4.29 (requested by martti in ticket #905).
Affected files & revisions:

dist/ipf/HISTORY 1.14
dist/ipf/fils.c 1.17-1.21
dist/ipf/ipf.c 1.11-1.13
dist/ipf/ipfs.c 1.8-1.10
dist/ipf/ipft_ef.c 1.6-1.7
dist/ipf/ipft_td.c 1.6-1.7
dist/ipf/ipft_tx.c 1.7-1.8
dist/ipf/ipmon.c 1.12-1.17
dist/ipf/ipnat.c 1.11-1.12
dist/ipf/ipsend/ip_var.h 1.2
dist/ipf/ipsend/ipsend.c 1.8
dist/ipf/ipsend/iptests.c 1.5
dist/ipf/ipt.c 1.8-1.10
dist/ipf/kmem.c 1.8-1.10
dist/ipf/man/ipf.4 1.10
dist/ipf/man/ipf.5 1.8
dist/ipf/man/ipftest.1 1.3
dist/ipf/man/ipmon.8 1.10
dist/ipf/man/ipnat.5 1.9-1.10
dist/ipf/man/ipnat.8 1.4
dist/ipf/misc.c 1.7
dist/ipf/natparse.c 1.10
dist/ipf/parse.c 1.13
dist/ipf/printnat.c 1.8-1.10
dist/ipf/relay.c 1.5-1.6
dist/ipf/rules/example.9 1.2
etc/rc.d/ipnat 1.8
regress/sys/kern/ipf/Makefile 1.3-1.4
regress/sys/kern/ipf/dotest6 1.2
regress/sys/kern/ipf/expected/f13 1.1.1.2
regress/sys/kern/ipf/expected/i12 1.1.1.1
regress/sys/kern/ipf/expected/ni3 1.1.1.1
regress/sys/kern/ipf/expected/ni5 1.2
regress/sys/kern/ipf/input/f13 1.1.1.2
regress/sys/kern/ipf/input/ipv6.1 1.1.1.1
regress/sys/kern/ipf/input/ni3 1.1.1.1
regress/sys/kern/ipf/regress/i12 1.1.1.1
regress/sys/kern/ipf/regress/ipv6.1 1.1.1.1
regress/sys/kern/ipf/regress/ni3.ipf 1.1.1.1
regress/sys/kern/ipf/regress/ni3.nat 1.1.1.1
sys/arch/alpha/conf/ALPHA 1.169,1.171
sys/arch/amiga/conf/GENERIC 1.185-1.186
sys/arch/arc/conf/GENERIC 1.71-1.72
sys/arch/atari/conf/GENERIC.in 1.24-1.25
sys/arch/cats/conf/GENERIC 1.31-1.32
sys/arch/cobalt/conf/GENERIC 1.34-1.35
sys/arch/hp300/conf/GENERIC 1.83-1.84
sys/arch/i386/conf/CARDBUS 1.66-1.67
sys/arch/i386/conf/GENERIC 1.510,1.512
sys/arch/i386/conf/GENERIC_LAPTOP 1.58-1.59
sys/arch/i386/conf/GENERIC_PS2TINY 1.19-1.20
sys/arch/i386/conf/GENERIC_TINY 1.47-1.48
sys/arch/luna68k/conf/GENERIC 1.33-1.33
sys/arch/mac68k/conf/GENERIC 1.130-1.131
sys/arch/mac68k/conf/GENERICSBC 1.21-1.22
sys/arch/mac68k/conf/SMALLRAM 1.4-1.5
sys/arch/macppc/conf/GENERIC 1.142-1.143
sys/arch/mipsco/conf/GENERIC 1.21-1.22
sys/arch/mmeye/conf/GENERIC 1.44-1.45
sys/arch/news68k/conf/GENERIC 1.36-1.37
sys/arch/news68k/conf/GENERIC_TINY 1.18-1.19
sys/arch/newsmips/conf/GENERIC 1.50-1.51
sys/arch/ofppc/conf/GENERIC 1.56-1.57
sys/arch/pmax/conf/GENERIC 1.103-1.104
sys/arch/prep/conf/GENERIC 1.55-1.56
sys/arch/sbmips/conf/GENERIC 1.11-1.12
sys/arch/sgimips/conf/GENERIC 1.7-1.8
sys/arch/sparc/conf/GENERIC 1.138-1.139
sys/arch/sparc64/conf/GENERIC32 1.46-1.47
sys/arch/vax/conf/GENERIC 1.102-1.103
sys/arch/x68k/conf/ALL 1.55-1.56
sys/arch/x68k/conf/GENERIC 1.80-1.81
sys/lkm/netinet/if_ipl/mln_ipl.c 1.29
sys/netinet/fil.c 1.57-1.58
sys/netinet/ip_auth.c 1.29-1.30
sys/netinet/ip_compat.h 1.30-1.31
sys/netinet/ip_fil.c 1.81-1.86
sys/netinet/ip_fil.h 1.46-1.49
sys/netinet/ip_frag.c 1.33-1.34
sys/netinet/ip_frag.h 1.18
sys/netinet/ip_ftp_pxy.c 1.25-1.26
sys/netinet/ip_h323_pxy.c 1.5-1.6
sys/netinet/ip_log.c 1.22-1.23
sys/netinet/ip_nat.c 1.51-1.53
sys/netinet/ip_nat.h 1.27
sys/netinet/ip_netbios_pxy.c 1.4
sys/netinet/ip_proxy.c 1.35-1.36
sys/netinet/ip_proxy.h 1.18
sys/netinet/ip_state.c 1.41-1.42
sys/netinet/ip_state.h 1.23
sys/netinet/ipl.h 1.14
 1.27.4.1 01-Aug-2002  lukem Pull up revision 1.28 (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.27.2.1 14-Jul-2002  gehenna catch up with -current.
 1.48.2.13 11-Dec-2005  christos Sync with head.
 1.48.2.12 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.48.2.11 01-Apr-2005  skrll Sync with HEAD.
 1.48.2.10 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.48.2.9 15-Feb-2005  skrll Sync with HEAD.
 1.48.2.8 04-Feb-2005  skrll Sync with HEAD.
 1.48.2.7 24-Jan-2005  skrll Sync with HEAD.
 1.48.2.6 29-Nov-2004  skrll Sync with HEAD.
 1.48.2.5 14-Nov-2004  skrll Sync with HEAD.
 1.48.2.4 02-Nov-2004  skrll Sync with HEAD.
 1.48.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.48.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.48.2.1 03-Aug-2004  skrll Sync with HEAD
 1.61.2.4 11-Aug-2007  bouyer Pull up following revision(s) (requested by adrianp in ticket #11356):
sys/arch/acorn32/conf/GENERIC 1.80 via patch
sys/arch/amd64/conf/GENERIC 1.154 via patch
sys/arch/amiga/conf/GENERIC.in 1.61 via patch
sys/arch/arc/conf/GENERIC 1.148 via patch
sys/arch/atari/conf/GENERIC.in 1.68 via patch
sys/arch/cats/conf/GENERIC 1.116 via patch
sys/arch/hp300/conf/GENERIC 1.141 via patch
sys/arch/hp700/conf/GENERIC patch
sys/arch/i386/conf/GENERIC 1.840 via patch
sys/arch/i386/conf/GENERIC_LAPTOP 1.239 via patch
sys/arch/i386/conf/GENERIC.MPACPI patch
sys/arch/mac68k/conf/GENERIC 1.182 via patch
sys/arch/sgimips/conf/GENERIC32_IP2x 1.68 via patch
sys/arch/sgimips/conf/GENERIC32_IP3x 1.66 via patch
sys/arch/sparc/conf/GENERIC 1.200 via patch
sys/arch/sparc64/conf/GENERIC32 patch
sys/arch/xen/conf/GENERIC patch
Remove iso(4) from GENERIC kernels, as discussed on tech-net@
Ok'ed by core@
 1.61.2.3 15-Jul-2004  he branches: 1.61.2.3.2;
Pull up revision 1.67 (requested by atatat in ticket #663):
Add "options SYSCTL_INCLUDE_DESCR" to a lot of configurations,
but commented out in most of them.
 1.61.2.2 02-Jul-2004  he Pull up revision 1.66 (requested by bouyer in ticket #573):
Add options P1003_1B_SEMAPHORE to all GENERIC-like kernel
config files where SYSV* options were already present
(commented out if the SYSV* options are commented out).
Fixes PR#25897 and PR#25898.
 1.61.2.1 30-Jun-2004  jdc Pull up revision 1.65 (requested by abs in ticket #567).

Add (commented out) ALTQ options to all GENERIC-like files
 1.61.2.3.2.3 11-Aug-2007  bouyer Pull up following revision(s) (requested by adrianp in ticket #11356):
sys/arch/acorn32/conf/GENERIC 1.80 via patch
sys/arch/amd64/conf/GENERIC 1.154 via patch
sys/arch/amiga/conf/GENERIC.in 1.61 via patch
sys/arch/arc/conf/GENERIC 1.148 via patch
sys/arch/atari/conf/GENERIC.in 1.68 via patch
sys/arch/cats/conf/GENERIC 1.116 via patch
sys/arch/hp300/conf/GENERIC 1.141 via patch
sys/arch/hp700/conf/GENERIC patch
sys/arch/i386/conf/GENERIC 1.840 via patch
sys/arch/i386/conf/GENERIC_LAPTOP 1.239 via patch
sys/arch/i386/conf/GENERIC.MPACPI patch
sys/arch/mac68k/conf/GENERIC 1.182 via patch
sys/arch/sgimips/conf/GENERIC32_IP2x 1.68 via patch
sys/arch/sgimips/conf/GENERIC32_IP3x 1.66 via patch
sys/arch/sparc/conf/GENERIC 1.200 via patch
sys/arch/sparc64/conf/GENERIC32 patch
sys/arch/xen/conf/GENERIC patch
Remove iso(4) from GENERIC kernels, as discussed on tech-net@
Ok'ed by core@
 1.61.2.3.2.2 21-Jul-2005  riz branches: 1.61.2.3.2.2.2;
Pull up revision 1.79 (requested by itohy in ticket #1430):
Add ukyopon(4).
 1.61.2.3.2.1 02-Apr-2005  he Pull up revision 1.71 (requested by bouyer in ticket #1019):
Add pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) series of
controllers.
 1.61.2.3.2.2.2.1 11-Aug-2007  bouyer Pull up following revision(s) (requested by adrianp in ticket #11356):
sys/arch/acorn32/conf/GENERIC 1.80 via patch
sys/arch/amd64/conf/GENERIC 1.154 via patch
sys/arch/amiga/conf/GENERIC.in 1.61 via patch
sys/arch/arc/conf/GENERIC 1.148 via patch
sys/arch/atari/conf/GENERIC.in 1.68 via patch
sys/arch/cats/conf/GENERIC 1.116 via patch
sys/arch/hp300/conf/GENERIC 1.141 via patch
sys/arch/hp700/conf/GENERIC patch
sys/arch/i386/conf/GENERIC 1.840 via patch
sys/arch/i386/conf/GENERIC_LAPTOP 1.239 via patch
sys/arch/i386/conf/GENERIC.MPACPI patch
sys/arch/mac68k/conf/GENERIC 1.182 via patch
sys/arch/sgimips/conf/GENERIC32_IP2x 1.68 via patch
sys/arch/sgimips/conf/GENERIC32_IP3x 1.66 via patch
sys/arch/sparc/conf/GENERIC 1.200 via patch
sys/arch/sparc64/conf/GENERIC32 patch
sys/arch/xen/conf/GENERIC patch
Remove iso(4) from GENERIC kernels, as discussed on tech-net@
Ok'ed by core@
 1.71.4.1 29-Apr-2005  kent sync with -current
 1.72.2.3 26-Mar-2005  yamt sync with head.
 1.72.2.2 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.72.2.1 12-Feb-2005  yamt sync with head.
 1.77.2.6 28-Aug-2007  ghen Pull up following revision(s) (requested by adrianp in ticket #1826):
sys/arch/hp300/conf/GENERIC: revision 1.141 via patch
sys/arch/amd64/conf/GENERIC: revision 1.154 via patch
sys/arch/cats/conf/GENERIC: revision 1.116 via patch
sys/arch/arc/conf/GENERIC: revision 1.148 via patch
sys/arch/acorn32/conf/GENERIC: revision 1.80 via patch
sys/arch/sparc/conf/GENERIC: revision 1.200 via patch
sys/arch/sparc64/conf/GENERIC: revision 1.88 via patch
sys/arch/atari/conf/GENERIC.in: revision 1.68 via patch
sys/arch/amiga/conf/GENERIC: revision 1.248 via patch
sys/arch/i386/conf/GENERIC.MPACPI: patch
sys/arch/i386/conf/GENERIC_LAPTOP: revision 1.239 via patch
sys/arch/sgimips/conf/GENERIC32_IP3x: revision 1.66 via patch
sys/arch/i386/conf/GENERIC: revision 1.840 via patch
sys/arch/amiga/conf/GENERIC.in: revision 1.61 via patch
sys/arch/sgimips/conf/GENERIC32_IP2x: revision 1.68 via patch
sys/arch/mac68k/conf/GENERIC: revision 1.182 via patch
Remove iso(4) from GENERIC kernels, as discussed on tech-net&#64;
Ok'ed by core&#64;
 1.77.2.5 05-Nov-2005  tron branches: 1.77.2.5.2; 1.77.2.5.4;
Pull up following revision(s) (requested by chs in ticket #929):
sys/arch/hp300/conf/GENERIC: revision 1.124
sys/arch/acorn32/conf/GENERIC: revision 1.62
sys/arch/pdp10/conf/GENERIC: revision 1.19
sys/arch/mvme68k/conf/GENERIC: revision 1.61
sys/arch/netwinder/conf/GENERIC: revision 1.70
sys/arch/sbmips/conf/GENERIC: revision 1.46
sys/arch/macppc/conf/GENERIC: revision 1.214
sys/arch/bebox/conf/GENERIC: revision 1.89
sys/arch/cobalt/conf/GENERIC: revision 1.83
sys/arch/cats/conf/GENERIC: revision 1.92
sys/arch/shark/conf/GENERIC: revision 1.53
sys/arch/amiga/conf/GENERIC.in: revision 1.45
sys/arch/acorn26/conf/GENERIC: revision 1.37
sys/arch/cesfic/conf/GENERIC: revision 1.38
sys/arch/iyonix/conf/GENERIC: revision 1.21
sys/arch/alpha/conf/GENERIC: revision 1.277
sys/arch/vax/conf/GENERIC: revision 1.143
sys/arch/atari/conf/GENERIC.in: revision 1.56
sys/arch/mipsco/conf/GENERIC: revision 1.53
sys/arch/ofppc/conf/GENERIC: revision 1.85
sys/arch/next68k/conf/GENERIC: revision 1.96
sys/arch/arc/conf/GENERIC: revision 1.125
sys/arch/dreamcast/conf/GENERIC: revision 1.62
turn off DEBUG and DIAGNOSTIC in GENERIC kernels so that they
are compatible with the LKMs that are part of the release.
 1.77.2.4 14-Aug-2005  riz Pull up revision 1.85 (requested by hubertf in ticket #625):
Add support for reading cloop2 compressed filesystem images,
enable by putting VND_COMPRESSION into kernel config file.
Written by Cliff Wright, polished up slightly by me.
 1.77.2.3 18-Jul-2005  riz Pull up revision 1.84 (requested by tron in ticket #566):
Add (commented out) IPSEC_NAT_T option.
 1.77.2.2 01-Jun-2005  riz Pull up revision 1.80 (requested by tron in ticket #362):
Remove attachment for the piixide(4) driver from all non-x86 kernel
configurations because Intel IDE disk controllers only exist as part
of Intel chipsets for x86 systems.
 1.77.2.1 17-Apr-2005  tron Pull up revision 1.79 (requested by itohy in ticket #160):
Add ukyopon(4).
 1.77.2.5.4.1 28-Aug-2007  ghen Pull up following revision(s) (requested by adrianp in ticket #1826):
sys/arch/hp300/conf/GENERIC: revision 1.141 via patch
sys/arch/amd64/conf/GENERIC: revision 1.154 via patch
sys/arch/cats/conf/GENERIC: revision 1.116 via patch
sys/arch/arc/conf/GENERIC: revision 1.148 via patch
sys/arch/acorn32/conf/GENERIC: revision 1.80 via patch
sys/arch/sparc/conf/GENERIC: revision 1.200 via patch
sys/arch/sparc64/conf/GENERIC: revision 1.88 via patch
sys/arch/atari/conf/GENERIC.in: revision 1.68 via patch
sys/arch/amiga/conf/GENERIC: revision 1.248 via patch
sys/arch/i386/conf/GENERIC.MPACPI: patch
sys/arch/i386/conf/GENERIC_LAPTOP: revision 1.239 via patch
sys/arch/sgimips/conf/GENERIC32_IP3x: revision 1.66 via patch
sys/arch/i386/conf/GENERIC: revision 1.840 via patch
sys/arch/amiga/conf/GENERIC.in: revision 1.61 via patch
sys/arch/sgimips/conf/GENERIC32_IP2x: revision 1.68 via patch
sys/arch/mac68k/conf/GENERIC: revision 1.182 via patch
Remove iso(4) from GENERIC kernels, as discussed on tech-net@
Ok'ed by core@
 1.77.2.5.2.1 28-Aug-2007  ghen Pull up following revision(s) (requested by adrianp in ticket #1826):
sys/arch/hp300/conf/GENERIC: revision 1.141 via patch
sys/arch/amd64/conf/GENERIC: revision 1.154 via patch
sys/arch/cats/conf/GENERIC: revision 1.116 via patch
sys/arch/arc/conf/GENERIC: revision 1.148 via patch
sys/arch/acorn32/conf/GENERIC: revision 1.80 via patch
sys/arch/sparc/conf/GENERIC: revision 1.200 via patch
sys/arch/sparc64/conf/GENERIC: revision 1.88 via patch
sys/arch/atari/conf/GENERIC.in: revision 1.68 via patch
sys/arch/amiga/conf/GENERIC: revision 1.248 via patch
sys/arch/i386/conf/GENERIC.MPACPI: patch
sys/arch/i386/conf/GENERIC_LAPTOP: revision 1.239 via patch
sys/arch/sgimips/conf/GENERIC32_IP3x: revision 1.66 via patch
sys/arch/i386/conf/GENERIC: revision 1.840 via patch
sys/arch/amiga/conf/GENERIC.in: revision 1.61 via patch
sys/arch/sgimips/conf/GENERIC32_IP2x: revision 1.68 via patch
sys/arch/mac68k/conf/GENERIC: revision 1.182 via patch
Remove iso(4) from GENERIC kernels, as discussed on tech-net@
Ok'ed by core@
 1.83.2.5 21-Jan-2008  yamt sync with head
 1.83.2.4 15-Nov-2007  yamt sync with head.
 1.83.2.3 03-Sep-2007  yamt sync with head.
 1.83.2.2 30-Dec-2006  yamt sync with head.
 1.83.2.1 21-Jun-2006  yamt sync with head.
 1.92.2.1 29-Nov-2005  yamt sync with head.
 1.98.4.1 09-Sep-2006  rpaulo sync with head
 1.98.2.2 01-Mar-2006  yamt sync with head.
 1.98.2.1 18-Feb-2006  yamt sync with head.
 1.99.2.1 22-Apr-2006  simonb Sync with head.
 1.102.6.2 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.102.6.1 31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.102.4.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.102.2.4 03-Sep-2006  yamt sync with head.
 1.102.2.3 11-Aug-2006  yamt sync with head
 1.102.2.2 24-May-2006  yamt sync with head.
 1.102.2.1 01-Apr-2006  yamt sync with head.
 1.104.4.1 13-Jul-2006  gdamore Merge from HEAD.
 1.106.2.2 22-Sep-2006  riz Pull up following revision(s) (requested by tsutsui in ticket #170):
sys/arch/sparc64/conf/GENERIC: revision 1.63
sys/arch/sgimips/conf/GENERIC32_IP3x: revision 1.55
sys/arch/sgimips/conf/GENERIC32_IP2x: revision 1.54
sys/arch/next68k/conf/GENERIC: revision 1.105
sys/arch/ews4800mips/conf/GENERIC: revision 1.12
sys/arch/arc/conf/GENERIC: revision 1.142
sys/arch/sun3/conf/GENERIC3X: revision 1.91
sys/arch/amd64/conf/GENERIC: revision 1.105
sys/arch/sun2/conf/GENERIC: revision 1.58
sys/arch/amiga/conf/GENERIC.in: revision 1.55
sys/arch/mac68k/conf/GENERIC: revision 1.175
sys/arch/acorn26/conf/GENERIC: revision 1.46
sys/arch/shark/conf/GENERIC: revision 1.65
sys/arch/cesfic/conf/GENERIC: revision 1.45
sys/arch/sandpoint/conf/GENERIC: revision 1.36
sys/arch/iyonix/conf/GENERIC: revision 1.32
sys/arch/mvme68k/conf/GENERIC: revision 1.69
sys/arch/evbarm/conf/ARMADILLO210: revision 1.3
sys/arch/vax/conf/GENERIC: revision 1.154
sys/arch/mipsco/conf/GENERIC: revision 1.61
sys/arch/evbarm/conf/ARMADILLO9: revision 1.14
sys/arch/cobalt/conf/GENERIC: revision 1.103
sys/arch/ofppc/conf/GENERIC: revision 1.94
sys/arch/hp700/conf/GENERIC: revision 1.69
sys/arch/playstation2/conf/GENERIC: revision 1.8
sys/arch/dreamcast/conf/GENERIC: revision 1.73
sys/arch/news68k/conf/GENERIC: revision 1.81
sys/arch/macppc/conf/GENERIC: revision 1.234
sys/arch/hp300/conf/GENERIC: revision 1.134
sys/arch/mmeye/conf/GENERIC: revision 1.83
sys/arch/ibmnws/conf/GENERIC: revision 1.26
sys/arch/cats/conf/GENERIC: revision 1.109
sys/arch/sparc/conf/GENERIC: revision 1.191
sys/arch/pdp10/conf/GENERIC: revision 1.27
sys/arch/acorn32/conf/GENERIC: revision 1.75
sys/arch/luna68k/conf/GENERIC: revision 1.74
sys/arch/bebox/conf/GENERIC: revision 1.101
sys/arch/pmax/conf/GENERIC: revision 1.148
sys/arch/x68k/conf/GENERIC: revision 1.130
sys/arch/sun3/conf/GENERIC: revision 1.134
sys/arch/prep/conf/GENERIC: revision 1.126
sys/arch/alpha/conf/GENERIC: revision 1.293
sys/arch/newsmips/conf/GENERIC: revision 1.94
sys/arch/netwinder/conf/GENERIC: revision 1.83
sys/arch/hpcsh/conf/GENERIC: revision 1.69
sys/arch/sbmips/conf/GENERIC: revision 1.55
sys/arch/pc532/conf/GENERIC: revision 1.65
sys/arch/hpcmips/conf/GENERIC: revision 1.192
Remove obsolete #options VERIFIED_EXEC, found by grep(1).
 1.106.2.1 14-Aug-2006  tron Pull up following revision(s) (requested by elad in ticket #17):
sys/arch/sparc/conf/KRUPS: revision 1.38
sys/arch/i386/conf/XEN2_DOMU: revision 1.2
sys/arch/i386/conf/GENERIC_LAPTOP: revision 1.197
sys/arch/sgimips/conf/GENERIC32_IP2x: revision 1.53
sys/arch/evbsh5/conf/SIMULATOR: revision 1.12
sys/arch/sparc/conf/MRCOFFEE: revision 1.17
sys/arch/next68k/conf/GENERIC: revision 1.104
sys/arch/i386/conf/VIRTUALPC: revision 1.44
sys/arch/ews4800mips/conf/GENERIC: revision 1.11
sys/arch/evbsh5/conf/CAYMAN: revision 1.23
sys/arch/arc/conf/GENERIC: revision 1.141
sys/arch/amd64/conf/GENERIC: revision 1.103
sys/arch/sun3/conf/GENERIC3X: revision 1.90
sys/arch/evbarm/conf/HDL_G: revision 1.3
sys/arch/sun2/conf/GENERIC: revision 1.57
sys/arch/news68k/conf/GENERIC_TINY: revision 1.51
sys/arch/evbppc/conf/EXPLORA451: revision 1.27
sys/arch/amiga/conf/GENERIC.in: revision 1.54
sys/arch/mac68k/conf/GENERIC: revision 1.174
sys/arch/acorn26/conf/GENERIC: revision 1.45
sys/arch/shark/conf/GENERIC: revision 1.64
sys/arch/cesfic/conf/GENERIC: revision 1.44
sys/arch/mvme68k/conf/GENERIC: revision 1.68
sys/arch/i386/conf/XEN2_DOM0: revision 1.4
sys/arch/atari/conf/GENERIC.in: revision 1.63
sys/arch/amiga/conf/GENERIC: revision 1.240
sys/arch/i386/conf/LAMB: revision 1.65
sys/arch/i386/conf/GENERIC: revision 1.773
sys/arch/acorn32/conf/EB7500ATX: revision 1.26
sys/arch/x68k/conf/GENERIC: revision 1.128
sys/arch/vax/conf/GENERIC: revision 1.153
sys/arch/atari/conf/ATARITT: revision 1.81
sys/arch/mipsco/conf/GENERIC: revision 1.60
sys/arch/cobalt/conf/GENERIC: revision 1.101
sys/arch/evbarm/conf/ARMADILLO9: revision 1.13
sys/arch/ofppc/conf/GENERIC: revision 1.93
sys/arch/atari/conf/MILAN-PCIIDE: revision 1.51
sys/arch/arc/conf/RPC44: revision 1.26
sys/arch/sparc64/conf/GENERIC: revision 1.59
sys/arch/i386/conf/XEN3_DOMU: revision 1.2
sys/arch/hp700/conf/GENERIC: revision 1.68
sys/arch/atari/conf/MILAN-ISAIDE: revision 1.47
sys/arch/macppc/conf/GENERIC: revision 1.231
sys/arch/dreamcast/conf/GENERIC: revision 1.72
sys/arch/news68k/conf/GENERIC: revision 1.80
sys/arch/hp300/conf/GENERIC: revision 1.133
sys/arch/mmeye/conf/GENERIC: revision 1.82
sys/arch/macppc/conf/MAMBO: revision 1.2
sys/arch/cats/conf/GENERIC: revision 1.107
sys/arch/atari/conf/FALCON: revision 1.79
sys/arch/acorn32/conf/GENERIC: revision 1.71
sys/arch/sparc/conf/GENERIC: revision 1.190
sys/arch/news68k/conf/LIBERO: revision 1.40
sys/arch/amiga/conf/DRACO: revision 1.114
sys/arch/cobalt/conf/INSTALL: revision 1.23
sys/arch/luna68k/conf/GENERIC: revision 1.73
sys/arch/bebox/conf/GENERIC: revision 1.100
sys/arch/pmax/conf/GENERIC: revision 1.147
sys/arch/amiga/conf/WSCONS: revision 1.52
sys/arch/macppc/conf/POWERMAC_G5: revision 1.2
sys/arch/alpha/conf/ALPHA: revision 1.218
sys/arch/sun3/conf/GENERIC: revision 1.133
sys/arch/prep/conf/GENERIC: revision 1.124
sys/arch/alpha/conf/GENERIC: revision 1.291
sys/arch/atari/conf/HADES: revision 1.71
sys/arch/newsmips/conf/GENERIC: revision 1.93
sys/arch/netwinder/conf/GENERIC: revision 1.82
sys/arch/hpcmips/conf/GENERIC: revision 1.190
sys/arch/amiga/conf/AMIGA: revision 1.98
sys/arch/sbmips/conf/GENERIC: revision 1.54
sys/arch/pc532/conf/GENERIC: revision 1.64
sys/arch/sgimips/conf/GENERIC32_IP3x: revision 1.53
Disable SYSTRACE by default on all kernels (discussed with core)
 1.110.4.2 10-Dec-2006  yamt sync with head.
 1.110.4.1 22-Oct-2006  yamt sync with head
 1.110.2.1 18-Nov-2006  ad Sync with head.
 1.113.12.1 03-Sep-2007  wrstuden Sync w/ NetBSD-4-RC_1
 1.113.10.1 11-Jul-2007  mjf Sync with head.
 1.113.8.4 03-Dec-2007  ad Sync with HEAD.
 1.113.8.3 20-Aug-2007  ad Sync with HEAD.
 1.113.8.2 09-Jun-2007  ad Sync with head.
 1.113.8.1 10-Apr-2007  ad Sync with head.
 1.113.4.1 24-Mar-2007  yamt sync with head.
 1.113.2.2 25-Aug-2007  liamjfoy Pull up following revision(s) (requested by adrianp in ticket #820):
sys/arch/hp300/conf/GENERIC: revision 1.141
sys/arch/alpha/conf/GENERIC: revision 1.315
sys/arch/amd64/conf/GENERIC: revision 1.154
sys/arch/cats/conf/GENERIC: revision 1.116
sys/arch/arc/conf/GENERIC: revision 1.148
sys/arch/acorn32/conf/GENERIC: revision 1.80
sys/arch/sparc/conf/GENERIC: revision 1.200
sys/arch/sparc64/conf/GENERIC: revision 1.88
sys/arch/atari/conf/GENERIC.in: revision 1.68
sys/arch/amiga/conf/GENERIC: revision 1.248
sys/arch/i386/conf/GENERIC_LAPTOP: revision 1.239
sys/arch/sgimips/conf/GENERIC32_IP3x: revision 1.66
sys/arch/i386/conf/GENERIC: revision 1.840
sys/arch/amiga/conf/GENERIC.in: revision 1.61
sys/arch/sgimips/conf/GENERIC32_IP2x: revision 1.68
sys/arch/mac68k/conf/GENERIC: revision 1.182
Remove iso(4) from GENERIC kernels, as discussed on tech-net@
Ok'ed by core@
 1.113.2.1 05-Jun-2007  bouyer Pull up following revision(s) (requested by martin in ticket #699):
sys/arch/hpcmips/conf/GENERIC: revision 1.196
sys/arch/hp700/conf/GENERIC: revision 1.74
sys/arch/i386/conf/GENERIC: revision 1.831
sys/arch/next68k/conf/GENERIC: revision 1.108
sys/arch/alpha/conf/GENERIC: revision 1.313
sys/arch/arc/conf/GENERIC: revision 1.146
sys/arch/cats/conf/GENERIC: revision 1.115
sys/arch/ews4800mips/conf/GENERIC: revision 1.18
sys/arch/landisk/conf/GENERIC: revision 1.8 via patch
sys/arch/sparc64/conf/GENERIC: revision 1.85
sys/arch/pmax/conf/GENERIC: revision 1.152
sys/arch/iyonix/conf/GENERIC: revision 1.38 via patch
sys/arch/amiga/conf/GENERIC: revision 1.245
sys/arch/vax/conf/GENERIC: revision 1.157
sys/arch/prep/conf/GENERIC: revision 1.135
sys/arch/pc532/conf/GENERIC: revision 1.70
sys/arch/sbmips/conf/GENERIC: revision 1.61
sys/arch/mipsco/conf/GENERIC: revision 1.65
sys/arch/cobalt/conf/GENERIC: revision 1.108
sys/arch/ofppc/conf/GENERIC: revision 1.98
sys/arch/amd64/conf/GENERIC: revision 1.148
sys/arch/acorn26/conf/GENERIC: revision 1.50
sys/arch/dreamcast/conf/GENERIC: revision 1.78
sys/arch/mac68k/conf/GENERIC: revision 1.181
sys/arch/hp300/conf/GENERIC: revision 1.139
sys/arch/mmeye/conf/GENERIC: revision 1.88
sys/arch/news68k/conf/GENERIC: revision 1.88
sys/arch/mvme68k/conf/GENERIC: revision 1.71
sys/arch/acorn32/conf/GENERIC: revision 1.79
sys/arch/sparc/conf/GENERIC: revision 1.199
sys/arch/luna68k/conf/GENERIC: revision 1.78
sys/arch/bebox/conf/GENERIC: revision 1.105
sys/arch/macppc/conf/GENERIC: revision 1.256 via patch
sys/arch/x68k/conf/GENERIC: revision 1.134
sys/arch/sun3/conf/GENERIC: revision 1.138
sys/arch/newsmips/conf/GENERIC: revision 1.98
Add pseudo-device agr to all GENERIC kernels where it might make sense
(commented out in some).
 1.114.6.2 03-Oct-2007  garbled Sync with HEAD
 1.114.6.1 26-Jun-2007  garbled Sync with HEAD.
 1.115.8.2 04-Nov-2007  jmcneill Sync with HEAD.
 1.115.8.1 09-Aug-2007  jmcneill Sync with HEAD.
 1.115.6.2 28-Feb-2008  rjs Sync with HEAD.
 1.115.6.1 26-Dec-2007  rjs Sync with HEAD.
 1.115.4.1 15-Aug-2007  skrll Sync with HEAD.
 1.115.2.1 07-Aug-2007  matt Sync with HEAD.
 1.116.8.1 13-Nov-2007  bouyer Sync with HEAD
 1.116.4.4 23-Mar-2008  matt sync with HEAD
 1.116.4.3 28-Jan-2008  matt Given the that there are only 4 IPLs (ignoring soft IPLs), a number of
cleanups can be done:
Remove _SPL_* aliases.
Don't store irqmasks in ci_cpl, just make it an ipl level.
Add fast softint switching support.
 1.116.4.2 09-Jan-2008  matt sync with HEAD
 1.116.4.1 06-Nov-2007  matt sync with HEAD
 1.116.2.2 20-Jan-2008  chris Sync to HEAD.
 1.116.2.1 01-Jan-2008  chris Sync with HEAD.
 1.118.8.2 20-Jan-2008  bouyer Sync with HEAD
 1.118.8.1 02-Jan-2008  bouyer Sync with HEAD
 1.118.2.1 18-Feb-2008  mjf Sync with HEAD.
 1.120.12.3 10-Oct-2008  skrll Sync with HEAD.
 1.120.12.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.120.12.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.120.10.3 11-Aug-2010  yamt sync with head.
 1.120.10.2 11-Mar-2010  yamt sync with head
 1.120.10.1 04-May-2009  yamt sync with head.
 1.120.8.1 04-Jun-2008  yamt sync with head
 1.120.6.3 17-Jan-2009  mjf Sync with HEAD.
 1.120.6.2 28-Sep-2008  mjf Sync with HEAD.
 1.120.6.1 02-Jun-2008  mjf Sync with HEAD.
 1.121.4.2 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.121.4.1 19-Oct-2008  haad Sync with HEAD.
 1.124.2.2 03-Mar-2009  skrll Sync with HEAD.
 1.124.2.1 19-Jan-2009  skrll Sync with HEAD.
 1.128.4.3 21-Apr-2011  rmind sync with head
 1.128.4.2 05-Mar-2011  rmind sync with head
 1.128.4.1 30-May-2010  rmind sync with head
 1.128.2.2 17-Aug-2010  uebayasi Sync with HEAD.
 1.128.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.133.4.1 08-Feb-2011  bouyer Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
 1.133.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.135.2.4 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.135.2.3 16-Jan-2013  yamt sync with (a bit old) head
 1.135.2.2 30-Oct-2012  yamt sync with head
 1.135.2.1 17-Apr-2012  yamt sync with head
 1.136.2.2 11-Mar-2012  mrg sync to latest -current
 1.136.2.1 18-Feb-2012  mrg merge to -current.
 1.138.2.1 12-Jun-2012  riz Pull up following revision(s) (requested by abs in ticket #311):
sys/arch/netwinder/conf/GENERIC: revision 1.112
sys/arch/i386/conf/GENERIC: revision 1.1074
sys/arch/atari/conf/MILAN.in: revision 1.26
sys/arch/zaurus/conf/GENERIC: revision 1.54
sys/arch/shark/conf/GENERIC: revision 1.101
sys/arch/hpcmips/conf/MPC303: revision 1.60
sys/arch/i386/conf/XEN3_DOM0: revision 1.67
sys/arch/evbarm/conf/MPCSA_GENERIC: revision 1.29
sys/arch/vax/conf/GENERIC: revision 1.181
sys/arch/sparc/conf/KRUPS: revision 1.59
sys/arch/evbarm/conf/BEAGLEBOARD: revision 1.27
sys/arch/i386/conf/INSTALL_FLOPPY: revision 1.16
sys/arch/prep/conf/GENERIC: revision 1.163
sys/arch/hpcmips/conf/GENERIC: revision 1.216
sys/arch/sparc/conf/TADPOLE3GX: revision 1.56
sys/arch/shark/conf/INSTALL: revision 1.50
sys/arch/next68k/conf/GENERIC: revision 1.127
sys/arch/evbppc/conf/VIRTEX_GSRD2: revision 1.16
sys/arch/evbppc/conf/VIRTEX_DFC: revision 1.17
sys/arch/evbppc/conf/EXPLORA451: revision 1.48
sys/arch/bebox/conf/INSTALL: revision 1.54
sys/arch/next68k/conf/SLAB: revision 1.46
sys/arch/i386/conf/GENERIC_TINY: revision 1.132
sys/arch/bebox/conf/GENERIC: revision 1.131
sys/arch/amd64/conf/XEN3_DOM0: revision 1.84
sys/arch/amd64/conf/GENERIC: revision 1.356
sys/arch/evbarm/conf/MMNET_GENERIC: revision 1.6
share/man/man4/wscons.4: revision 1.31
sys/arch/hpcmips/conf/TX3912: revision 1.79
sys/arch/evbarm/conf/ARMADILLO9: revision 1.35
sys/arch/hpcsh/conf/GENERIC: revision 1.97
sys/arch/i386/conf/ALL: revision 1.339
sys/arch/hpcmips/conf/TX3922: revision 1.93
sys/arch/cats/conf/INSTALL: revision 1.82
sys/arch/sparc64/conf/GENERIC: revision 1.151
sys/arch/i386/conf/INSTALL_TINY: revision 1.135
sys/arch/evbppc/conf/VIRTEX_GSRD1: revision 1.15
sys/arch/evbarm/conf/TS7200: revision 1.49
sys/arch/hpcmips/conf/VR41XX: revision 1.55
sys/arch/hp700/conf/GENERIC: revision 1.115
sys/arch/cats/conf/GENERIC: revision 1.140
Mention wsconscfg(8) needs WSDISPLAY_COMPAT_USL
If a port is going to have wscons for virtual terminals then it really make=
s
sense to enable WSDISPLAY_COMPAT_USL so the system can switch between the
virtual terminals...
Adjust the WSDISPLAY_COMPAT_USL comment to mention wsconscfg, to at least
give a hint that its not just for third party compat. No functional change.
 1.140.2.5 03-Dec-2017  jdolecek update from HEAD
 1.140.2.4 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.140.2.3 23-Jun-2013  tls resync from head
 1.140.2.2 25-Feb-2013  tls resync with head
 1.140.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.148.2.1 28-Aug-2013  rmind sync with head
 1.149.4.1 10-Aug-2014  tls Rebase.
 1.150.2.2 18-Nov-2014  snj Pull up following revision(s) (requested by manu in ticket #251):
sys/arch/acorn26/conf/GENERIC: revision 1.81
sys/arch/acorn32/conf/GENERIC: revision 1.116
sys/arch/alpha/conf/GENERIC: revision 1.362
sys/arch/amd64/conf/ALL: revision 1.23
sys/arch/amd64/conf/GENERIC: revision 1.404
sys/arch/amd64/conf/XEN3_DOM0: revision 1.112
sys/arch/amd64/conf/XEN3_DOMU: revision 1.60
sys/arch/amiga/conf/GENERIC.in: revision 1.129
sys/arch/amiga/conf/GENERIC: revision 1.311
sys/arch/amigappc/conf/GENERIC: revision 1.24
sys/arch/arc/conf/GENERIC: revision 1.184
sys/arch/bebox/conf/GENERIC: revision 1.145
sys/arch/cats/conf/GENERIC: revision 1.155
sys/arch/cesfic/conf/GENERIC: revision 1.65
sys/arch/cobalt/conf/GENERIC: revision 1.147
sys/arch/dreamcast/conf/GENERIC: revision 1.121
sys/arch/emips/conf/GENERIC: revision 1.15
sys/arch/epoc32/conf/GENERIC: revision 1.8
sys/arch/ews4800mips/conf/GENERIC: revision 1.51
sys/arch/hp300/conf/GENERIC: revision 1.190
sys/arch/hpcmips/conf/GENERIC: revision 1.229
sys/arch/hpcsh/conf/GENERIC: revision 1.106
sys/arch/hppa/conf/GENERIC: revision 1.6
sys/arch/i386/conf/ALL: revision 1.389
sys/arch/i386/conf/GENERIC: revision 1.1118
sys/arch/i386/conf/XEN3_DOM0: revision 1.93
sys/arch/i386/conf/XEN3_DOMU: revision 1.65
sys/arch/ibmnws/conf/GENERIC: revision 1.46
sys/arch/iyonix/conf/GENERIC: revision 1.88
sys/arch/landisk/conf/GENERIC: revision 1.45
sys/arch/luna68k/conf/GENERIC: revision 1.119
sys/arch/mac68k/conf/GENERIC: revision 1.220
sys/arch/macppc/conf/GENERIC: revision 1.320
sys/arch/macppc/conf/MAMBO: revision 1.24
sys/arch/macppc/conf/POWERMAC_G5: revision 1.25
sys/arch/mipsco/conf/GENERIC: revision 1.88
sys/arch/mmeye/conf/GENERIC: revision 1.120
sys/arch/mvme68k/conf/GENERIC: revision 1.94
sys/arch/mvmeppc/conf/GENERIC: revision 1.24
sys/arch/netwinder/conf/GENERIC: revision 1.126
sys/arch/news68k/conf/GENERIC: revision 1.125
sys/arch/newsmips/conf/GENERIC: revision 1.129
sys/arch/next68k/conf/GENERIC: revision 1.139
sys/arch/ofppc/conf/GENERIC: revision 1.157
sys/arch/pmax/conf/GENERIC64: revision 1.21
sys/arch/pmax/conf/GENERIC: revision 1.185
sys/arch/prep/conf/GENERIC: revision 1.174
sys/arch/rs6000/conf/GENERIC: revision 1.33
sys/arch/sandpoint/conf/GENERIC: revision 1.88
sys/arch/sbmips/conf/GENERIC: revision 1.101
sys/arch/sgimips/conf/GENERIC32_IP12: revision 1.28
sys/arch/sgimips/conf/GENERIC32_IP2x: revision 1.104
sys/arch/sgimips/conf/GENERIC32_IP3x: revision 1.106
sys/arch/shark/conf/GENERIC: revision 1.121
sys/arch/sparc/conf/GENERIC: revision 1.248
sys/arch/sparc/conf/TADPOLE3GX: revision 1.65
sys/arch/sparc64/conf/GENERIC: revision 1.177
sys/arch/sparc64/conf/NONPLUS64: revision 1.44
sys/arch/sun2/conf/GENERIC: revision 1.94
sys/arch/sun3/conf/GENERIC: revision 1.171
sys/arch/vax/conf/GENERIC: revision 1.193
sys/arch/vax/conf/VAX780: revision 1.19
sys/arch/x68k/conf/GENERIC: revision 1.179
sys/arch/zaurus/conf/GENERIC: revision 1.65
sys/ufs/files.ufs: revision 1.38
Remove unused extended attributes kernel options

As Masao Uebayashi pointed to me, UFS_EXTATTR_AUTOSTART, LFS_EXTATTR_AUTOSTART
and UFS_EXTATTR_AUTOCREATE are not used anywhere in the code. Remove them
as they have been obsolete for a long time:
UFS_EXTATTR_AUTOSTART was replaced by mount -o extattr
LFS_EXTATTR_AUTOSTART was created to match obsolete UFS_EXTATTR_AUTOSTART
UFS_EXTATTR_AUTOCREATE was replaced by sysctl vfs.ffs.extattr_autocreate
 1.150.2.1 14-Nov-2014  martin Pull up following revision(s) (requested by manu in ticket #232):
sys/arch/next68k/conf/GENERIC: revision 1.138
sys/arch/cobalt/conf/GENERIC: revision 1.146
sys/arch/mvme68k/conf/GENERIC: revision 1.93
sys/arch/vax/conf/VAX780: revision 1.18
sys/arch/newsmips/conf/GENERIC: revision 1.128
sys/arch/luna68k/conf/GENERIC: revision 1.118
sys/arch/sbmips/conf/GENERIC: revision 1.100
sys/arch/pmax/conf/GENERIC: revision 1.184
sys/arch/alpha/conf/GENERIC: revision 1.361
sys/arch/sparc64/conf/GENERIC: revision 1.176
sys/arch/sun3/conf/GENERIC: revision 1.170
sys/arch/shark/conf/GENERIC: revision 1.120
sys/arch/landisk/conf/GENERIC: revision 1.44
sys/arch/bebox/conf/GENERIC: revision 1.144
sys/arch/sparc64/conf/NONPLUS64: revision 1.43
sys/arch/sandpoint/conf/GENERIC: revision 1.87
sys/arch/emips/conf/GENERIC: revision 1.14
sys/arch/amd64/conf/XEN3_DOM0: revision 1.111
sys/arch/dreamcast/conf/GENERIC: revision 1.120
sys/arch/cesfic/conf/GENERIC: revision 1.64
sys/arch/mmeye/conf/GENERIC: revision 1.119
sys/arch/epoc32/conf/GENERIC: revision 1.7
sys/arch/x68k/conf/GENERIC: revision 1.178
sys/arch/iyonix/conf/GENERIC: revision 1.87
sys/arch/sun2/conf/GENERIC: revision 1.93
sys/arch/ews4800mips/conf/GENERIC: revision 1.50
sys/arch/amd64/conf/XEN3_DOMU: revision 1.59
sys/arch/acorn26/conf/GENERIC: revision 1.80
sys/arch/acorn32/conf/GENERIC: revision 1.115
sys/arch/macppc/conf/POWERMAC_G5: revision 1.24
sys/arch/i386/conf/GENERIC: revision 1.1117
sys/arch/arc/conf/GENERIC: revision 1.183
sys/arch/cats/conf/GENERIC: revision 1.154
sys/arch/amiga/conf/GENERIC.in: revision 1.128
sys/arch/zaurus/conf/GENERIC: revision 1.64
sys/arch/netwinder/conf/GENERIC: revision 1.125
sys/arch/hppa/conf/GENERIC: revision 1.5
sys/arch/mvmeppc/conf/GENERIC: revision 1.23
sys/arch/macppc/conf/GENERIC: revision 1.319
sys/arch/amiga/conf/GENERIC: revision 1.310
sys/arch/pmax/conf/GENERIC64: revision 1.20
sys/arch/macppc/conf/MAMBO: revision 1.23
sys/arch/sgimips/conf/GENERIC32_IP12: revision 1.27
sys/arch/amigappc/conf/GENERIC: revision 1.23
sys/arch/amd64/conf/GENERIC: revision 1.403
sys/arch/ofppc/conf/GENERIC: revision 1.156
sys/arch/mac68k/conf/GENERIC: revision 1.219
sys/arch/i386/conf/XEN3_DOMU: revision 1.64
sys/arch/mipsco/conf/GENERIC: revision 1.87
sys/arch/hp300/conf/GENERIC: revision 1.189
sys/arch/vax/conf/GENERIC: revision 1.192
sys/arch/news68k/conf/GENERIC: revision 1.124
sys/arch/ibmnws/conf/GENERIC: revision 1.45
sys/arch/hpcsh/conf/GENERIC: revision 1.105
sys/arch/sparc/conf/TADPOLE3GX: revision 1.64
sys/arch/i386/conf/XEN3_DOM0: revision 1.92
sys/arch/sparc/conf/GENERIC: revision 1.247
sys/arch/sgimips/conf/GENERIC32_IP3x: revision 1.105
sys/arch/prep/conf/GENERIC: revision 1.173
sys/arch/sgimips/conf/GENERIC32_IP2x: revision 1.103
sys/arch/rs6000/conf/GENERIC: revision 1.32
sys/arch/hpcmips/conf/GENERIC: revision 1.228
Support for UFS1 extended attributes in GENERIC and GENERIC-like kernels
This change just brings UFS1 extended attribute *support* in the kernel,
extended attributes are not enabled unless three conditions are met:
1) filesystem is UFS1 (newfs -O1)
2) .attribute/system and .attribute/user directories are created at fs root
3) filesystem is mounted with -o extattr
Some GENERIC kernels are obviously memory constrained, the extended
attributes options were not enabled for them, but just added commented out.
(kernel were considered memory constrained if QUOTA option was disabled)
 1.155.2.4 28-Aug-2017  skrll Sync with HEAD
 1.155.2.3 05-Feb-2017  skrll Sync with HEAD
 1.155.2.2 22-Apr-2016  skrll Sync with HEAD
 1.155.2.1 22-Sep-2015  skrll Sync with HEAD
 1.157.2.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.161.8.2 26-Jan-2018  martin Pull up following revision(s) (requested by sevan in ticket #510):
sys/arch/sun3/conf/GENERIC3X: revision 1.130
sys/arch/sparc64/conf/GENERIC: revision 1.203
sys/arch/news68k/conf/LIBERO: revision 1.66
sys/arch/amiga/conf/DRACO: revision 1.185
sys/arch/evbarm/conf/MV2120: revision 1.35
sys/arch/x68k/conf/GENERIC: revision 1.187
sys/arch/rs6000/conf/GENERIC: revision 1.39
sys/arch/news68k/conf/GENERIC_TINY: revision 1.86
sys/arch/i386/conf/XEN3_DOMU: revision 1.88
sys/arch/iyonix/conf/GENERIC: revision 1.97
sys/arch/evbarm64/conf/A64EMUL: revision 1.11
sys/arch/mvme68k/conf/GENERIC: revision 1.98
sys/arch/acorn32/conf/GENERIC: revision 1.124
sys/arch/i386/conf/XEN3_DOM0: revision 1.125
sys/arch/cobalt/conf/INSTALL: revision 1.65
sys/arch/macppc/conf/GENERIC_601: revision 1.16
sys/arch/hppa/conf/GENERIC: revision 1.17
sys/arch/amiga/conf/GENERIC.in: revision 1.137
sys/arch/sgimips/conf/GENERIC32_IP12: revision 1.33
sys/arch/netwinder/conf/GENERIC: revision 1.134
sys/arch/amd64/conf/XEN3_DOMU: revision 1.83
sys/arch/mac68k/conf/GENERIC: revision 1.225
sys/arch/arc/conf/RPC44: revision 1.54
sys/arch/mipsco/conf/GENERIC: revision 1.92
sys/arch/cats/conf/GENERIC: revision 1.166
sys/arch/amd64/conf/XEN3_DOM0: revision 1.145
sys/arch/amigappc/conf/GENERIC: revision 1.33
sys/arch/sun3/conf/GENERIC: revision 1.176
sys/arch/news68k/conf/GENERIC: revision 1.130
sys/arch/hpcsh/conf/GENERIC: revision 1.110
sys/arch/hp300/conf/GENERIC: revision 1.198
sys/arch/atari/conf/GENERIC.in: revision 1.115
sys/arch/sparc/conf/MRCOFFEE: revision 1.54
sys/arch/evbppc/conf/EXPLORA451: revision 1.62
sys/arch/cesfic/conf/GENERIC: revision 1.69
sys/arch/vax/conf/GENERIC: revision 1.204
sys/arch/sgimips/conf/GENERIC32_IP3x: revision 1.115
sys/arch/sgimips/conf/GENERIC32_IP2x: revision 1.112
sys/arch/sparc/conf/GENERIC: revision 1.258
sys/arch/next68k/conf/GENERIC: revision 1.145
sys/arch/evbarm/conf/MMNET_GENERIC: revision 1.34
sys/arch/prep/conf/GENERIC: revision 1.185
sys/arch/amiga/conf/INSTALL: revision 1.129
sys/arch/newsmips/conf/GENERIC: revision 1.133
sys/arch/cobalt/conf/GENERIC: revision 1.156
sys/arch/sun2/conf/GENERIC: revision 1.99
sys/arch/luna68k/conf/INSTALL: revision 1.25
sys/arch/amigappc/conf/NULL: revision 1.53
sys/arch/acorn26/conf/GENERIC: revision 1.85
sys/arch/vax/conf/VAX780: revision 1.25
sys/arch/luna68k/conf/GENERIC: revision 1.125
sys/arch/ews4800mips/conf/GENERIC: revision 1.56
sys/arch/macppc/conf/POWERMAC_G5: revision 1.29
sys/arch/arc/conf/GENERIC: revision 1.189
sys/arch/macppc/conf/MAMBO: revision 1.27
sys/arch/acorn32/conf/EB7500ATX: revision 1.64
sys/arch/pmax/conf/GENERIC: revision 1.196
sys/arch/pmax/conf/GENERIC64: revision 1.28
sys/arch/amiga/conf/GENERIC: revision 1.319
sys/arch/evbarm/conf/MPCSA_GENERIC: revision 1.55
sys/arch/macppc/conf/GENERIC: revision 1.339
sys/arch/emips/conf/GENERIC: revision 1.21
sys/arch/sandpoint/conf/GENERIC: revision 1.97
sys/arch/landisk/conf/GENERIC: revision 1.58
sys/arch/bebox/conf/GENERIC: revision 1.157
sys/arch/alpha/conf/GENERIC: revision 1.379
Alternate buffer queue strategies no longer considered experimental, update
description.
Discussed on tech-kern
http://mail-index.netbsd.org/tech-kern/2018/01/21/msg023002.html
 1.161.8.1 05-Jul-2017  martin Pull up following revision(s) (requested by skrll in ticket #83):
sys/arch/cats/cats/cats_machdep.c: revision 1.84
sys/arch/arm/footbridge/footbridge_io.c: revision 1.23
sys/arch/cats/conf/GENERIC: revision 1.162
Use devmap if available
Now that bus_space can use devmap - use it for early console
Comment out a bunch of thing so that a GENERIC kernel boots on my cats
with cyclone firmware
 1.166.4.3 21-Apr-2020  martin Sync with HEAD
 1.166.4.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.166.4.1 10-Jun-2019  christos Sync with HEAD
 1.166.2.3 26-Dec-2018  pgoyette Sync with HEAD, resolve a few conflicts
 1.166.2.2 30-Sep-2018  pgoyette Ssync with HEAD
 1.166.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.173.4.2 29-Feb-2020  ad Sync with head.
 1.173.4.1 25-Jan-2020  ad Sync with head.
 1.178.4.1 20-Apr-2020  bouyer Sync with HEAD
 1.183.6.1 01-Aug-2021  thorpej Sync with HEAD.
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 03-Jun-2005  chris branches: 1.1.8;
Add easy to build kernels for booting from ABLE. Long term it would be
nice to make ABLE the default, as cats machines can take 256MB of RAM with
recent ABLE firmware.

(Note they just include GENERIC/INSTALL as appropriate and add ABLE
options)
 1.1.8.2 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.1.8.1 03-Jun-2005  skrll file GENERIC.ABLE was added on branch ktrace-lwp on 2005-11-10 13:55:47 +0000
 1.115 18-Apr-2020  skrll PMAP_DEBUG has been deleted on arm
 1.114 25-Jan-2020  thorpej branches: 1.114.4;
Retire "le* at pci?" from the shipped kernel configs:
- If the config had both an le@pci and a pcn, simply remove le@pci
(pcn would match at a higher priority anyway).
- If the config had le@pci enabled, but no pcn, change le@pci to pcn.
- If the config had le@pci commented out, but no pcn, change le@pci
to pcn and leave it commented out.

The pcn driver supports more chips than le@pci and does DMA directly
to/from mbufs rather than memory copies.
 1.113 20-Jan-2020  thorpej Remove FDDI support.
 1.112 19-Jan-2020  thorpej Remove commented out "de* at pci? ..." (this is the only kernel config
in the tree with any reference to that driver).
 1.111 19-Jan-2020  thorpej Remove HIPPI support and the esh(4) driver that uses it. There have not
been any users of HIPPI for some time, and it is unlikely to be resurrected.
 1.110 19-Jan-2020  thorpej Remove the strip(4) - Starmode Radio IP - pseudo-device driver. It is
long since obsolete.
 1.109 07-Feb-2019  mrg branches: 1.109.6;
bump ramdisk sizes by 100kb for GCC 7 bloaty.
 1.108 06-Feb-2019  rin Add ure(4) to kernel config files. Also add PHY drivers where necessary.
 1.107 12-Dec-2018  maxv Remove references to "lmc" in the kernel configurations.
 1.106 06-Sep-2018  maxv Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.
 1.105 25-Aug-2018  rin Add (commented out) mue(4) to where appropriate.
Also add MII/PHY drivers for USB NICs if missing.
 1.104 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.103 14-Sep-2017  mrg branches: 1.103.2; 1.103.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.102 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 3.
 1.101 13-Dec-2016  christos wildcard speaker attachments, now that we can handle many of them.
 1.100 10-Dec-2016  christos remove VAUDIOSPEAKER for now, will be done differently.
 1.99 09-Dec-2016  christos kill PCPPISPEAKER
 1.98 08-Dec-2016  nat Add a synthesized pc beeper and keyboard bell for platforms with an audio
device.
 1.97 05-Sep-2016  jakllsch Increase size of cats installation memory disk by 100Ki.

Or: We shouldn't let the cats out of the bag.
 1.96 21-Aug-2015  uebayasi branches: 1.96.2;
Add `pseudo-device ksyms' where `options DDB' is used, because
config(1)/config(5) can't handle module dependency correctly at this
moment.

(This is another proof that shared file definition (`file xxx.c a|b')
is a bad idea.)
 1.95 08-Aug-2015  maxv Remove KMEMSTATS.
 1.94 23-Aug-2014  dholland branches: 1.94.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.93 27-Jul-2014  dholland "internally consistency checks" -> "internal consistency checks"
 1.92 02-Mar-2014  joerg branches: 1.92.2;
Clang needs a slightly larger MD image, so bump the size to 2300k.
 1.91 23-Feb-2014  skrll Bump MD size. Verified working.
 1.90 30-Jun-2013  rmind G/C PFIL_HOOKS from the kernel configs.
 1.89 05-Jun-2013  christos branches: 1.89.2;
remove obsolete networking options
 1.88 27-Apr-2013  christos more bogus number removal
 1.87 27-Apr-2013  christos the bogus number police
 1.86 27-Apr-2013  christos remove confusing numeric locators where they are unused.
 1.85 02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.84 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.83 06-Dec-2012  msaitoh Remove "#options ARMFPE"
 1.82 05-Jun-2012  abs branches: 1.82.2;
Adjust the WSDISPLAY_COMPAT_USL comment to mention wsconscfg, to at least
give a hint that its not just for third party compat. No functional change.
 1.81 18-Dec-2011  dholland branches: 1.81.2;
WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.80 22-Nov-2011  tls branches: 1.80.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.79 30-Jun-2011  wiz branches: 1.79.2;
dependant -> dependent
 1.78 06-Mar-2011  bouyer merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.
 1.77 23-Nov-2010  hannken branches: 1.77.2; 1.77.4;
Remove unused count from pseudo-device md.
 1.76 16-Apr-2010  pooka Remove unused count (invariably "4") from pseudo-device fss.
 1.75 07-Mar-2010  plunky branches: 1.75.2;
add uhso(4) device where appropriate
- follow the lead of other USB driver declarations wrt commented out
- (cross-)build tested all these kernels
 1.74 05-Dec-2009  pooka branches: 1.74.2;
Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs. User functionality remains the same.
 1.73 06-Mar-2009  joerg Remove SHMMAXPGS from all kernel configs. Dynamically compute the
initial limit as 1/4 of the physical memory. Ensure the limit is at
least 1024 pages, the old default on most platforms.
 1.72 06-Feb-2009  jym branches: 1.72.2;
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.71 21-Jan-2009  he Pare down the size of the INSTALL kernel images. This was done by:

1) Removing chio, rcmd, restore, scsictl, shutdown and slattach
from the ramdisk images
2) Removing the isp* driver from the INSTALL kernel configs
3) Reducing the memory disk and ramdisk size back from 4400 to 4200 blocks

As a result, also remove mention as QLogic ISP controllers as being
supported by the installation.

With this, the INSTALL kernel images should once again be usable;
the firmware apparently imposes a size limit around 5MB on the files
it will load.

Longer-term, this port probably ought to get it's own stand-alone boot
loader, so that it might use e.g. loadable modules.
 1.70 18-Jan-2009  he Bump the ramdisk size so that the contents fits again.
 1.69 24-Nov-2008  ad Remove softdep, pass 1. We are focused on improving journalling.

Proposed on tech-kern@.
 1.68 12-Nov-2008  ad Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.67 31-Jul-2008  simonb branches: 1.67.2; 1.67.4;
Add "options WAPBL" to standard GENERIC/INSTALL type configs.
 1.66 30-May-2008  tsutsui branches: 1.66.4;
Add options COMPAT_40 to files which have options COMPAT_30.
 1.65 19-Jan-2008  chris branches: 1.65.6; 1.65.8; 1.65.10; 1.65.12;
Remove arm support for IPKDB.

It hasn't worked since arm was broken out from arm32 in Jan 2001, and
no-one has noticed or cared to fix it.
 1.64 14-Mar-2007  drochner branches: 1.64.12; 1.64.16; 1.64.18; 1.64.24; 1.64.30;
It doesn't make sense to specify "configuration" and "interface"
locators for uhub because a hub can't have sub-devices.
This might be sanity-checked eventually.
Same for ubt now after the change to device attachment.
 1.63 02-Oct-2006  chs branches: 1.63.4; 1.63.8; 1.63.10;
remove MALLOC_NOINLINE, it doesn't do anything anymore.
 1.62 27-Sep-2006  manu - Document COMPAT_15 as doing nothing
- Add COMPAT_15 to all the kernel that had COMPAT_14, for the sake of coherency
- Remove the only occurences of #ifdef COMPAT_15 in the tree: for the ARM
ports, COMPAT_15 was always used in conjunction with EXEC_AOUT. Only EXEC_AOUT
matters here.

This address kern/18407
 1.61 19-Sep-2006  he Convert the NetBSD/cats port to use generic TODR.

This gets rid of the now-unneded "todclock" and "todservice" attributes
from the footbridge device files, which should allow netwinder to build
again after its conversion to generic TODR.

Resulting kernel verified to boot up OK on gxemul (after my recent
fixes of the gxemul package to emulate free-running timers).
 1.60 26-Aug-2006  christos branches: 1.60.2; 1.60.4;
PR/34283: Gene ENonymous: Add IPFILTER_LOOKUP to the default kernel options
Also remove CCITT,NS,NIP
 1.59 14-Aug-2006  skrll s/adpater/adapter/

Prompted by PR/34195
 1.58 05-Feb-2006  cube branches: 1.58.2;
Remove 'count' argument for pseudo-devices that ignore it
(vnd, bpfilter, ppp, gif, gre, tun, sl, strip, faith, stf).
 1.57 04-Feb-2006  rpaulo bpfilter doesn't accept count anymore.
 1.56 20-Dec-2005  thorpej branches: 1.56.2; 1.56.4; 1.56.6;
Remove the tablet line discipline.
 1.55 07-Dec-2005  tsutsui Remove obsolete options VNODE_OP_NOINLINE.
 1.54 07-Dec-2005  tsutsui Adjust comments for options FFS_NO_SNAPSHOT.

XXX: This option should be mentioned in options(4).
 1.53 19-Aug-2005  christos Enable ptyfs by default on the non-install and non small/tiny/ramdisk kernels
 1.52 19-Aug-2005  christos 64 bit inode changes.
 1.51 05-Aug-2005  skrll Add (commented out) ucycom to various kernel configs.
 1.50 07-Jul-2005  tron Add (commented out) IPSEC_NAT_T option.
 1.49 03-Jun-2005  chris branches: 1.49.2;
Remove long dead max_processes variable and PMAP_STATIC_L1S from config
files.
These options haven't been needed since the arm pmap was switched to using
domains.
 1.48 31-May-2005  tron Remove attachment for the piixide(4) driver from all non-x86 kernel
configurations because Intel IDE disk controllers only exist as part
of Intel chipsets for x86 systems.
 1.47 25-Mar-2005  cube Add attimer(4) configurations everywhere pcppi(4) exists, with the
following rule:
If a pcppi device is enabled for an attachment, enable an attimer for the
same attachement, otherwise comment it.
 1.46 25-Feb-2005  simonb branches: 1.46.2;
Add COMPAT_20 (and COMPAT_16 in some cases) to kernel config files
that didn't have those options but had other earlier compat options.
 1.45 18-Feb-2005  dsl Invert FFS_SNAPSHOT to FFS_NO_SNAPSHOT
 1.44 11-Feb-2005  dsl Add 'option FFS_SNAPSHOT' to most of the config files.
Commented out for kernels that appear to hace space constraints.
 1.43 31-Jan-2005  hannken Add file system snapshots to kernel configs.

- Ffs internal snapshots get compiled in unconditionally.

- File system snapshot device fss(4) added to all kernel configs that
have a disk. Device is commented out on all non-GENERIC kernels.

Reviewed by: Jason Thorpe <thorpej@netbsd.org>
 1.42 24-Nov-2004  bouyer branches: 1.42.4; 1.42.6;
pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).
 1.41 10-Nov-2004  christos Add COMPAT_BSDPTY to the rest of the config files.
 1.40 23-Oct-2004  augustss s/uax/axe/
 1.39 04-Sep-2004  manu IPv4 PIM support, based on a submission from Pavlin Radoslavov posted on
tech-net@
 1.38 15-Jul-2004  atatat Add "options SYSCTL_INCLUDE_DESCR" to a lot of configs, but commented
out in most of them.
 1.37 13-Feb-2004  wiz branches: 1.37.2;
Uppercase CPU, plural is CPUs.
 1.36 14-Dec-2003  thorpej Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).
 1.35 13-Dec-2003  thorpej Split out the Silicon Image SATALink support into its own driver,
"satalink".
 1.34 21-Oct-2003  skrll Rename dsrtc to ds1687rtc to avoid conflicting with the MI i2c
ds1307 driver.

Hi Jason.
 1.33 21-Oct-2003  skrll Remove the channel locator in atapibus* at umass?
 1.32 18-Oct-2003  lukem Use one 'atabus* at ata?' instead of multiple 'atabus* at FOOide? channel ?'
Use 'atapibus* at atapi?' instead of 'atapibus* at atabus?'
 1.31 08-Oct-2003  bouyer Add new per-chip pciide drivers.
 1.30 08-Oct-2003  bouyer Add atabus.
 1.29 13-Sep-2003  chris Add COMPAT_16 to most arm based kernels. Mainly in preperation for doing
SA_SIGINFO work.
 1.28 06-Sep-2003  itojun add rnd(4) device to installation media.
necessary for many purposes, including password seeding, tcp sequence number,
and more. see tech-security
 1.27 04-May-2003  gmcgarry branches: 1.27.2;
Add wsfont. Addresses PR#18388.
 1.26 10-Apr-2003  christos Bye Bye UCONSOLE
 1.25 23-Mar-2003  chris Increase the INSTALL kernel's memory disk by 200k, in advance of some
additions to the ramdisk.
 1.24 16-Feb-2003  augustss Add uax(4) (and url(4) in some cases).
 1.23 27-Oct-2002  tsutsui Add fmv and ne at isapnp, which are also working on cats.
 1.22 18-Sep-2002  lukem enable USERCONF by default; it's small and extremely useful to have available.
 1.21 05-Jul-2002  abs Ensure all INSTALL config files consistantly include PIPE_SOCKETPAIR,
MALLOC_NOINLINE, and VNODE_OP_NOINLINE. The exceptions are when they
include another config files that already defines the options, or if
they are for an embedded board, just define a few extra options, and
do not already define PIPE_SOCKETPAIR.
 1.20 14-May-2002  chris branches: 1.20.2;
Make INSTALL smaller, so it fits in 4MB, removed:
USB (controller and devices)
INET6
tlp, swap it with de, as tlp still has issues on cats.
 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 17-Apr-2002  mycroft Switch from de to tlp by default.
 1.17 15-Apr-2002  skrll Nuke pmsi
 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 10-Apr-2002  thorpej Remove FOOTBRIDGE.
 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 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 16-Feb-2002  skrll Enable ep* at pci here also.
 1.11 10-Feb-2002  wiz Update description for icsphy.
 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 28-Dec-2001  augustss Update for new uhidev device attachment.
 1.8 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.7 13-Nov-2001  augustss branches: 1.7.2;
The wsmux pseudo device does not need a count anymore.
 1.6 08-Jul-2001  abs branches: 1.6.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.5 20-Jun-2001  chris Remove defopt EBSA285.
Move the files from footbridge that are cats specific.
Remove EBSA285 kernel as people should be able to use the generic cats kernel for EBSA285 systems.
 1.4 16-Jun-2001  tsutsui Add iha at pci, which just works on my CATS.
 1.3 16-Jun-2001  tsutsui Enable some devices which I am/was using:
epic* at pci?
fxp* at pci?
sip* at pci?
tlp* at pci?
inphys* at mii?
qsphys* at mii?
 1.2 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.1 22-May-2001  chris Add installable CATS kernel
 1.6.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.6.2.5 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.6.2.4 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.6.2.3 16-Mar-2002  jdolecek Catch up with -current.
 1.6.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.6.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.7.2.9 11-Nov-2002  nathanw Catch up to -current
 1.7.2.8 18-Oct-2002  nathanw Catch up to -current.
 1.7.2.7 01-Aug-2002  nathanw Catch up to -current.
 1.7.2.6 20-Jun-2002  nathanw Catch up to -current.
 1.7.2.5 17-Apr-2002  nathanw Catch up to -current.
 1.7.2.4 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.7.2.3 28-Feb-2002  nathanw Catch up to -current.
 1.7.2.2 08-Jan-2002  nathanw Catch up to -current.
 1.7.2.1 13-Nov-2001  nathanw file INSTALL was added on branch nathanw_sa on 2002-01-08 00:23:48 +0000
 1.20.2.1 16-Jul-2002  gehenna catch up with -current.
 1.27.2.12 11-Dec-2005  christos Sync with head.
 1.27.2.11 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.27.2.10 01-Apr-2005  skrll Sync with HEAD.
 1.27.2.9 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.27.2.8 15-Feb-2005  skrll Sync with HEAD.
 1.27.2.7 04-Feb-2005  skrll Sync with HEAD.
 1.27.2.6 29-Nov-2004  skrll Sync with HEAD.
 1.27.2.5 14-Nov-2004  skrll Sync with HEAD.
 1.27.2.4 02-Nov-2004  skrll Sync with HEAD.
 1.27.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.27.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.27.2.1 03-Aug-2004  skrll Sync with HEAD
 1.37.2.1 15-Jul-2004  he branches: 1.37.2.1.2;
Pull up revision 1.38 (requested by atatat in ticket #663):
Add "options SYSCTL_INCLUDE_DESCR" to a lot of configurations,
but commented out in most of them.
 1.37.2.1.2.1 02-Apr-2005  he Pull up revision 1.42 (requested by bouyer in ticket #1019):
Add pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) series of
controllers.
 1.42.6.3 26-Mar-2005  yamt sync with head.
 1.42.6.2 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.42.6.1 12-Feb-2005  yamt sync with head.
 1.42.4.1 29-Apr-2005  kent sync with -current
 1.46.2.2 18-Jul-2005  riz Pull up revision 1.50 (requested by tron in ticket #566):
Add (commented out) IPSEC_NAT_T option.
 1.46.2.1 01-Jun-2005  riz Pull up revision 1.48 (requested by tron in ticket #362):
Remove attachment for the piixide(4) driver from all non-x86 kernel
configurations because Intel IDE disk controllers only exist as part
of Intel chipsets for x86 systems.
 1.49.2.4 21-Jan-2008  yamt sync with head
 1.49.2.3 03-Sep-2007  yamt sync with head.
 1.49.2.2 30-Dec-2006  yamt sync with head.
 1.49.2.1 21-Jun-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.56.2.1 18-Feb-2006  yamt sync with head.
 1.58.2.1 03-Sep-2006  yamt sync with head.
 1.60.4.1 22-Oct-2006  yamt sync with head
 1.60.2.1 18-Nov-2006  ad Sync with head.
 1.63.10.1 11-Jul-2007  mjf Sync with head.
 1.63.8.1 10-Apr-2007  ad Sync with head.
 1.63.4.1 24-Mar-2007  yamt sync with head.
 1.64.30.1 20-Jan-2008  bouyer Sync with HEAD
 1.64.24.1 18-Feb-2008  mjf Sync with HEAD.
 1.64.18.1 23-Mar-2008  matt sync with HEAD
 1.64.16.1 20-Jan-2008  chris Sync to HEAD.
 1.64.12.1 28-Feb-2008  rjs Sync with HEAD.
 1.65.12.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.65.12.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.65.10.3 11-Aug-2010  yamt sync with head.
 1.65.10.2 11-Mar-2010  yamt sync with head
 1.65.10.1 04-May-2009  yamt sync with head.
 1.65.8.1 04-Jun-2008  yamt sync with head
 1.65.6.3 17-Jan-2009  mjf Sync with HEAD.
 1.65.6.2 28-Sep-2008  mjf Sync with HEAD.
 1.65.6.1 02-Jun-2008  mjf Sync with HEAD.
 1.66.4.2 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.66.4.1 19-Oct-2008  haad Sync with HEAD.
 1.67.4.1 22-Jan-2009  snj Pull up following revision(s) (requested by he in ticket #295):
distrib/cats/ramdisk/list: revision 1.10
distrib/notes/cats/hardware: revision 1.6
sys/arch/cats/conf/INSTALL: revision 1.71 via patch
Pare down the size of the INSTALL kernel images. This was done by:
1) Removing chio, rcmd, restore, scsictl, shutdown and slattach
from the ramdisk images
2) Removing the isp* driver from the INSTALL kernel configs
3) Reducing the memory disk and ramdisk size back from 4400 to 4200 blocks
As a result, also remove mention as QLogic ISP controllers as being
supported by the installation.
With this, the INSTALL kernel images should once again be usable;
the firmware apparently imposes a size limit around 5MB on the files
it will load.
Longer-term, this port probably ought to get its own stand-alone boot
loader, so that it might use e.g. loadable modules.
 1.67.2.3 28-Apr-2009  skrll Sync with HEAD.
 1.67.2.2 03-Mar-2009  skrll Sync with HEAD.
 1.67.2.1 19-Jan-2009  skrll Sync with HEAD.
 1.72.2.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.74.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.75.2.3 21-Apr-2011  rmind sync with head
 1.75.2.2 05-Mar-2011  rmind sync with head
 1.75.2.1 30-May-2010  rmind sync with head
 1.77.4.1 08-Feb-2011  bouyer Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
 1.77.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.79.2.4 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.79.2.3 16-Jan-2013  yamt sync with (a bit old) head
 1.79.2.2 30-Oct-2012  yamt sync with head
 1.79.2.1 17-Apr-2012  yamt sync with head
 1.80.2.1 18-Feb-2012  mrg merge to -current.
 1.81.2.1 12-Jun-2012  riz Pull up following revision(s) (requested by abs in ticket #311):
sys/arch/netwinder/conf/GENERIC: revision 1.112
sys/arch/i386/conf/GENERIC: revision 1.1074
sys/arch/atari/conf/MILAN.in: revision 1.26
sys/arch/zaurus/conf/GENERIC: revision 1.54
sys/arch/shark/conf/GENERIC: revision 1.101
sys/arch/hpcmips/conf/MPC303: revision 1.60
sys/arch/i386/conf/XEN3_DOM0: revision 1.67
sys/arch/evbarm/conf/MPCSA_GENERIC: revision 1.29
sys/arch/vax/conf/GENERIC: revision 1.181
sys/arch/sparc/conf/KRUPS: revision 1.59
sys/arch/evbarm/conf/BEAGLEBOARD: revision 1.27
sys/arch/i386/conf/INSTALL_FLOPPY: revision 1.16
sys/arch/prep/conf/GENERIC: revision 1.163
sys/arch/hpcmips/conf/GENERIC: revision 1.216
sys/arch/sparc/conf/TADPOLE3GX: revision 1.56
sys/arch/shark/conf/INSTALL: revision 1.50
sys/arch/next68k/conf/GENERIC: revision 1.127
sys/arch/evbppc/conf/VIRTEX_GSRD2: revision 1.16
sys/arch/evbppc/conf/VIRTEX_DFC: revision 1.17
sys/arch/evbppc/conf/EXPLORA451: revision 1.48
sys/arch/bebox/conf/INSTALL: revision 1.54
sys/arch/next68k/conf/SLAB: revision 1.46
sys/arch/i386/conf/GENERIC_TINY: revision 1.132
sys/arch/bebox/conf/GENERIC: revision 1.131
sys/arch/amd64/conf/XEN3_DOM0: revision 1.84
sys/arch/amd64/conf/GENERIC: revision 1.356
sys/arch/evbarm/conf/MMNET_GENERIC: revision 1.6
share/man/man4/wscons.4: revision 1.31
sys/arch/hpcmips/conf/TX3912: revision 1.79
sys/arch/evbarm/conf/ARMADILLO9: revision 1.35
sys/arch/hpcsh/conf/GENERIC: revision 1.97
sys/arch/i386/conf/ALL: revision 1.339
sys/arch/hpcmips/conf/TX3922: revision 1.93
sys/arch/cats/conf/INSTALL: revision 1.82
sys/arch/sparc64/conf/GENERIC: revision 1.151
sys/arch/i386/conf/INSTALL_TINY: revision 1.135
sys/arch/evbppc/conf/VIRTEX_GSRD1: revision 1.15
sys/arch/evbarm/conf/TS7200: revision 1.49
sys/arch/hpcmips/conf/VR41XX: revision 1.55
sys/arch/hp700/conf/GENERIC: revision 1.115
sys/arch/cats/conf/GENERIC: revision 1.140
Mention wsconscfg(8) needs WSDISPLAY_COMPAT_USL
If a port is going to have wscons for virtual terminals then it really make=
s
sense to enable WSDISPLAY_COMPAT_USL so the system can switch between the
virtual terminals...
Adjust the WSDISPLAY_COMPAT_USL comment to mention wsconscfg, to at least
give a hint that its not just for third party compat. No functional change.
 1.82.2.4 03-Dec-2017  jdolecek update from HEAD
 1.82.2.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.82.2.2 23-Jun-2013  tls resync from head
 1.82.2.1 25-Feb-2013  tls resync with head
 1.89.2.2 18-May-2014  rmind sync with head
 1.89.2.1 28-Aug-2013  rmind sync with head
 1.92.2.1 10-Aug-2014  tls Rebase.
 1.94.2.4 28-Aug-2017  skrll Sync with HEAD
 1.94.2.3 05-Feb-2017  skrll Sync with HEAD
 1.94.2.2 05-Oct-2016  skrll Sync with HEAD
 1.94.2.1 22-Sep-2015  skrll Sync with HEAD
 1.96.2.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.103.4.3 21-Apr-2020  martin Sync with HEAD
 1.103.4.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.103.4.1 10-Jun-2019  christos Sync with HEAD
 1.103.2.3 26-Dec-2018  pgoyette Sync with HEAD, resolve a few conflicts
 1.103.2.2 30-Sep-2018  pgoyette Ssync with HEAD
 1.103.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.109.6.1 25-Jan-2020  ad Sync with head.
 1.114.4.1 20-Apr-2020  bouyer Sync with HEAD
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 03-Jun-2005  chris branches: 1.1.8;
Add easy to build kernels for booting from ABLE. Long term it would be
nice to make ABLE the default, as cats machines can take 256MB of RAM with
recent ABLE firmware.

(Note they just include GENERIC/INSTALL as appropriate and add ABLE
options)
 1.1.8.2 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.1.8.1 03-Jun-2005  skrll file INSTALL.ABLE was added on branch ktrace-lwp on 2005-11-10 13:55:47 +0000
 1.3 12-Jun-2001  chris branches: 1.3.8;
Remove Makefile.cats. We now use the arch/arm/conf/Makefile.arm.
 1.2 29-May-2001  mrg define _KERNEL_OPT as well as _KERNEL. we will use this in the future to
get kernel "opt_foo.h" headers, rather than _KERNEL && !_LKM.
 1.1 22-May-2001  chris Start moving cats out of the arm32 dir into it's own arch dir.
 1.3.8.2 12-Jun-2001  chris Remove Makefile.cats. We now use the arch/arm/conf/Makefile.arm.
 1.3.8.1 12-Jun-2001  chris file Makefile.cats was added on branch nathanw_sa on 2001-06-12 08:33:49 +0000
 1.37 26-Jul-2023  rin Always use arm-elf2aout; no a.out support both for binutils{,.old}
 1.36 31-Dec-2018  christos branches: 1.36.30;
Switch to elf2aout for new binutils
 1.35 24-Aug-2015  uebayasi branches: 1.35.16; 1.35.18;
Define ${LINKSCRIPT} in one place.
 1.34 20-Aug-2015  uebayasi Use variables where appropriate.
 1.33 19-Aug-2015  uebayasi Tweak previous.
 1.32 19-Aug-2015  uebayasi Define the rule to generate the dynamic `ldscript', depending on
${SYSTEM_OBJS} properly. Don't forget cleaning the generated `ldscript'.
One less ${SYSTEM_LD_HEAD_EXTRA} use as a bonus.

No binary changes in ldscript/kernel files are observed.
 1.31 25-Nov-2014  skrll branches: 1.31.2;
Explicitly set LOADADDRESS, the linker script hack is overriden by
command line arguments now.

Hi uebs!
 1.30 16-Nov-2014  uebayasi Set dependency via KERNLDSCRIPT. Don't touch SYSTEM_DEP from outside.
 1.29 15-Nov-2014  uebayasi Use LINKSCRIPT.
 1.28 13-Nov-2014  uebayasi Missing dependency on ldscript files.
 1.27 17-Aug-2013  skrll Use -fno-unwind-tables when creating a.out kernels.
 1.26 27-Jun-2013  matt branches: 1.26.2;
Don't force MACHINE_ARCH to be arm
 1.25 10-Jul-2011  tsutsui branches: 1.25.2; 1.25.12;
Use common ${OBJCOPY_ELF2AOUT_FLAGS}.
 1.24 02-Jul-2011  tsutsui Sync with src/sys/arch/shark/conf/Makefile.shark.inc rev 1.14:
> also need to strip out GCC 4.5's new .debug_pubtypes section.
> while here, minor cleanup.

XXX: probably we should have something like ${ARM_AOUT_REMOVE_SECTIONS}
XXX: in bsd.own.mk
 1.23 06-Jul-2010  mrg remove almost all the ability to build netbsd with an a.out target.
we're ELF now, and there are many missing checks against OBJECT_FMT.
if we ever consider switching, the we can figure out what new ones
we need but for now it's just clutter.

this doesn't remove any of the support for exec_aout or any actually
required-for-boot a.out support, only the ability to build a netbsd
release in a.out format. ie, most of this code has been dead for
over a decade.

i've tested builds on vax, amd64, i386, mac68k, macppc, sparc, atari,
amiga, shark, cats, dreamcast, landisk, mmeye and x68k. this covers
the 5 MACHINE_ARCH's affected, and all the other arch code touched.
it also includes some actual run-time testing of sparc, i386 and
shark, and i performed binary comparison upon amiga and x68k as well.


some minor details relevant:
- move shlib.[ch] from ld.aout_so into ldconfig proper, and cut them
down to only the parts ldconfig needs
- remove various unused source files
- switch amiga bootblocks to using elf2bb.h instead of aout2bb.h
 1.22 20-Aug-2009  skrll branches: 1.22.2; 1.22.4;
Remove .ARM.attributes when converting from ELF to a.out.
 1.21 07-Jun-2008  he Mirror the change from shark: something, somewhere is emitting new
ELF sections which we need to filter out when objcopying to the a.out
kernel. The new sections are .debug_frame, .debug_loc, .debug_pubnames,
and .debug_aranges.
 1.20 19-Jan-2008  he branches: 1.20.6; 1.20.8; 1.20.10; 1.20.12;
Remove the debugging sections too when converting from an ELF
to an a.out file, after the addition of the "debugging always
included" file added recently.
 1.19 17-Nov-2007  skrll branches: 1.19.6;
Remove the .note section when creating the a.out kernel image.
 1.18 04-Mar-2007  tsutsui branches: 1.18.2; 1.18.16; 1.18.18; 1.18.20; 1.18.22; 1.18.26; 1.18.28;
Move mkldscript.sh, which is used to create ldscript dynamically to
merge link_set_* sections into the text section for a.out kernels,
from sys/arch/arm/conf/ to sys/conf/ since there is no ARM specific
stuff in it and other ports would share it.
 1.17 24-Nov-2005  dbj branches: 1.17.24; 1.17.26; 1.17.30;
. Have dbsym explicitly suggest increasing SYMTAB_SPACE when
an overflow occurs.
. Make this error a fatal build time error
. Move the support for dbsym into the MI Makefile.kern.inc,
conditional upon the SYMTAB_SPACE option being defined in
the kernel config file.
 1.16 13-Sep-2004  chs branches: 1.16.12; 1.16.18;
work around a binutils bug where converting ELF kernels to a.out with objcopy
produces corrupted binaries when the link_set_* sections extend into another
page after the end of the .text section by using a generated an ldscript that
puts all the link_set_* data into the .text section in the first place.
 1.15 04-Oct-2003  chris branches: 1.15.2;
Add Experimental ELF support for cats. Only to be used if you feel daring
enough to run the ABLE firmware.
 1.14 21-Sep-2003  matt Need to remove .comment too.
 1.13 03-Jan-2003  thorpej branches: 1.13.2;
Don't define -D${MACHINE} in Makefile.arm. Instead, let platforms
that care define it themselves. Note that evbarm NO LONGER defines
-D${MACHINE}.
 1.12 21-Nov-2002  chris Take the newly added kern.ldscript for handling ELF->a.out from jason, and
apply to the cats kernel build. Seems to work happily for me.
 1.11 03-Nov-2002  chris Checkin new interrupt handling code for the footbridge.
This is based upon Jason's work on xscale.

Most of the interrupt handling code is now written in C using an asm stub to
call into the C code.

spl* now only updates a software mask, and does not update the hardware,
this should be much faster.

The new code works well on cats, it's untested on netwinder, but should work.

The code implements generic soft interrupts.

More work is still required to bring the isa interrupt handling code upto
scratch currently all isa interrupts are handled at IPL_BIO on the footbridge.
This may cause isa interrupts to be handled later than they should be.
I plan to fix this in the near future.
 1.10 29-Oct-2002  tsutsui Echo dbsym command.
 1.9 05-Oct-2002  chs cats has full protos.
 1.8 11-Apr-2002  skrll branches: 1.8.4;
The results of my cats NWDO hacking.

This was tested using a custom INSTALL kernel. The current one is >4Mb
which the cats firmware can't currently boot. We need to decide what
needs to be removed from INSTALL.
 1.7 04-Apr-2002  skrll Remove trailing whitespace.
 1.6 09-Feb-2002  chris Update elf2aout to cope with infile and outfile being the same.
Make the cats a.out kernel be called netbsd. This means that make install installs the correct kernel
 1.5 06-Feb-2002  thorpej Adjust for new location of elf2aout.sh, and echo the command before
executing it (like we do for other commands).
 1.4 06-Feb-2002  chris LINKADDRESS != LOADADDRESS, so fix that typo.
Also move the elf2aout conversion to be last in the build sequence, this means that strip is run on the elf kernel.
Also have dbsym run on the kernel, this should allow us to have symbols in the kernel.
This now means kernels boot and run, and can also have ddb symbols.
 1.3 31-Jan-2002  chris Initial mechanism for building a working cats kernel with ELF compiler. Note that the shell script needs work, currently it assumes TOOLDIR is valid, if it's not it should probably just try using objdump and size. So some work still to do, but you can cross compile cats kernels now.
 1.2 31-Jan-2002  chris Set LOOSE_PROTOTYPES to no for cats. This means cats now uses stricter prototype checking.
 1.1 27-Nov-2001  thorpej branches: 1.1.2; 1.1.4;
Move interrupt-related stuff out of the generic 32-bit ARM genassym.cf
and into platform-specific genassym.cf files.
 1.1.4.5 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.4.4 16-Mar-2002  jdolecek Catch up with -current.
 1.1.4.3 11-Feb-2002  jdolecek Sync w/ -current.
 1.1.4.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.4.1 27-Nov-2001  thorpej file Makefile.cats.inc was added on branch kqueue on 2002-01-10 19:40:54 +0000
 1.1.2.8 03-Jan-2003  thorpej Sync with HEAD.
 1.1.2.7 23-Nov-2002  skrll sync with HEAD.
 1.1.2.6 11-Nov-2002  nathanw Catch up to -current
 1.1.2.5 18-Oct-2002  nathanw Catch up to -current.
 1.1.2.4 17-Apr-2002  nathanw Catch up to -current.
 1.1.2.3 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.2 08-Jan-2002  nathanw Catch up to -current.
 1.1.2.1 27-Nov-2001  nathanw file Makefile.cats.inc was added on branch nathanw_sa on 2002-01-08 00:23:48 +0000
 1.8.4.1 12-Aug-2003  tron Apply patch (requested by jmc in ticket #1404):
Fix 2 remaining places items are depending on execute permissions coming out
from a cvs checkout on scripts.
 1.13.2.4 11-Dec-2005  christos Sync with head.
 1.13.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.13.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.13.2.1 03-Aug-2004  skrll Sync with HEAD
 1.15.2.1 13-Sep-2004  tron branches: 1.15.2.1.2;
Pull up revision 1.16 (requested by chs in ticket #843):
work around a binutils bug where converting ELF kernels to a.out with objcopy
produces corrupted binaries when the link_set_* sections extend into another
page after the end of the .text section by using a generated an ldscript that
puts all the link_set_* data into the .text section in the first place.
 1.15.2.1.2.1 06-Feb-2005  jmc Pull up patch (requested by martti in ticket #1086)
Move ipf to sys/dist/ipf and sync w. trunk
 1.16.18.1 29-Nov-2005  yamt sync with head.
 1.16.12.4 21-Jan-2008  yamt sync with head
 1.16.12.3 07-Dec-2007  yamt sync with head
 1.16.12.2 03-Sep-2007  yamt sync with head.
 1.16.12.1 21-Jun-2006  yamt sync with head.
 1.17.30.1 17-Nov-2007  skrll Remove .note sections when converting kernel to a.out image.
 1.17.26.1 12-Mar-2007  rmind Sync with HEAD.
 1.17.24.1 16-Sep-2008  bouyer Sync with the following revisions (requested by skrll in ticket #1196):
gnu/dist/gdb removed
gnu/usr.bin/gdb53 removed
distrib/cats/instkernel/Makefile 1.14.6.1
gnu/dist/gdb6/bfd/config.bfd 1.3.6.1
gnu/dist/gdb6/bfd/elfxx-sparc.c 1.1.1.2.6.1
gnu/dist/gdb6/bfd/elfxx-sparc.h 1.1.1.2.6.1
gnu/dist/gdb6/gdb/Makefile.in 1.2.2.1.2.2
gnu/dist/gdb6/gdb/alpha-tdep.c 1.1.1.2.6.1
gnu/dist/gdb6/gdb/alpha-tdep.h 1.1.1.2.6.1
gnu/dist/gdb6/gdb/alphabsd-nat.c 1.1.1.2.6.2
gnu/dist/gdb6/gdb/alphabsd-nat.h 1.1.2.1
gnu/dist/gdb6/gdb/alphabsd-tdep.c 1.1.1.2.6.1
gnu/dist/gdb6/gdb/alphabsd-tdep.h 1.1.1.2.6.1
gnu/dist/gdb6/gdb/alphanbsd-nat.c 1.1.2.1
gnu/dist/gdb6/gdb/alphanbsd-tdep.c 1.1.1.2.6.1
gnu/dist/gdb6/gdb/amd64-nat.c 1.1.1.2.6.1
gnu/dist/gdb6/gdb/amd64bsd-nat.c 1.1.1.2.6.1
gnu/dist/gdb6/gdb/amd64nbsd-nat.c 1.1.1.2.6.3
gnu/dist/gdb6/gdb/amd64nbsd-tdep.c 1.1.1.2.6.1
gnu/dist/gdb6/gdb/arm-tdep.h 1.1.1.2.6.1
gnu/dist/gdb6/gdb/armbsd-tdep.c 1.1.2.1
gnu/dist/gdb6/gdb/armnbsd-nat.c 1.1.1.2.6.2
gnu/dist/gdb6/gdb/armnbsd-tdep.c 1.1.1.2.6.1
gnu/dist/gdb6/gdb/configure 1.1.1.2.6.1
gnu/dist/gdb6/gdb/configure.ac 1.1.1.2.6.1
gnu/dist/gdb6/gdb/i386bsd-nat.c 1.1.1.2.6.1
gnu/dist/gdb6/gdb/i386nbsd-tdep.c 1.1.1.2.6.1
gnu/dist/gdb6/gdb/m68kbsd-nat.c 1.1.1.2.6.2
gnu/dist/gdb6/gdb/mipsnbsd-nat.c 1.1.1.2.6.2
gnu/dist/gdb6/gdb/nbsd-thread.c 1.1.2.3
gnu/dist/gdb6/gdb/ppcnbsd-nat.c 1.1.1.2.6.2
gnu/dist/gdb6/gdb/ppcnbsd-tdep.c 1.3.6.1
gnu/dist/gdb6/gdb/sh-tdep.c 1.1.1.2.6.1
gnu/dist/gdb6/gdb/shnbsd-nat.c 1.1.1.2.6.3
gnu/dist/gdb6/gdb/shnbsd-tdep.c 1.1.1.2.6.4
gnu/dist/gdb6/gdb/shnbsd-tdep.h 1.1.1.2.6.1
gnu/dist/gdb6/gdb/sparc-nat.c 1.1.1.2.6.1
gnu/dist/gdb6/gdb/sparc64nbsd-nat.c 1.1.1.2.6.2
gnu/dist/gdb6/gdb/sparcnbsd-nat.c 1.1.1.2.6.2
gnu/dist/gdb6/gdb/tramp-frame.h 1.1.1.2.6.1
gnu/dist/gdb6/gdb/vaxbsd-nat.c 1.1.1.2.6.2
gnu/dist/gdb6/gdb/config/alpha/nbsd.mh 1.1.1.2.6.1
gnu/dist/gdb6/gdb/config/arm/nbsd.mt 1.1.1.1.6.1
gnu/dist/gdb6/gdb/config/arm/nbsdelf.mh 1.1.1.1.6.1
gnu/dist/gdb6/gdb/config/i386/nbsd64.mh 1.1.1.1.6.1
gnu/dist/gdb6/gdb/config/m68k/nbsdelf.mh 1.1.1.1.6.1
gnu/dist/gdb6/gdb/config/mips/nbsd.mh 1.1.1.1.6.1
gnu/dist/gdb6/gdb/config/powerpc/nbsd.mh 1.1.1.2.6.1
gnu/dist/gdb6/gdb/config/sh/nbsd.mh 1.1.1.1.6.2
gnu/dist/gdb6/gdb/config/sh/tm-nbsd.h 1.1.1.1.6.1
gnu/dist/gdb6/gdb/config/sparc/nbsd64.mh 1.1.1.1.6.1
gnu/dist/gdb6/gdb/config/sparc/nbsdelf.mh 1.1.1.1.6.1
gnu/dist/gdb6/gdb/config/vax/nbsdelf.mh 1.1.1.1.6.1
gnu/dist/gdb6/opcodes/configure 1.1.1.2.6.1
gnu/dist/gdb6/opcodes/configure.in 1.1.1.2.6.1
gnu/usr.bin/Makefile 1.126.4.1
gnu/usr.bin/gdb6/arch/alpha/config.h 1.3.4.1
gnu/usr.bin/gdb6/arch/alpha/defs.mk 1.2.6.1
gnu/usr.bin/gdb6/arch/alpha/init.c 1.2.6.1
gnu/usr.bin/gdb6/arch/alpha/nm.h 1.2.6.1
gnu/usr.bin/gdb6/arch/arm/defs.mk 1.2.6.2
gnu/usr.bin/gdb6/arch/arm/init.c 1.1.6.1
gnu/usr.bin/gdb6/arch/armeb/config.h 1.1.6.2
gnu/usr.bin/gdb6/arch/armeb/defs.mk 1.1.6.3
gnu/usr.bin/gdb6/arch/armeb/init.c 1.1.6.2
gnu/usr.bin/gdb6/arch/armeb/tm.h 1.1.6.2
gnu/usr.bin/gdb6/arch/armeb/version.c 1.1.6.2
gnu/usr.bin/gdb6/arch/i386/defs.mk 1.4.4.1
gnu/usr.bin/gdb6/arch/i386/init.c 1.3.6.1
gnu/usr.bin/gdb6/arch/m68000/config.h 1.1.6.2
gnu/usr.bin/gdb6/arch/m68000/defs.mk 1.1.6.2
gnu/usr.bin/gdb6/arch/m68000/init.c 1.1.6.2
gnu/usr.bin/gdb6/arch/m68000/tm.h 1.1.6.2
gnu/usr.bin/gdb6/arch/m68000/version.c 1.1.6.2
gnu/usr.bin/gdb6/arch/m68k/defs.mk 1.1.4.1
gnu/usr.bin/gdb6/arch/m68k/init.c 1.1.4.1
gnu/usr.bin/gdb6/arch/mipseb/config.h 1.3.4.1
gnu/usr.bin/gdb6/arch/mipseb/defs.mk 1.2.6.2
gnu/usr.bin/gdb6/arch/mipseb/init.c 1.2.6.2
gnu/usr.bin/gdb6/arch/mipsel/config.h 1.2.6.3
gnu/usr.bin/gdb6/arch/mipsel/defs.mk 1.2.6.3
gnu/usr.bin/gdb6/arch/mipsel/init.c 1.2.6.3
gnu/usr.bin/gdb6/arch/mipsel/tm.h 1.2.6.2
gnu/usr.bin/gdb6/arch/mipsel/version.c 1.2.6.2
gnu/usr.bin/gdb6/arch/powerpc/defs.mk 1.3.6.1
gnu/usr.bin/gdb6/arch/powerpc/init.c 1.3.6.1
gnu/usr.bin/gdb6/arch/sh3eb/config.h 1.2.2.2
gnu/usr.bin/gdb6/arch/sh3eb/defs.mk 1.2.8.3
gnu/usr.bin/gdb6/arch/sh3eb/init.c 1.1.8.3
gnu/usr.bin/gdb6/arch/sh3eb/nm.h 1.1.8.2
gnu/usr.bin/gdb6/arch/sh3eb/tm.h 1.1.8.2
gnu/usr.bin/gdb6/arch/sh3eb/version.c 1.1.8.2
gnu/usr.bin/gdb6/arch/sh3el/config.h 1.2.2.2
gnu/usr.bin/gdb6/arch/sh3el/defs.mk 1.2.8.3
gnu/usr.bin/gdb6/arch/sh3el/init.c 1.1.8.3
gnu/usr.bin/gdb6/arch/sh3el/nm.h 1.1.8.2
gnu/usr.bin/gdb6/arch/sh3el/tm.h 1.1.8.2
gnu/usr.bin/gdb6/arch/sh3el/version.c 1.1.8.2
gnu/usr.bin/gdb6/arch/sparc/defs.mk 1.2.6.1
gnu/usr.bin/gdb6/arch/sparc/init.c 1.1.6.1
gnu/usr.bin/gdb6/arch/sparc64/defs.mk 1.2.6.1
gnu/usr.bin/gdb6/arch/sparc64/init.c 1.1.6.1
gnu/usr.bin/gdb6/arch/vax/config.h 1.1.6.2
gnu/usr.bin/gdb6/arch/vax/defs.mk 1.1.6.2
gnu/usr.bin/gdb6/arch/vax/init.c 1.1.6.2
gnu/usr.bin/gdb6/arch/vax/tm.h 1.1.6.2
gnu/usr.bin/gdb6/arch/vax/version.c 1.1.6.2
gnu/usr.bin/gdb6/arch/x86_64/defs.mk 1.2.6.1
gnu/usr.bin/gdb6/arch/x86_64/init.c 1.1.6.1
gnu/usr.bin/gdb6/bfd/arch/armeb/bfd.h 1.1.6.2
gnu/usr.bin/gdb6/bfd/arch/armeb/bfdver.h 1.1.6.2
gnu/usr.bin/gdb6/bfd/arch/armeb/config.h 1.1.6.2
gnu/usr.bin/gdb6/bfd/arch/armeb/defs.mk 1.1.6.2
gnu/usr.bin/gdb6/bfd/arch/m68000/bfd.h 1.1.6.2
gnu/usr.bin/gdb6/bfd/arch/m68000/bfdver.h 1.1.6.2
gnu/usr.bin/gdb6/bfd/arch/m68000/config.h 1.1.6.2
gnu/usr.bin/gdb6/bfd/arch/m68000/defs.mk 1.1.6.2
gnu/usr.bin/gdb6/bfd/arch/mipsel/bfd.h 1.1.6.2
gnu/usr.bin/gdb6/bfd/arch/mipsel/bfdver.h 1.1.6.2
gnu/usr.bin/gdb6/bfd/arch/mipsel/config.h 1.1.6.2
gnu/usr.bin/gdb6/bfd/arch/mipsel/defs.mk 1.1.6.2
gnu/usr.bin/gdb6/bfd/arch/sh3eb/bfd.h 1.1.8.3
gnu/usr.bin/gdb6/bfd/arch/sh3eb/bfdver.h 1.1.8.2
gnu/usr.bin/gdb6/bfd/arch/sh3eb/config.h 1.1.8.2
gnu/usr.bin/gdb6/bfd/arch/sh3eb/defs.mk 1.1.8.3
gnu/usr.bin/gdb6/bfd/arch/sh3el/bfd.h 1.1.8.3
gnu/usr.bin/gdb6/bfd/arch/sh3el/bfdver.h 1.1.8.2
gnu/usr.bin/gdb6/bfd/arch/sh3el/config.h 1.1.8.2
gnu/usr.bin/gdb6/bfd/arch/sh3el/defs.mk 1.1.8.3
gnu/usr.bin/gdb6/bfd/arch/vax/bfd.h 1.1.6.2
gnu/usr.bin/gdb6/bfd/arch/vax/bfdver.h 1.1.6.2
gnu/usr.bin/gdb6/bfd/arch/vax/config.h 1.1.6.2
gnu/usr.bin/gdb6/bfd/arch/vax/defs.mk 1.1.6.2
gnu/usr.bin/gdb6/gdb/Makefile 1.5.2.1.2.2
gnu/usr.bin/gdb6/gdbtui/Makefile 1.2.6.1
gnu/usr.bin/gdb6/libiberty/arch/armeb/config.h 1.1.6.2
gnu/usr.bin/gdb6/libiberty/arch/armeb/defs.mk 1.1.6.2
gnu/usr.bin/gdb6/libiberty/arch/m68000/config.h 1.1.6.2
gnu/usr.bin/gdb6/libiberty/arch/m68000/defs.mk 1.1.6.2
gnu/usr.bin/gdb6/libiberty/arch/mipsel/config.h 1.1.6.2
gnu/usr.bin/gdb6/libiberty/arch/mipsel/defs.mk 1.1.6.2
gnu/usr.bin/gdb6/libiberty/arch/sh3eb/config.h 1.1.8.2
gnu/usr.bin/gdb6/libiberty/arch/sh3eb/defs.mk 1.1.8.2
gnu/usr.bin/gdb6/libiberty/arch/sh3el/config.h 1.1.8.2
gnu/usr.bin/gdb6/libiberty/arch/sh3el/defs.mk 1.1.8.2
gnu/usr.bin/gdb6/libiberty/arch/vax/config.h 1.1.6.2
gnu/usr.bin/gdb6/libiberty/arch/vax/defs.mk 1.1.6.2
gnu/usr.bin/gdb6/opcodes/arch/armeb/config.h 1.1.6.2
gnu/usr.bin/gdb6/opcodes/arch/armeb/defs.mk 1.1.6.2
gnu/usr.bin/gdb6/opcodes/arch/m68000/config.h 1.1.6.2
gnu/usr.bin/gdb6/opcodes/arch/m68000/defs.mk 1.1.6.2
gnu/usr.bin/gdb6/opcodes/arch/mipsel/config.h 1.1.6.2
gnu/usr.bin/gdb6/opcodes/arch/mipsel/defs.mk 1.1.6.2
gnu/usr.bin/gdb6/opcodes/arch/sh3eb/config.h 1.1.8.2
gnu/usr.bin/gdb6/opcodes/arch/sh3eb/defs.mk 1.1.8.3
gnu/usr.bin/gdb6/opcodes/arch/sh3el/config.h 1.1.8.2
gnu/usr.bin/gdb6/opcodes/arch/sh3el/defs.mk 1.1.8.3
gnu/usr.bin/gdb6/opcodes/arch/vax/config.h 1.1.6.2
gnu/usr.bin/gdb6/opcodes/arch/vax/defs.mk 1.1.6.2
gnu/usr.bin/gdb6/readline/arch/armeb/config.h 1.1.6.2
gnu/usr.bin/gdb6/readline/arch/armeb/defs.mk 1.1.6.2
gnu/usr.bin/gdb6/readline/arch/m68000/config.h 1.1.6.2
gnu/usr.bin/gdb6/readline/arch/m68000/defs.mk 1.1.6.2
gnu/usr.bin/gdb6/readline/arch/mipsel/config.h 1.1.6.2
gnu/usr.bin/gdb6/readline/arch/mipsel/defs.mk 1.1.6.2
gnu/usr.bin/gdb6/readline/arch/sh3eb/config.h 1.1.8.2
gnu/usr.bin/gdb6/readline/arch/sh3eb/defs.mk 1.1.8.2
gnu/usr.bin/gdb6/readline/arch/sh3el/config.h 1.1.8.2
gnu/usr.bin/gdb6/readline/arch/sh3el/defs.mk 1.1.8.2
gnu/usr.bin/gdb6/readline/arch/vax/config.h 1.1.6.2
gnu/usr.bin/gdb6/readline/arch/vax/defs.mk 1.1.6.2
gnu/usr.bin/gdb6/sim/arch/mipseb/cconfig.h 1.1.2.1
gnu/usr.bin/gdb6/sim/arch/mipseb/config.h 1.1.2.1
gnu/usr.bin/gdb6/sim/arch/mipseb/defs.mk 1.1.2.1
gnu/usr.bin/gdb6/sim/arch/mipsel/cconfig.h 1.1.2.1
gnu/usr.bin/gdb6/sim/arch/mipsel/config.h 1.1.2.1
gnu/usr.bin/gdb6/sim/arch/mipsel/defs.mk 1.1.2.1
lib/libkvm/kvm_sparc64.c 1.10.18.2
lib/libpthread/pthread.c 1.48.6.4
lib/libpthread/pthread_barrier.c 1.6.18.1
lib/libpthread/pthread_cond.c 1.18.12.2
lib/libpthread/pthread_debug.h 1.8.18.1
lib/libpthread/pthread_int.h 1.34.4.5
lib/libpthread/pthread_lock.c 1.14.6.1
lib/libpthread/pthread_mutex.c 1.22.4.2
lib/libpthread/pthread_run.c 1.18.12.4
lib/libpthread/pthread_rwlock.c 1.13.6.2
lib/libpthread/pthread_sa.c 1.37.6.5
lib/libpthread/pthread_sig.c 1.47.4.8
lib/libpthread/pthread_sleep.c 1.7.6.2
lib/libpthread/sem.c 1.9.6.2
lib/libpthread/arch/sh3/pthread_md.h 1.3.6.1
regress/lib/libpthread/resolv/Makefile 1.1.12.1
regress/lib/libpthread/sigrunning/Makefile 1.1.2.1
regress/lib/libpthread/sigrunning/sigrunning.c 1.1.2.1
share/mk/bsd.own.mk 1.489.4.3
sys/arch/amd64/amd64/locore.S 1.18.14.1
sys/arch/amd64/amd64/machdep.c 1.44.2.3.2.1
sys/arch/amd64/conf/kern.ldscript 1.1.70.1
sys/arch/cats/conf/Makefile.cats.inc 1.17.30.1
sys/arch/shark/conf/Makefile.shark.inc 1.6.30.1
sys/arch/sparc64/conf/kern.ldscript 1.7.26.2
sys/arch/sparc64/conf/kern32.ldscript 1.6.26.2
sys/arch/sparc64/include/kcore.h 1.4.92.2
sys/arch/sparc64/sparc64/locore.s 1.232.4.4
sys/arch/sparc64/sparc64/machdep.c 1.193.4.3
sys/arch/sparc64/sparc64/pmap.c 1.184.2.1.2.4
sys/conf/newvers.sh 1.42.26.2
sys/kern/kern_sa.c 1.87.4.11
sys/kern/kern_synch.c 1.173.4.2
sys/sys/savar.h 1.20.10.2
tools/gdb/Makefile 1.9.4.1
tools/gdb/mknative-gdb 1.1.6.1

pullup the wrstuden-fixsa CVS branch to netbsd-4:
toolchain/35540 - GDB 6 support for pthreads.
port-sparc64/37534 - ktrace firefox gives
kernel trap 30: data access expection
GDB changes:
- delete gdb53
- enable gdb6 on all architectures
- add support for amd64 crash dumps
- add support for sparc64 crash dumps
- add support for /proc pid to executable filename for all archs
- enable thread support for all architectures
- add a note section to kernels to all platforms
- support detection/unwinding of signals for most architectures.
- Fix PTHREAD_UCONTEXT_TO_REG / PTHREAD_REG_TO_UCONTEXT on sh3.
- Apply fix from binutils-current so that sparc gdb can be cross built
on a 64bit host.
SA/pthread changes:
Pre-allocate memory needed for event delivery. Eliminates dropped
interrupts under load.
Deliver intra-process signals to running threads
Eliminate some deadlock scenarios
Fix intra-process signal delivery when delivering to a thread waiting
for signals. Makes afs work again!
 1.18.28.2 18-Feb-2008  mjf Sync with HEAD.
 1.18.28.1 19-Nov-2007  mjf Sync with HEAD.
 1.18.26.1 18-Nov-2007  bouyer Sync with HEAD
 1.18.22.2 23-Mar-2008  matt sync with HEAD
 1.18.22.1 09-Jan-2008  matt sync with HEAD
 1.18.20.2 20-Jan-2008  chris Sync to HEAD.
 1.18.20.1 01-Jan-2008  chris Sync with HEAD.
 1.18.18.1 21-Nov-2007  joerg Sync with HEAD.
 1.18.16.2 28-Feb-2008  rjs Sync with HEAD.
 1.18.16.1 26-Dec-2007  rjs Sync with HEAD.
 1.18.2.1 03-Dec-2007  ad Sync with HEAD.
 1.19.6.1 20-Jan-2008  bouyer Sync with HEAD
 1.20.12.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.20.10.3 11-Aug-2010  yamt sync with head.
 1.20.10.2 16-Sep-2009  yamt sync with head
 1.20.10.1 04-May-2009  yamt sync with head.
 1.20.8.1 17-Jun-2008  yamt sync with head.
 1.20.6.1 29-Jun-2008  mjf Sync with HEAD.
 1.22.4.1 05-Mar-2011  rmind sync with head
 1.22.2.1 17-Aug-2010  uebayasi Sync with HEAD.
 1.25.12.2 03-Dec-2017  jdolecek update from HEAD
 1.25.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.25.2.1 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.26.2.1 28-Aug-2013  rmind sync with head
 1.31.2.1 22-Sep-2015  skrll Sync with HEAD
 1.35.18.1 10-Jun-2019  christos Sync with HEAD
 1.35.16.1 18-Jan-2019  pgoyette Synch with HEAD
 1.36.30.1 11-Sep-2023  martin Pull up following revision(s) (requested by rin in ticket #363):

sys/arch/aarch64/conf/Makefile.aarch64: revision 1.24
sys/arch/aarch64/conf/Makefile.aarch64: revision 1.25
sys/arch/shark/conf/Makefile.shark.inc: revision 1.28
sys/arch/alpha/conf/Makefile.alpha: revision 1.88
sys/arch/mips/conf/Makefile.mips: revision 1.73
sys/conf/Makefile.kern.inc: revision 1.298
sys/conf/Makefile.kern.inc: revision 1.299
sys/arch/cats/conf/Makefile.cats.inc: revision 1.37
sys/arch/arm/conf/Makefile.arm: revision 1.56
sys/arch/arm/conf/Makefile.arm: revision 1.57
sys/arch/riscv/conf/Makefile.riscv: revision 1.10

Always use arm-elf2aout; no a.out support both for binutils{,.old}

Fix kernel size inflation for arm and aarch64 (PR toolchain/57146)

For some conditions, SYSTEM_LD_TAIL is set for arm and aarch64.
Then, ctfmerge(1) in default SYSTEM_LD_TAIL is unintentionally
skipped, which results in the catastrophic kernel size inflation,
as reported in the PR.

Also, introduce and use OBJCOPY_STRIPFLAGS variable instead of
STRIPFLAGS, as strip(1) is replaced by objcopy(1) during MI
kernel build procedure.

For Makefile.{arm,aarch64}, weird logic is used to determine how
to handle debug symbols; MKDEBUG{,KERNEL} are taken into account
later in sys/conf/Makefile.kern.inc.

Use OBJCOPY_STRIPFLAGS instead of STRIPFLAGS.
Simplify fix for PR toolchain/57146

Introduce ARCH_STRIP_SYMBOLS variable to centralize logic for debug
symbols from MD Makefile's to Makefile.kern.inc.
 1.3 06-Feb-2002  thorpej Adjust for new location of elf2aout.sh, and echo the command before
executing it (like we do for other commands).
 1.2 31-Jan-2002  chris If TOOLDIR is not set just use the standard objdump and size commands. Also check that there is a netbsd file. chmod the output netbsd file, and display the size info for it.
 1.1 31-Jan-2002  chris Initial mechanism for building a working cats kernel with ELF compiler. Note that the shell script needs work, currently it assumes TOOLDIR is valid, if it's not it should probably just try using objdump and size. So some work still to do, but you can cross compile cats kernels now.
 1.39 08-Jan-2022  skrll defflag FCOM_INIT_ARM
 1.38 04-Apr-2014  skrll Convert cats to the new world order, i.e. arm32_{bootmem,kernel_vm}_init.
Make VERBOSE_INIT_ARM work while I'm here.
 1.37 04-Apr-2014  skrll Revert previous - it wasn't complete.
 1.36 02-Apr-2014  skrll Convert cats to the new world order, i.e. arm32_{bootmem,kernel_vm}_init
 1.35 20-Feb-2008  drochner branches: 1.35.44; 1.35.54; 1.35.60;
Since files.wscons et al. are included by ~all ports anyway, include
them in the mi "files" file, and remove include statements from md files.
These shouldn't pull in additional kernel code when not in use, so it
shouldn't do any harm except a risk of namespace collisions which
should be easy to fix.
 1.34 10-Apr-2007  macallan branches: 1.34.10; 1.34.14; 1.34.16;
include files.wsfb
 1.33 19-Sep-2006  he branches: 1.33.4; 1.33.8; 1.33.10;
Convert the NetBSD/cats port to use generic TODR.

This gets rid of the now-unneded "todclock" and "todservice" attributes
from the footbridge device files, which should allow netwinder to build
again after its conversion to generic TODR.

Resulting kernel verified to boot up OK on gxemul (after my recent
fixes of the gxemul package to emulate free-running timers).
 1.32 11-Dec-2005  christos branches: 1.32.20; 1.32.22;
merge ktrace-lwp.
 1.31 08-Jul-2004  drochner branches: 1.31.12;
don't need md timing functions for joystick anymore
 1.30 16-Jun-2004  he Include files.usb after files.wscons, so that tcpalib is defined before
it's referenced.
 1.29 13-Mar-2004  bjh21 Abstract the interface between pckbc(4), and the pckbd(4) and pms(4)
drivers that attach to it. This allows for other host interface chips
that use the same keyboards and mice, such as the ones in the ARM
IOMD20, ARM7500, and SA-1111. The PC-compatible driver is still
called pckbc(4), and the new abstraction layer is "pckbport", so the
child devices have moved from sys/dev/pckbc to sys/dev/pckbport, which
also contains some code shared between all host controllers. To avoid
incompatibility, pckbdreg.h is still installed in
/usr/include/dev/pckbc.

In theory, this shouldn't cause any behavioural changes in the drivers
concerned. Thy just use rather more function pointers than before. Tested
on i386 and (with a new host driver) acorn32. Compiled on several other
affected architectures.
 1.28 20-Jan-2004  jdolecek cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue
 1.27 21-Oct-2003  skrll Rename dsrtc to ds1687rtc to avoid conflicting with the MI i2c
ds1307 driver.

Hi Jason.
 1.26 08-Oct-2003  bouyer pciide_machdep.c depends on pciide_common, not pciide.
Pointed out and fix tested by Marc Recht.
 1.25 04-Oct-2003  chris Add Experimental ELF support for cats. Only to be used if you feel daring
enough to run the ABLE firmware.
 1.24 03-Nov-2002  chris branches: 1.24.6;
Checkin new interrupt handling code for the footbridge.
This is based upon Jason's work on xscale.

Most of the interrupt handling code is now written in C using an asm stub to
call into the C code.

spl* now only updates a software mask, and does not update the hardware,
this should be much faster.

The new code works well on cats, it's untested on netwinder, but should work.

The code implements generic soft interrupts.

More work is still required to bring the isa interrupt handling code upto
scratch currently all isa interrupts are handled at IPL_BIO on the footbridge.
This may cause isa interrupts to be handled later than they should be.
I plan to fix this in the near future.
 1.23 26-Oct-2002  jdolecek 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.22 12-Oct-2002  chris Merge isa_machdep.c from netwinder and cats into footbridge/isa (where it
joins other machdep files)
Saves maintaining multiple copies of the same thing, the only differences
were:
IRQ line used on the footbridge (made that a define in include/isa_machdep.h)
name of a dma_ranges variable contained arch name, so just made it generic.
 1.21 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.20 16-Apr-2002  thorpej branches: 1.20.2;
* 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.19 10-Feb-2002  chris Following the demise of arch/arm32 update cats, and restore the isa files to a more sane location.
Also fix build break on GENERIC cats kernel, seems that conf.h should have been including arm/conf.h.

This completes the removal of arch/arm32.
 1.18 10-Feb-2002  tsutsui Use MI md_root.c. CATS port does not support fdc (yet) anyway.
 1.17 10-Feb-2002  tsutsui Remove unused defflags.
 1.16 09-Feb-2002  chris Move the arm32/pci files into the cats dir. AFAIK these files are only used by cats.
 1.15 02-Feb-2002  jdolecek Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.
 1.14 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.13 26-Nov-2001  thorpej Move the interrupt-related file declarations into port-specific
config descriptions so that each port choose whether or not to
use it.
 1.12 24-Nov-2001  thorpej The ARM, Ltd. floating point emulator has moved to arch/arm.
 1.11 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.10 04-Sep-2001  nisimura branches: 1.10.6;
+ include "dev/wsfont/files.wsfont" for VGA change.
 1.9 03-Sep-2001  matt Use new shared arm/arm32/conf.c
 1.8 28-Jul-2001  chris Move the generic arm32 files into arm/arm32 from arm32/arm32, tested kernel builds on cats and riscpc.
 1.7 20-Jun-2001  chris branches: 1.7.2;
Remove defopt EBSA285.
Move the files from footbridge that are cats specific.
Remove EBSA285 kernel as people should be able to use the generic cats kernel for EBSA285 systems.
 1.6 18-Jun-2001  bjh21 Merge arm32/dev/bus_space_notimpl.S and hpcarm/hpcarm/bus_space_notimpl.S
into arm/arm/bus_space_notimpl.S. They were identical anyway.

This file has no excuse for being in assembler, but I'll leave that for another
day.
 1.5 12-Jun-2001  chris Add cats specific autoconf and conf.c. Also add defopt NETWINDER to files.cats, this is so a few things that include opt_netwinder compile.
 1.4 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.3 29-May-2001  bjh21 Move blockio.S from sys/arch/arm32/arm32 to sys/arch/arm/arm, since I want to
start using it on arm26.

hpcarm gets to keep its own version, since it's not identical and I haven't
got an hpcarm box to test.
 1.2 23-May-2001  chris Add a files.footbridge for inclusion by cats and netwinder. This is to make moving of the footbridge dir easier (when it eventually moves from arm32)

Also remove EBSA285 defopt from the netwinder file as the netwinder isn't an eval board.
 1.1 22-May-2001  chris Start moving cats out of the arm32 dir into it's own arch dir.
 1.7.2.8 18-Oct-2002  jdolecek sync with -current:
Merge isa_machdep.c from netwinder and cats into footbridge/isa
 1.7.2.7 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.7.2.6 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.7.2.5 16-Mar-2002  jdolecek Catch up with -current.
 1.7.2.4 11-Feb-2002  jdolecek Sync w/ -current.
 1.7.2.3 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.7.2.2 13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.7.2.1 03-Aug-2001  lukem update to -current
 1.10.6.7 11-Nov-2002  nathanw Catch up to -current
 1.10.6.6 18-Oct-2002  nathanw Catch up to -current.
 1.10.6.5 17-Sep-2002  nathanw Catch up to -current.
 1.10.6.4 20-Jun-2002  nathanw Catch up to -current.
 1.10.6.3 28-Feb-2002  nathanw Catch up to -current.
 1.10.6.2 08-Jan-2002  nathanw Catch up to -current.
 1.10.6.1 04-Sep-2001  nathanw file files.cats was added on branch nathanw_sa on 2002-01-08 00:23:49 +0000
 1.20.2.2 17-May-2002  gehenna Remove old block majors list.
 1.20.2.1 16-May-2002  gehenna Include the list of block/character major numbers.
 1.24.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.24.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.24.6.1 03-Aug-2004  skrll Sync with HEAD
 1.31.12.3 27-Feb-2008  yamt sync with head.
 1.31.12.2 03-Sep-2007  yamt sync with head.
 1.31.12.1 30-Dec-2006  yamt sync with head.
 1.32.22.1 22-Oct-2006  yamt sync with head
 1.32.20.1 18-Nov-2006  ad Sync with head.
 1.33.10.1 11-Jul-2007  mjf Sync with head.
 1.33.8.1 10-Apr-2007  ad Sync with head.
 1.33.4.1 15-Apr-2007  yamt sync with head.
 1.34.16.1 23-Mar-2008  matt sync with HEAD
 1.34.14.1 21-Mar-2008  chris Sync to head.
 1.34.10.1 28-Feb-2008  rjs Sync with HEAD.
 1.35.60.1 18-May-2014  rmind sync with head
 1.35.54.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.35.44.1 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.6 08-Jul-2017  skrll Remove unused script
 1.5 23-Aug-2015  uebayasi Don't need to specify OUTPUT_FORMAT/OUTPUT_ARCH.
 1.4 22-Aug-2015  uebayasi According to matt@, .ARM.{extab,exidx} are no longer used.
 1.3 20-Aug-2015  uebayasi Indent with 2 spaces.
 1.2 30-Jan-2014  matt branches: 1.2.6;
Put EHABI exception tables at the end of text.
provide __exidx_start and __exidx_end symbols.
 1.1 21-Nov-2002  chris branches: 1.1.2; 1.1.150; 1.1.160; 1.1.166;
Take the newly added kern.ldscript for handling ELF->a.out from jason, and
apply to the cats kernel build. Seems to work happily for me.
 1.1.166.1 18-May-2014  rmind sync with head
 1.1.160.2 03-Dec-2017  jdolecek update from HEAD
 1.1.160.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.150.1 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.2.2 23-Nov-2002  skrll sync with HEAD.
 1.1.2.1 21-Nov-2002  skrll file kern.ldscript was added on branch nathanw_sa on 2002-11-23 20:21:43 +0000
 1.2.6.2 28-Aug-2017  skrll Sync with HEAD
 1.2.6.1 22-Sep-2015  skrll Sync with HEAD
 1.7 11-Feb-2023  mlelstv Apply ldscript fixes for binutils-2.39. See PR 57223.
 1.6 23-Aug-2015  uebayasi Don't need to specify OUTPUT_FORMAT/OUTPUT_ARCH.
 1.5 21-Aug-2015  uebayasi Simplify this by deciding load address at one place.
 1.4 20-Aug-2015  uebayasi Indent with 2 spaces.
 1.3 20-Aug-2015  uebayasi Kill trailing whitespaces.
 1.2 11-Dec-2005  christos branches: 1.2.124; 1.2.144;
merge ktrace-lwp.
 1.1 04-Oct-2003  chris branches: 1.1.4;
Add Experimental ELF support for cats. Only to be used if you feel daring
enough to run the ABLE firmware.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 04-Oct-2003  skrll file ldscript.elf was added on branch ktrace-lwp on 2004-08-03 10:33:40 +0000
 1.2.144.1 22-Sep-2015  skrll Sync with HEAD
 1.2.124.1 03-Dec-2017  jdolecek update from HEAD
 1.10 17-Jan-2018  skrll G/C ARM32_NEW_VM_LAYOUT
 1.9 21-Sep-2012  matt Switch to the generic bounce buffer support.
 1.8 27-Jan-2008  chris branches: 1.8.44; 1.8.54;
Add an arm/conf/std.arm file which contains common arm options, initially
just options CPU_IN_CKSUM.

Include std.arm in all arm platform std files.

This should reenable the asm in_cksum code for all arm platforms.

Also remove the now unused in_cksum_arm.S.
 1.7 11-Dec-2005  christos branches: 1.7.46; 1.7.50; 1.7.52; 1.7.58;
merge ktrace-lwp.
 1.6 17-Sep-2005  yamt include "conf/std".
 1.5 22-May-2003  thorpej branches: 1.5.2; 1.5.18;
Don't need ARM32_PMAP_NEW option any more.
 1.4 26-Apr-2003  chris Add support for ARM32_PMAP_NEW. also make it the default for all cats
kernels.
 1.3 03-Jan-2003  thorpej Use the generic irq_dispatch.S
 1.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.1 22-May-2001  chris branches: 1.1.2; 1.1.8;
Start moving cats out of the arm32 dir into it's own arch dir.
 1.1.8.3 03-Jan-2003  thorpej Sync with HEAD.
 1.1.8.2 08-Jan-2002  nathanw Catch up to -current.
 1.1.8.1 22-May-2001  nathanw file std.cats was added on branch nathanw_sa on 2002-01-08 00:23:49 +0000
 1.1.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.5.18.2 04-Feb-2008  yamt sync with head.
 1.5.18.1 21-Jun-2006  yamt sync with head.
 1.5.2.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.7.58.1 18-Feb-2008  mjf Sync with HEAD.
 1.7.52.1 23-Mar-2008  matt sync with HEAD
 1.7.50.1 27-Jan-2008  chris Sync to HEAD.
 1.7.46.1 28-Feb-2008  rjs Sync with HEAD.
 1.8.54.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.8.44.1 30-Oct-2012  yamt sync with head
 1.26 02-May-2013  matt This change arm, armeb, earm, earmeb, earmhf, earmhfeb so all builds that
share a MACHINE_ARCH for userland so that except for etc, will produce
identical sets.

usr/include/machine now points to usr/include/arm
 1.25 11-Jan-2013  matt Don't install fp.h anymore
 1.24 17-Jul-2011  dyoung branches: 1.24.2; 1.24.12;
On ARM-ish ports having PCI support, use new-style <sys/bus.h>. Do not
install <machine/bus.h>. Remove various <machine/bus.h> sources.
 1.23 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.22 19-Jan-2008  chris Remove arm support for IPKDB.

It hasn't worked since arm was broken out from arm32 in Jan 2001, and
no-one has noticed or cared to fix it.
 1.21 09-Feb-2007  ad branches: 1.21.20; 1.21.24; 1.21.26; 1.21.32; 1.21.38;
Merge newlock2 to head.
 1.20 26-Jul-2006  drochner branches: 1.20.4;
don't install <machine/db_machdep.h>, this is kernel only
 1.19 11-Dec-2005  christos branches: 1.19.4; 1.19.8;
merge ktrace-lwp.
 1.18 08-May-2004  kleink branches: 1.18.12;
Factor out W{CHAR,INT}_{MAX,MIN} into their own header file.
 1.17 17-Jan-2003  thorpej branches: 1.17.2;
Merge the nathanw_sa branch.
 1.16 26-Nov-2002  lukem Remove KDIR=, since SYS_INCLUDE=symlinks and KDIR are not supported any more.
 1.15 28-Sep-2002  chris cats and netwinder can share a common footbridge_intr.h file, so install and
share a common file.
 1.14 26-Aug-2002  chris Add byte_swap.h for cats, this creates the /usr/include/machine/byte_swap.h
 1.13 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.12 26-Nov-2001  thorpej branches: 1.12.8;
Delete <machine/psl.h> from the ARM ports. It's not a header that
we need to provide to MI code or to userland, and it's also not a
header that generic ARM code should be including directly.
 1.11 25-Nov-2001  thorpej Move disklabel_acorn.h to <sys/disklabel_acorn.h>, much like we did
with disklabel_mbr.h. More cleanup yet to come.
 1.10 25-Nov-2001  thorpej End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.9 22-Nov-2001  thorpej Remove kerndebug.h from non-Shark code (it's a Shark-specific header
file, and probably should be done away with anyway).
 1.8 22-Nov-2001  thorpej Kill <machine/katelib.h>. Any place that still uses it should just
reference <arm/arm32/katelib.h> until such time as all use of this
file has been purged from the face of the earth.
 1.7 03-Sep-2001  matt branches: 1.7.6;
Add a merged <pcb.h> for arm26/arm32.
 1.6 03-Sep-2001  matt Use new shared arm/arm32/conf.c
 1.5 14-Jul-2001  matt Make <sysarch.h> valid for all arm platforms. Adjust/remove port-specific
includes as required.
 1.4 23-Jun-2001  bjh21 branches: 1.4.2;
Add <arm/endian.h> and remove the cats, dnard and netwinder versions, since
they're all the same (a redirect to <sys/endian.h>).
 1.3 18-Jun-2001  bjh21 Move <arm/arm32/bus.h> to <arm/bus.h>, since it looks like it's going to be
necessary on arm26 as well.
 1.2 12-Jun-2001  matt Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 12-Jun-2001  chris Add cats specific makefile for tags and includes.
 1.4.2.5 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.2.4 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.4.2.3 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.4.2.2 13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.4.2.1 03-Aug-2001  lukem update to -current
 1.7.6.7 11-Dec-2002  thorpej Sync with HEAD.
 1.7.6.6 18-Oct-2002  nathanw Catch up to -current.
 1.7.6.5 27-Aug-2002  thorpej Sync with -current.
 1.7.6.4 13-Aug-2002  nathanw Catch up to -current.
 1.7.6.3 11-Apr-2002  thorpej Add mcontext.h
 1.7.6.2 08-Jan-2002  nathanw Catch up to -current.
 1.7.6.1 03-Sep-2001  nathanw file Makefile was added on branch nathanw_sa on 2002-01-08 00:23:49 +0000
 1.12.8.1 30-Aug-2002  gehenna catch up with -current.
 1.17.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.17.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.17.2.1 03-Aug-2004  skrll Sync with HEAD
 1.18.12.3 21-Jan-2008  yamt sync with head
 1.18.12.2 26-Feb-2007  yamt sync with head.
 1.18.12.1 30-Dec-2006  yamt sync with head.
 1.19.8.1 11-Aug-2006  yamt sync with head
 1.19.4.1 09-Sep-2006  rpaulo sync with head
 1.20.4.1 01-Feb-2007  ad Header file cleanup.
 1.21.38.1 20-Jan-2008  bouyer Sync with HEAD
 1.21.32.1 18-Feb-2008  mjf Sync with HEAD.
 1.21.26.1 23-Mar-2008  matt sync with HEAD
 1.21.24.1 20-Jan-2008  chris Sync to HEAD.
 1.21.20.1 28-Feb-2008  rjs Sync with HEAD.
 1.24.12.2 23-Jun-2013  tls resync from head
 1.24.12.1 25-Feb-2013  tls resync with head
 1.24.2.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.24.2.1 23-Jan-2013  yamt sync with head
 1.3 25-Nov-2001  thorpej End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.2 12-Jun-2001  matt branches: 1.2.2; 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.1 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3 25-Nov-2001  thorpej End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.2 12-Jun-2001  matt branches: 1.2.2; 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.1 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3 25-Nov-2001  thorpej End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.2 12-Jun-2001  matt branches: 1.2.2; 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.1 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2 26-Sep-2020  skrll G/C arm/atomic.h
 1.1 19-Oct-2002  bsh branches: 1.1.2; 1.1.72;
make atomic_{set,clear}_bit() inline for arm32 ports, and
add <machine/atomic.h> for them.
 1.1.72.1 19-Apr-2007  thorpej Convert to the new atomic ops API.
 1.1.2.2 11-Nov-2002  nathanw Catch up to -current
 1.1.2.1 19-Oct-2002  nathanw file atomic.h was added on branch nathanw_sa on 2002-11-11 21:57:35 +0000
 1.6 26-Oct-2006  bjh21 boot_file is not used by generic NetBSD/arm code, and its type varies by
MACHINE. Thus, move it out of <arm/bootconfig.h> and put it into
<machine/bootconfig.h> on those MACHINEs (cats, hpcarm, and shark) where
it's used outside the file in which it's defined.
 1.5 24-Oct-2006  bjh21 Use <arm/bootconfig.h>.
 1.4 11-Dec-2005  christos branches: 1.4.20; 1.4.22;
merge ktrace-lwp.
 1.3 03-Jun-2005  rjs branches: 1.3.2;
Add a const.
 1.2 21-Jun-2001  chris branches: 1.2.8; 1.2.24;
Tidy up bootconfig, only needs the footbridge section on cats.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.24.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.2.8.2 21-Jun-2001  chris Tidy up bootconfig, only needs the footbridge section on cats.
 1.2.8.1 21-Jun-2001  chris file bootconfig.h was added on branch nathanw_sa on 2001-06-21 22:08:29 +0000
 1.3.2.1 30-Dec-2006  yamt sync with head.
 1.4.22.1 10-Dec-2006  yamt sync with head.
 1.4.20.1 18-Nov-2006  ad Sync with head.
 1.3 25-Nov-2001  thorpej End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.2 12-Jun-2001  matt branches: 1.2.2; 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.1 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.4 17-Jul-2011  dyoung On ARM-ish ports having PCI support, use new-style <sys/bus.h>. Do not
install <machine/bus.h>. Remove various <machine/bus.h> sources.
 1.3 25-Nov-2001  thorpej End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.2 18-Jun-2001  bjh21 branches: 1.2.2; 1.2.8;
Move <arm/arm32/bus.h> to <arm/bus.h>, since it looks like it's going to be
necessary on arm26 as well.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.1 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1 01-Jul-2011  dyoung Per discussion at
<http://mail-index.netbsd.org/tech-kern/2010/04/02/msg007941.html>,
divide each machine's bus.h into bus_defs.h (constants & data types)
and bus_funcs.h (macro implementations of bus_space(9) routines and MD
prototypes).

Note that some bus_space(9) routines' implementation will move to .c
files from inline subroutines or macros in .h files.

I've only made the split for machine architectures where there is PCI.
All of the non-PCI-having architectures will require a similar split.

These #include files are not referenced by any (committed) Makefiles or
header files, yet. Changes to Makefiles, to <sys/bus.h>, and to some
more machine-dependent files will dribble in before I throw the switch.
 1.1 01-Jul-2011  dyoung Per discussion at
<http://mail-index.netbsd.org/tech-kern/2010/04/02/msg007941.html>,
divide each machine's bus.h into bus_defs.h (constants & data types)
and bus_funcs.h (macro implementations of bus_space(9) routines and MD
prototypes).

Note that some bus_space(9) routines' implementation will move to .c
files from inline subroutines or macros in .h files.

I've only made the split for machine architectures where there is PCI.
All of the non-PCI-having architectures will require a similar split.

These #include files are not referenced by any (committed) Makefiles or
header files, yet. Changes to Makefiles, to <sys/bus.h>, and to some
more machine-dependent files will dribble in before I throw the switch.
 1.2 28-Sep-2002  chris Thought I'd checked this in a while back, cats does not need byte_swap.h.
That was me misunderstanding the build system. (the Makefile change slipped
in as version 1.15)
 1.1 26-Aug-2002  chris branches: 1.1.2; 1.1.4; 1.1.6;
Add byte_swap.h for cats, this creates the /usr/include/machine/byte_swap.h
 1.1.6.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.1.6.2 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.1.6.1 26-Aug-2002  jdolecek file byte_swap.h was added on branch kqueue on 2002-09-06 08:33:40 +0000
 1.1.4.2 30-Aug-2002  gehenna catch up with -current.
 1.1.4.1 26-Aug-2002  gehenna file byte_swap.h was added on branch gehenna-devsw on 2002-08-30 00:19:26 +0000
 1.1.2.3 18-Oct-2002  nathanw Catch up to -current.
 1.1.2.2 27-Aug-2002  thorpej Sync with -current.
 1.1.2.1 26-Aug-2002  thorpej file byte_swap.h was added on branch nathanw_sa on 2002-08-27 06:03:18 +0000
 1.3 25-Nov-2001  thorpej End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.2 12-Jun-2001  matt branches: 1.2.2; 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.1 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.9 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.8 10-Feb-2002  chris branches: 1.8.8;
Following the demise of arch/arm32 update cats, and restore the isa files to a more sane location.
Also fix build break on GENERIC cats kernel, seems that conf.h should have been including arm/conf.h.

This completes the removal of arch/arm32.
 1.7 25-Nov-2001  thorpej End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.6 16-Sep-2001  matt branches: 1.6.4;
Add missing devices (IOP,MLX,MLY,LD), PCI, stub AGP, ...
 1.5 04-Sep-2001  wiz branches: 1.5.2;
Typo fix (specifc instead of specific).
 1.4 04-Sep-2001  matt include "fcom.h" since this is the only cats-specific device.
 1.3 04-Sep-2001  chris Fix typos in conf.h. This stops the kernel from panicing on boot.
 1.2 03-Sep-2001  matt Use new shared arm/arm32/conf.c
 1.1 08-Jun-2001  chris branches: 1.1.2;
Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.1.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.1.2.3 16-Mar-2002  jdolecek Catch up with -current.
 1.1.2.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.2.1 13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.5.2.1 01-Oct-2001  fvdl Catch up with -current.
 1.6.4.4 17-Sep-2002  nathanw Catch up to -current.
 1.6.4.3 28-Feb-2002  nathanw Catch up to -current.
 1.6.4.2 08-Jan-2002  nathanw Catch up to -current.
 1.6.4.1 16-Sep-2001  nathanw file conf.h was added on branch nathanw_sa on 2002-01-08 00:23:50 +0000
 1.8.8.1 19-May-2002  gehenna Remove port-dependent conf.h.
 1.3 25-Nov-2001  thorpej End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.2 12-Jun-2001  matt branches: 1.2.2; 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.1 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2 12-Jun-2001  matt branches: 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.2 12-Jun-2001  matt Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.2.8.1 12-Jun-2001  matt file cpufunc.h was added on branch nathanw_sa on 2001-06-12 17:37:38 +0000
 1.2 12-Jun-2001  matt branches: 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.2 12-Jun-2001  matt Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.2.8.1 12-Jun-2001  matt file cpus.h was added on branch nathanw_sa on 2001-06-12 17:37:38 +0000
 1.2 22-Aug-2021  skrll s/u_int32_t/uint32_t/

NFCI
 1.1 20-Jun-2001  chris branches: 1.1.8;
Remove defopt EBSA285.
Move the files from footbridge that are cats specific.
Remove EBSA285 kernel as people should be able to use the generic cats kernel for EBSA285 systems.
 1.1.8.2 20-Jun-2001  chris Remove defopt EBSA285.
Move the files from footbridge that are cats specific.
Remove EBSA285 kernel as people should be able to use the generic cats kernel for EBSA285 systems.
 1.1.8.1 20-Jun-2001  chris file cyclone_boot.h was added on branch nathanw_sa on 2001-06-20 22:14:35 +0000
 1.3 25-Nov-2001  thorpej End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.2 12-Jun-2001  matt branches: 1.2.2; 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.1 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.7 07-May-2013  matt Make all ports use a common disklabel.h with MAXPARTITIONS set to 16.
Only RAW_PART varies between ports.
 1.6 30-Aug-2011  bouyer branches: 1.6.2; 1.6.12;
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.5 11-Dec-2005  christos merge ktrace-lwp.
 1.4 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.3 25-Nov-2001  thorpej branches: 1.3.16;
End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.2 12-Jun-2001  matt branches: 1.2.2; 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.1 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3.16.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.6.12.1 23-Jun-2013  tls resync from head
 1.6.2.1 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.4 25-Nov-2001  thorpej Move disklabel_acorn.h to <sys/disklabel_acorn.h>, much like we did
with disklabel_mbr.h. More cleanup yet to come.
 1.3 25-Nov-2001  thorpej End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.2 12-Jun-2001  matt branches: 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.2 12-Jun-2001  matt Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.2.8.1 12-Jun-2001  matt file disklabel_acorn.h was added on branch nathanw_sa on 2001-06-12 17:37:38 +0000
 1.3 25-Nov-2001  thorpej End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.2 12-Jun-2001  matt branches: 1.2.2; 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.1 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3 25-Nov-2001  thorpej End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.2 23-Jun-2001  bjh21 branches: 1.2.2; 1.2.8;
Add <arm/endian.h> and remove the cats, dnard and netwinder versions, since
they're all the same (a redirect to <sys/endian.h>).
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.1 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3 25-Nov-2001  thorpej End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.2 12-Jun-2001  matt branches: 1.2.2; 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.1 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3 25-Nov-2001  thorpej End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.2 12-Jun-2001  matt branches: 1.2.2; 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.1 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.4 11-Jan-2013  matt Remove FPA specific header.
 1.3 25-Nov-2001  thorpej branches: 1.3.158; 1.3.168;
End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.2 12-Jun-2001  matt branches: 1.2.2; 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.1 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3.168.1 25-Feb-2013  tls resync with head
 1.3.158.1 23-Jan-2013  yamt sync with head
 1.1 08-Jun-2001  chris branches: 1.1.8;
Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.1.8.2 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.1.8.1 08-Jun-2001  chris file frame.h was added on branch nathanw_sa on 2001-06-08 22:23:01 +0000
 1.3 25-Nov-2001  thorpej End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.2 12-Jun-2001  matt branches: 1.2.2; 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.1 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3 25-Nov-2001  thorpej End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.2 12-Jun-2001  matt branches: 1.2.2; 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.1 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3 25-Nov-2001  thorpej End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.2 12-Jun-2001  matt branches: 1.2.2; 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.1 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3 25-Nov-2001  thorpej End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.2 12-Jun-2001  matt branches: 1.2.2; 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.1 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.5 11-Dec-2005  christos merge ktrace-lwp.
 1.4 08-May-2004  kleink Factor out W{CHAR,INT}_{MAX,MIN} into their own header file.
 1.3 25-Nov-2001  thorpej branches: 1.3.16;
End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.2 12-Jun-2001  matt branches: 1.2.2; 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.1 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3.16.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.16.2 18-Sep-2004  skrll Sync with HEAD.
 1.3.16.1 03-Aug-2004  skrll Sync with HEAD
 1.3 25-Nov-2001  thorpej End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.2 12-Jun-2001  matt branches: 1.2.2; 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.1 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3 25-Nov-2001  thorpej End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.2 12-Jun-2001  matt branches: 1.2.2; 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.1 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.5 28-Sep-2002  chris cats and netwinder can share a common footbridge_intr.h file, so install and
share a common file.
 1.4 28-Sep-2002  chris Enable the use of a seperate statclock.

Currently statclock runs at 64hz, maybe it should be faster or slower, I did
try it being the same as hz, but that just made it look like we spent 10% of
time handling interrupts, rather than the 3% that this gives.

Also fix the IPL_LEVELS for netwinder.
 1.3 28-Sep-2002  chris We have 9 IPL levels, not 8.
 1.2 26-Nov-2001  thorpej branches: 1.2.4;
Use <arm/arm32/psl.h> rather than <machine/psl.h>.
 1.1 08-Jun-2001  chris branches: 1.1.2; 1.1.8;
Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.1.8.3 18-Oct-2002  nathanw Catch up to -current.
 1.1.8.2 08-Jan-2002  nathanw Catch up to -current.
 1.1.8.1 08-Jun-2001  nathanw file intr.h was added on branch nathanw_sa on 2002-01-08 00:23:52 +0000
 1.1.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.1.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2.4.1 17-Mar-2002  thorpej IPL_IMP -> IPL_VM
 1.2 12-Jun-2001  chris branches: 1.2.8;
Cats doesn't need io.h any more as it has it's own conf.c files.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.2 12-Jun-2001  chris Cats doesn't need io.h any more as it has it's own conf.c files.
 1.2.8.1 12-Jun-2001  chris file io.h was added on branch nathanw_sa on 2001-06-12 08:31:54 +0000
 1.4 19-Jan-2008  chris Remove arm support for IPKDB.

It hasn't worked since arm was broken out from arm32 in Jan 2001, and
no-one has noticed or cared to fix it.
 1.3 25-Nov-2001  thorpej branches: 1.3.32; 1.3.90; 1.3.94; 1.3.96; 1.3.102; 1.3.110;
End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.2 12-Jun-2001  matt branches: 1.2.2; 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.1 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3.110.1 20-Jan-2008  bouyer Sync with HEAD
 1.3.102.1 18-Feb-2008  mjf Sync with HEAD.
 1.3.96.1 23-Mar-2008  matt sync with HEAD
 1.3.94.1 20-Jan-2008  chris Sync to HEAD.
 1.3.90.1 28-Feb-2008  rjs Sync with HEAD.
 1.3.32.1 21-Jan-2008  yamt sync with head
 1.5 22-Oct-2002  chris netwinder and cats can share irqhandler.h, so move (and rename) into the
footbridge dir, and share it.
 1.4 12-Apr-2002  thorpej Centralize ARM CPU configuration information by adding a new header
file, <arm/cpuconf.h>, which pulls in "opt_cputypes.h" and then defines
the following:
* CPU_NTYPES -- now many CPU types are configured into the kernel. What
you really want to know is "== 1" or "> 1".
* Defines ARM_ARCH_2, ARM_ARCH_3, ARM_ARCH_4, ARM_ARCH_5, depending
on which ARM architecture versions are configured (based on CPU_*
options). Also defines ARM_NARCH to determins how many architecture
versions are configured.
* Defines ARM_MMU_MEMC, ARM_MMU_GENERIC, ARM_MMU_XSCALE depending on
which classes of ARM MMUs are configured into the kernel, and ARM_NMMUS
to determine how many MMU classes are configured.

Remove the needless inclusion of "opt_cputypes.h" in several places.
Convert remaining users to <arm/cpuconf.h>.
 1.3 20-Feb-2002  skrll Remove a whole load of non-CATS stuff.
 1.2 20-Dec-2001  thorpej * Share a common vector page between arm26 and arm32.
* Use a common set of exception handlers for all arm32 platforms.
* New FIQ framework based on discussions with Ben Harris, shared
between arm26 and arm32.
 1.1 08-Jun-2001  chris branches: 1.1.2; 1.1.8;
Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.1.8.5 11-Nov-2002  nathanw Catch up to -current
 1.1.8.4 17-Apr-2002  nathanw Catch up to -current.
 1.1.8.3 28-Feb-2002  nathanw Catch up to -current.
 1.1.8.2 08-Jan-2002  nathanw Catch up to -current.
 1.1.8.1 08-Jun-2001  nathanw file irqhandler.h was added on branch nathanw_sa on 2002-01-08 00:23:53 +0000
 1.1.2.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.2.2 16-Mar-2002  jdolecek Catch up with -current.
 1.1.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.5 12-Oct-2002  chris Merge isa_machdep.c from netwinder and cats into footbridge/isa (where it
joins other machdep files)
Saves maintaining multiple copies of the same thing, the only differences
were:
IRQ line used on the footbridge (made that a define in include/isa_machdep.h)
name of a dma_ranges variable contained arch name, so just made it generic.
 1.4 07-Jan-2002  chris Finish up the changes to get LOOSE_PROTOTYPES working for cats.
Note that this leaves a few inconsistencies (no more than we already had though) eg initarm is now prototyped in arm32/machdep.h, however only cats currently makes use of that header.
 1.3 07-Dec-2001  chris Reintroduce these header files so that cats kernels can build. Fallout from Jason reverting the includes stuff.
 1.2 12-Jun-2001  matt branches: 1.2.2; 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.4 18-Oct-2002  nathanw Catch up to -current.
 1.2.8.3 28-Feb-2002  nathanw Catch up to -current.
 1.2.8.2 11-Jan-2002  nathanw More catchup.
 1.2.8.1 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.2 18-Oct-2002  jdolecek sync with -current:
Merge isa_machdep.c from netwinder and cats into footbridge/isa
 1.2.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3 07-Dec-2001  chris Reintroduce these header files so that cats kernels can build. Fallout from Jason reverting the includes stuff.
 1.2 12-Jun-2001  matt branches: 1.2.2; 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.1 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3 11-Dec-2005  christos merge ktrace-lwp.
 1.2 02-Jul-2004  drochner just include <sys/joystick.h>
 1.1 08-Jun-2001  chris branches: 1.1.8; 1.1.24;
Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.1.24.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.24.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.24.1 03-Aug-2004  skrll Sync with HEAD
 1.1.8.2 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.1.8.1 08-Jun-2001  chris file joystick.h was added on branch nathanw_sa on 2001-06-08 22:23:02 +0000
 1.2 22-Nov-2001  thorpej Kill <machine/katelib.h>. Any place that still uses it should just
reference <arm/arm32/katelib.h> until such time as all use of this
file has been purged from the face of the earth.
 1.1 08-Jun-2001  chris branches: 1.1.2; 1.1.8;
Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.1.8.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.8.1 08-Jun-2001  nathanw file katelib.h was added on branch nathanw_sa on 2002-02-28 04:08:41 +0000
 1.1.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2 22-Nov-2001  thorpej Remove kerndebug.h from non-Shark code (it's a Shark-specific header
file, and probably should be done away with anyway).
 1.1 08-Jun-2001  chris branches: 1.1.2; 1.1.8;
Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.1.8.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.8.1 08-Jun-2001  nathanw file kerndebug.h was added on branch nathanw_sa on 2002-02-28 04:08:41 +0000
 1.1.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3 25-Nov-2001  thorpej End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.2 12-Jun-2001  matt branches: 1.2.2; 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.1 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3 25-Nov-2001  thorpej End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.2 12-Jun-2001  matt branches: 1.2.2; 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.1 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 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:31 +0000
 1.3 25-Nov-2001  thorpej End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.2 12-Jun-2001  matt branches: 1.2.2; 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.1 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2 17-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.1 11-Apr-2002  thorpej branches: 1.1.2;
file mcontext.h was initially added on branch nathanw_sa.
 1.1.2.1 11-Apr-2002  thorpej Add mcontext.h
 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:11 +0000
 1.1 03-Aug-2014  martin branches: 1.1.2; 1.1.6;
Add a few missing netbsd32_machdep.h files
 1.1.6.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.6.1 03-Aug-2014  tls file netbsd32_machdep.h was added on branch tls-maxphys on 2014-08-20 00:02:50 +0000
 1.1.2.2 10-Aug-2014  tls Rebase.
 1.1.2.1 03-Aug-2014  tls file netbsd32_machdep.h was added on branch tls-earlyentropy on 2014-08-10 06:53:53 +0000
 1.9 31-May-2021  simonb Include "opt_param.h" (ifdef _KERNEL_OPT) everywhere that MSGBUFSIZE is
referenced since some sources include <machine/param.h>.
 1.8 01-Dec-2010  skrll branches: 1.8.76;
Define PCI_MAGIC_IO_RANGE, so that Xorg drivers can mmap PCI IO space.
 1.7 03-Jan-2003  thorpej branches: 1.7.132;
Remove obsolete MACHINE_ARCH -> arm32
 1.6 28-Jun-2002  tsutsui Define MSGBUFSIZE here only if it's not specified by options(4).
 1.5 07-Jun-2002  chris dmesg from cats booting can be bigger than 4k, so enlarge it to 8k.
 1.4 12-Feb-2002  thorpej branches: 1.4.8;
* For platforms which are already ELF, remove the definition of
MACHINE_ARCH since <arm/param.h> already sets it correctly to "arm".
* For platforms which are not yet ELF, defined MACHINE_ARCH to "arm32"
if __ELF__ is not defined by the C preprocessor.
* In <arm/param.h>, clarify the rules about when MACHINE and
MACHINE_ARCH are defined, and to what. Also, for ELF platforms,
int the non-_KERNEL case, force both MACHINE and MACHINE_ARCH to "arm",
rather than allowing platform-specifc code to define either.
 1.3 12-Jun-2001  matt branches: 1.3.2; 1.3.8;
Revert back to arm32 (for now).
 1.2 12-Jun-2001  matt The machine is cats, the machine_arch is arm (not arm32).
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.3.8.5 03-Jan-2003  thorpej Sync with HEAD.
 1.3.8.4 01-Aug-2002  nathanw Catch up to -current.
 1.3.8.3 20-Jun-2002  nathanw Catch up to -current.
 1.3.8.2 28-Feb-2002  nathanw Catch up to -current.
 1.3.8.1 12-Jun-2001  nathanw file param.h was added on branch nathanw_sa on 2002-02-28 04:08:41 +0000
 1.3.2.3 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.3.2.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.3.2.1 16-Mar-2002  jdolecek Catch up with -current.
 1.4.8.2 16-Jul-2002  gehenna catch up with -current.
 1.4.8.1 14-Jul-2002  gehenna catch up with -current.
 1.7.132.1 05-Mar-2011  rmind sync with head
 1.8.76.1 17-Jun-2021  thorpej Sync w/ HEAD.
 1.3 25-Nov-2001  thorpej End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.2 03-Sep-2001  matt branches: 1.2.6;
Add a merged <pcb.h> for arm26/arm32.
 1.1 08-Jun-2001  chris branches: 1.1.2;
Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.1.2.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.2.1 13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.2.6.1 08-Jan-2002  nathanw Catch up to -current.
 1.1 08-Jun-2001  chris branches: 1.1.8;
Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.1.8.2 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.1.8.1 08-Jun-2001  chris file pci_machdep.h was added on branch nathanw_sa on 2001-06-08 22:23:03 +0000
 1.3 07-Dec-2001  chris Reintroduce these header files so that cats kernels can build. Fallout from Jason reverting the includes stuff.
 1.2 12-Jun-2001  matt branches: 1.2.2; 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.1 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2 23-Nov-2001  thorpej Extra whitespace removal.
 1.1 08-Jun-2001  chris branches: 1.1.2; 1.1.8;
Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.1.8.2 08-Jan-2002  nathanw Catch up to -current.
 1.1.8.1 08-Jun-2001  nathanw file pmap.h was added on branch nathanw_sa on 2002-01-08 00:23:54 +0000
 1.1.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 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.204; 1.1.206;
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.206.1 10-Jun-2019  christos Sync with HEAD
 1.1.204.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:33:41 +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:26 +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:05 +0000
 1.3 25-Nov-2001  thorpej End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.2 12-Jun-2001  matt branches: 1.2.2; 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.1 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3 25-Nov-2001  thorpej End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.2 12-Jun-2001  matt branches: 1.2.2; 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.1 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2 12-Jun-2001  matt branches: 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.2 12-Jun-2001  matt Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.2.8.1 12-Jun-2001  matt file profileio.h was added on branch nathanw_sa on 2001-06-12 17:37:42 +0000
 1.3 26-Nov-2001  thorpej Delete <machine/psl.h> from the ARM ports. It's not a header that
we need to provide to MI code or to userland, and it's also not a
header that generic ARM code should be including directly.
 1.2 25-Nov-2001  thorpej End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.1 08-Jun-2001  chris branches: 1.1.2; 1.1.8;
Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.1.8.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.8.1 08-Jun-2001  nathanw file psl.h was added on branch nathanw_sa on 2002-02-28 04:08:41 +0000
 1.1.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2 12-Jun-2001  matt branches: 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.2 12-Jun-2001  matt Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.2.8.1 12-Jun-2001  matt file pte.h was added on branch nathanw_sa on 2001-06-12 17:37:42 +0000
 1.3 25-Nov-2001  thorpej End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.2 12-Jun-2001  matt branches: 1.2.2; 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.1 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3 25-Nov-2001  thorpej End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.2 12-Jun-2001  matt branches: 1.2.2; 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.1 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2 25-Nov-2001  thorpej End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.1 08-Jun-2001  chris branches: 1.1.2; 1.1.8;
Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.1.8.2 08-Jan-2002  nathanw Catch up to -current.
 1.1.8.1 08-Jun-2001  nathanw file rtc.h was added on branch nathanw_sa on 2002-01-08 00:23:55 +0000
 1.1.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 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:11 +0000
 1.3 25-Nov-2001  thorpej End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.2 12-Jun-2001  matt branches: 1.2.2; 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.1 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3 25-Nov-2001  thorpej End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.2 12-Jun-2001  matt branches: 1.2.2; 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.1 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.4 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.3 25-Nov-2001  thorpej End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.2 12-Jun-2001  matt branches: 1.2.2; 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.1 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3 25-Nov-2001  thorpej End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.2 14-Jul-2001  matt branches: 1.2.6;
Make <sysarch.h> valid for all arm platforms. Adjust/remove port-specific
includes as required.
 1.1 08-Jun-2001  chris branches: 1.1.2;
Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.1.2.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.2.1 03-Aug-2001  lukem update to -current
 1.2.6.1 08-Jan-2002  nathanw Catch up to -current.
 1.3 25-Nov-2001  thorpej End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.2 12-Jun-2001  matt branches: 1.2.2; 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.1 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.15 01-Apr-2021  simonb Whitespace: #define<tab>
 1.14 26-Jan-2017  christos branches: 1.14.26; 1.14.28;
provide __HAVE_COMPAT_NETBSD32 and fix multiple include protection consistently.
 1.13 17-Aug-2013  matt branches: 1.13.6; 1.13.10; 1.13.14;
#define __HAVE_FAST_SOFTINT
 1.12 17-Jul-2011  dyoung branches: 1.12.2; 1.12.12; 1.12.16;
On ARM-ish ports having PCI support, use new-style <sys/bus.h>. Do not
install <machine/bus.h>. Remove various <machine/bus.h> sources.
 1.11 20-Jan-2008  joerg Now that __HAVE_TIMECOUNTER and __HAVE_GENERIC_TODR are invariants,
remove the conditionals and the code associated with the undef case.
 1.10 17-Oct-2007  garbled branches: 1.10.2; 1.10.8;
Merge the ppcoea-renovation branch to HEAD.

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

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

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.9 14-Jul-2007  ad branches: 1.9.6; 1.9.10; 1.9.12;
Generic soft interrupts are mandatory.
 1.8 19-Sep-2006  he branches: 1.8.8; 1.8.16;
Convert the NetBSD/cats port to use generic TODR.

This gets rid of the now-unneded "todclock" and "todservice" attributes
from the footbridge device files, which should allow netwinder to build
again after its conversion to generic TODR.

Resulting kernel verified to boot up OK on gxemul (after my recent
fixes of the gxemul package to emulate free-running timers).
 1.7 11-Sep-2006  gdamore branches: 1.7.2;
Convert netwinder and cats (and any other footbridge based system in the
future) to timecounters, using the dc21285_fclk. ok nick@, chris@.
 1.6 03-Sep-2006  bjh21 branches: 1.6.2;
Nothing in the kernel now tests __HAVE_NWSCONS, so stop defining it everywhere.
 1.5 03-Nov-2002  chris branches: 1.5.22; 1.5.36; 1.5.40;
Checkin new interrupt handling code for the footbridge.
This is based upon Jason's work on xscale.

Most of the interrupt handling code is now written in C using an asm stub to
call into the C code.

spl* now only updates a software mask, and does not update the hardware,
this should be much faster.

The new code works well on cats, it's untested on netwinder, but should work.

The code implements generic soft interrupts.

More work is still required to bring the isa interrupt handling code upto
scratch currently all isa interrupts are handled at IPL_BIO on the footbridge.
This may cause isa interrupts to be handled later than they should be.
I plan to fix this in the near future.
 1.4 28-Feb-2002  simonb Use "#define<tab>".
 1.3 25-Nov-2001  thorpej End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.2 22-Nov-2001  thorpej Add 26-bit and 32-bit types.h files, which indicate the programming
model in use for a given platform (__PROG26 vs __PROG32), then pulls
in <arm/types.h>. Change each ARM port to pull in <arm/arm26/types.h>
or <arm/arm32/types.h> as appropriate. Change all references to PROG26
and PROG32 to __PROG26 and __PROG32. Eliminate the opt_progmode.h
header file.
 1.1 08-Jun-2001  chris branches: 1.1.2; 1.1.8;
Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.1.8.4 11-Nov-2002  nathanw Catch up to -current
 1.1.8.3 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.1.8.2 08-Jan-2002  nathanw Catch up to -current.
 1.1.8.1 08-Jun-2001  nathanw file types.h was added on branch nathanw_sa on 2002-01-08 00:23:56 +0000
 1.1.2.2 16-Mar-2002  jdolecek Catch up with -current.
 1.1.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.5.40.1 14-Sep-2006  yamt sync with head.
 1.5.36.1 09-Sep-2006  rpaulo sync with head
 1.5.22.3 21-Jan-2008  yamt sync with head
 1.5.22.2 03-Sep-2007  yamt sync with head.
 1.5.22.1 30-Dec-2006  yamt sync with head.
 1.6.2.1 18-Nov-2006  ad Sync with head.
 1.7.2.1 22-Oct-2006  yamt sync with head
 1.8.16.1 03-Oct-2007  garbled Sync with HEAD
 1.8.8.1 15-Jul-2007  ad Sync with head.
 1.9.12.2 23-Mar-2008  matt sync with HEAD
 1.9.12.1 28-Jan-2008  matt Given the that there are only 4 IPLs (ignoring soft IPLs), a number of
cleanups can be done:
Remove _SPL_* aliases.
Don't store irqmasks in ci_cpl, just make it an ipl level.
Add fast softint switching support.
 1.9.10.3 27-Jan-2008  chris Sync to HEAD.
 1.9.10.2 01-Jan-2008  chris Sync with HEAD.
 1.9.10.1 11-Aug-2007  chris Initial check-in of reworked arm interrupt routines.

Main things to note on this branch:
* spl routines are inlined, less complex, and small (kernel drops in size)
* interrupts are handled in priority order (for most things it doesn't
matter, but pending ipls are used to determine if there is any work to do)
* arm_irqhandler.c is derived from footbridge_irqhandler.c, which was based
on work by thorpej.
* The code tries to touch hardware as little as possible.
* spl masks are no longer tracked, as the system is based on pending ipls

The shared code uses global ipl lists to track which interrupt handlers
are attached to which ipl (arm_iplq[]).

Interrupt sources register with the common code to indicate:
* how many irq lines they have
* a function to set the hardware mask.
* call arm_intr_claim and arm_intr_disestablish to setup handlers

When an interrupt occurs the ipl is flagged as pending, in ipls_pending.
If it can be handled at the current_ipl_level the code does so.
If it can't be handled it's left until the current_ipl_level drops.

As the ipl level changes down a quick test is made of the new ipl level
against the ipls_pending value. If an ipl is pending arm_intr_splx_lifter
is called to handle the pending ipls.

It should be noted that all interrupts are left enabled at the hardware
level, interrupts are only masked when they occur. They are only
re-enabled after it's interrupt handler is called. Hardware masks are not
changed at any other time.

Soft interrupts are treated the same as hardware interrupts, they
register as a provider, and do not get treated specially. All the soft
interrupt handlers are placed onto the relevant global ipl queue, the same
as hard interrupts handlers.

At the moment only footbridge within a cats has been updated to use the new
handling.

Todo:
* change the handling of interrupts, so that the hardware doesn't register
a routine to fetch the hardware status. Instead is makes a call which
provides the mask. This removes the primary flag when registering an
interrupt provider. It also makes more sense with multiple interrupt
sources.
* Arm v5 has the clz asm, which could be used instead of the carefully
hand rolled arm_intr_fls function.
* switch cats isa support to use this framework.
* switch iomd and acorn32 to use this framework.
* switch shark to use this framework.
* port any other arm platforms that are interested
* examine overlaps between this code and ppcoea-renovation branch.
* add support for different trigger types (Edge, level, pulse, etc)

(note that iomd and shark currently touch hardware on every spl change,
hence why they're targets to port)
 1.9.6.1 28-Feb-2008  rjs Sync with HEAD.
 1.10.8.1 23-Jan-2008  bouyer Sync with HEAD.
 1.10.2.1 18-Feb-2008  mjf Sync with HEAD.
 1.12.16.1 28-Aug-2013  rmind sync with head
 1.12.12.2 03-Dec-2017  jdolecek update from HEAD
 1.12.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.12.2.1 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.13.14.1 21-Apr-2017  bouyer Sync with HEAD
 1.13.10.1 20-Mar-2017  pgoyette Sync with HEAD
 1.13.6.1 05-Feb-2017  skrll Sync with HEAD
 1.14.28.1 03-Apr-2021  thorpej Sync with HEAD.
 1.14.26.1 03-Apr-2021  thorpej Sync with HEAD.
 1.2 12-Jun-2001  matt branches: 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.2 12-Jun-2001  matt Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.2.8.1 12-Jun-2001  matt file undefined.h was added on branch nathanw_sa on 2001-06-12 17:37:43 +0000
 1.4 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.3 25-Nov-2001  thorpej End the "new ARM includes strategy" experiment. The new strategy
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).

Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
 1.2 12-Jun-2001  matt branches: 1.2.2; 1.2.8;
Eliminate all files that are just #include <arm.foo.h>. Update Makefile
to refer to cats, not netwinder.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.8.1 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.31 27-Mar-2019  christos - expose vmparams to userland on arm, like other archs do.
- remove unneeded includes
 1.30 02-Nov-2017  skrll branches: 1.30.4;
ISA exists on more that just shark. Fix a comment about this.
 1.29 23-Feb-2015  joerg Use default PAGER_MAP_DEFAULT_SIZE for ARM and PowerPC, exception
acorn26. This bumps the KVA reservation from 4MB to 16MB and avoids
long hangs on my Cubietruck under IO. acorn26 is kept as it does have a
ridiculous low 32MB KVA limit.
 1.28 18-Feb-2012  christos branches: 1.28.2; 1.28.16;
expose more for kmemuser/fix include protection
 1.27 06-Nov-2010  uebayasi branches: 1.27.8; 1.27.12;
Remove incomplete, never worked dynamic run-time memory registration
(uvm_page_physload(9)). This functionality will be re-added later.
 1.26 25-Oct-2007  yamt branches: 1.26.40; 1.26.42;
defparam PAGER_MAP_SIZE.
 1.25 11-Dec-2005  christos branches: 1.25.30; 1.25.46; 1.25.48; 1.25.50; 1.25.52; 1.25.56;
merge ktrace-lwp.
 1.24 07-Aug-2003  agc branches: 1.24.16;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.23 22-May-2003  thorpej branches: 1.23.2;
Move KERNEL_VM_SIZE into the C files where its used.
 1.22 22-May-2003  thorpej Use virtual_avail and virtual_end to compute the size of the available
kernel VM space for VM_MAX_KERNEL_BUF, and move the definition into
generic ARM code.
 1.21 21-May-2003  thorpej Move KERNEL_VM_BASE inside where it is used (it won't be there for long).
 1.20 03-May-2003  thorpej Don't expose KERNEL_TEXT_BASE outside of board-specific code. This gives
individual board start-up code more flexibility about where the kernel
starts in the kernel address space.
 1.19 03-May-2003  thorpej Remove old pmap support for platforms which have fully switched over.
 1.18 28-Apr-2003  thorpej Don't define APTE_BASE if ARM32_PMAP_NEW is defined; the new pmap
doesn't use it.
 1.17 02-Apr-2003  thorpej Use PAGE_SIZE rather than NBPG.
 1.16 14-Sep-2002  thorpej Back out previous; it breaks binary compatibility between platforms
in the same MACHINE_ARCH.
 1.15 14-Sep-2002  mycroft Move some #defines out of _KERNEL.
 1.14 22-Jun-2002  chris Back out last change, following jason's advice, it's lsof that's actually
broken not the headers.
 1.13 22-Jun-2002  chris Allow userland to see machine/vmparam.h. This allows ntop to compile, as it uses the struct uvm from uvm.h, which need the VM_NFREELIST definition.

Of course this does mean that ntop could potentially be platform specific, ie different versions for cats, acorn32 etc as struct uvm maybe a different size, but running on the same cpu architecture.
 1.12 24-Mar-2002  chris branches: 1.12.2;
cats has enough kvm space to use the default pager_map size.
 1.11 23-Mar-2002  thorpej * Change all uses of KERNEL_SPACE_START to KERNEL_BASE.
* Delete now unused KERNEL_SPACE_START.
 1.10 23-Mar-2002  thorpej Define KERNEL_TEXT_BASE, APTE_BASE, and KERNEL_VM_BASE in terms of
KERNEL_BASE.
 1.9 23-Mar-2002  thorpej * Rename PROCESS_PAGE_TBLS_BASE -> PTE_BASE
* Rename ALT_PAGE_TBLS_BASE -> APTE_BASE
* Garbage-collect PAGE_TABLE_SPACE_START
 1.8 03-Mar-2002  chris Implement pmap_growkernel for arm32 based ports.
Note that this has been compiled on some systems, cats, IQ80310, IPAQ, netwinder and shark (note that shark's build is currently broken due to other reasons), but only actually run on cats.
Shark doesn't make use of the functionality as I believe there has to be a correlation between OFW and the kernel tables so that calls into OFW work.
 1.7 23-Nov-2001  thorpej Move even more constants into the shared 32-bit vmparam.h header.
Cleanup elsewhere will have to be done before we can sanitize this
header any further.
 1.6 23-Nov-2001  thorpej - Move more contents of various <machine/vmparam.h> files into
<arm/arm32/vmparam.h> (mostly the stuff that's tied to the pmap
implementation).
- Since the MMU definitions in pte.h are specific to ARM processors
that support 32-bit mode, move pte.h to <arm/arm32/pte.h>.
- Make the Netwinder startup file build again (use PT_B|PT_C, rather
than PT_CACHEABLE, since the latter expands to a variable these days).
 1.5 15-Nov-2001  soren MAXSLP is defined to be a machine-independent scheduling parameter,
so move it into sys/param.h.
 1.4 11-Nov-2001  thorpej branches: 1.4.2;
Pull in common 32-bit ARM VM parameters.
 1.3 11-Aug-2001  chris branches: 1.3.4;
Checking a whole host of pmap changes:
Improved locking (not that we actually use it on a uniprocessor, but one day :)
Removed unneeded splvm's
tweaked pmap_clean_page code to only flush the cache if the page is mapped in the current pmap (based on diff from richard E)
Adopted pv entry allocation mechanism from i386.
Laid framework for returning ptp's when we've finished with them rather than holding onto them till the process exits.
ptp's are now allocated with a uvm object for the pmap, means that we can walk a list to free them off in pmap_release, until they get freed off by pmap_remove.

Also implemented a page zeroing function when the processor is idling. Note that hpcarm may wish to disable this.

I believe this code to be stable, if anyone has any problems please shout up.
 1.2 21-Jun-2001  chris branches: 1.2.2;
Update vmparam.h to just have the cats value for KERNEL_VM_SIZE.

As noted by Robert Swindells.
 1.1 08-Jun-2001  chris Finish off the cats arch dir by creating an include dir and populating it from
arm32/include.
Make use of std.cats in the kernel config.

Fixup files.cats so it actually works.
 1.2.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.2.2.5 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.2.2.4 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.2.3 16-Mar-2002  jdolecek Catch up with -current.
 1.2.2.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2.2.1 25-Aug-2001  thorpej Merge Aug 24 -current into the kqueue branch.
 1.3.4.1 12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.4.2.5 01-Aug-2002  nathanw Catch up to -current.
 1.4.2.4 02-Jul-2002  nathanw Fix a merge botch; remove constants that are defined in <arm/arm32/vmparam.h>.
 1.4.2.3 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.4.2.2 08-Jan-2002  nathanw Catch up to -current.
 1.4.2.1 11-Nov-2001  nathanw file vmparam.h was added on branch nathanw_sa on 2002-01-08 00:23:56 +0000
 1.12.2.1 16-Jul-2002  gehenna catch up with -current.
 1.23.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.23.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.23.2.1 03-Aug-2004  skrll Sync with HEAD
 1.24.16.1 27-Oct-2007  yamt sync with head.
 1.25.56.1 13-Nov-2007  bouyer Sync with HEAD
 1.25.52.1 06-Nov-2007  matt sync with HEAD
 1.25.50.1 01-Jan-2008  chris Sync with HEAD.
 1.25.48.1 28-Oct-2007  joerg Sync with HEAD.
 1.25.46.1 26-Dec-2007  rjs Sync with HEAD.
 1.25.30.1 03-Dec-2007  ad Sync with HEAD.
 1.26.42.1 05-Mar-2011  rmind sync with head
 1.26.40.1 26-Apr-2010  uebayasi Remove the unfinished code to add a memory segment after uvm_page_init().
It doesn't even compile.

(In the future, we should allocate struct vm_page [] on the added memory
segment for NUMA's sake.)
 1.27.12.1 24-Feb-2012  mrg sync to -current.
 1.27.8.1 17-Apr-2012  yamt sync with head
 1.28.16.1 06-Apr-2015  skrll Sync with HEAD
 1.28.2.1 03-Dec-2017  jdolecek update from HEAD
 1.30.4.1 10-Jun-2019  christos 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:33:40 +0000
 1.19 19-Oct-2025  thorpej Use {,e}isabus_attach().
 1.18 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.17 24-Apr-2021  thorpej branches: 1.17.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.16 27-Oct-2012  chs branches: 1.16.52;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.15 01-Jul-2011  dyoung branches: 1.15.2; 1.15.12;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.14 06-Jun-2011  matt Some more device_t, cfdata_t, CFATTACH_DECL_NEW cleanup.
 1.13 14-Jan-2010  skrll branches: 1.13.4; 1.13.10;
s/PCI_PRODUCT_ALI_M1543/PCI_PRODUCT_ALI_M1533/ now that dsl@ has fixed
pcidevs.

Hi dsl!
 1.12 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.11 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.10 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.9 28-Apr-2008  martin branches: 1.9.8; 1.9.14;
Remove clause 3 and 4 from TNF licenses
 1.8 11-Dec-2005  christos branches: 1.8.76; 1.8.78; 1.8.80;
merge ktrace-lwp.
 1.7 30-Aug-2004  drochner Phase out the use of a string as first "attach args" member to control
which bustype should be attached with a specific call to config_found()
(from a "mainbus" or a bus bridge).
Do it for isa/eisa/mca and pci/agp for now. These buses all attach to
an mi interface attribute "isabus", "eisabus" etc., and the autoconf
framework now allows to specify an interface attribute on config_found()
and config_search(), which limits the search of matching config data
to these which attach to that specific attribute.
So we basically have to call config_found_ia(..., "foobus", ...) where
such a bus is attached.
As a consequence, where a "mainbus" or alike also attaches other
devices (eg CPUs) which do not attach to a specific attribute yet,
we need at least pass an attribute name (different from "foobus") so
that the foo bus is not found at these places. This made some minor
changes necessary which are not obviously related to the mentioned buses.
 1.6 23-Apr-2004  itojun pass string length (= boundary info) to pci_devinfo so that we do not run over
the end of memory region
 1.5 15-Jul-2003  lukem __KERNEL_RCSID()
 1.4 01-Jan-2003  thorpej branches: 1.4.2;
Use aprint_normal() for cfprint routines.
 1.3 02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.2 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.1 09-Feb-2002  chris branches: 1.1.2; 1.1.14;
Move the arm32/pci files into the cats dir. AFAIK these files are only used by cats.
 1.1.14.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.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 09-Feb-2002  jdolecek file pcib.c was added on branch kqueue on 2002-06-23 17:35:29 +0000
 1.1.2.4 03-Jan-2003  thorpej Sync with HEAD.
 1.1.2.3 18-Oct-2002  nathanw Catch up to -current.
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 09-Feb-2002  nathanw file pcib.c was added on branch nathanw_sa on 2002-02-28 04:08:42 +0000
 1.4.2.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.4.2.3 18-Sep-2004  skrll Sync with HEAD.
 1.4.2.2 03-Sep-2004  skrll Sync with HEAD
 1.4.2.1 03-Aug-2004  skrll Sync with HEAD
 1.8.80.3 11-Mar-2010  yamt sync with head
 1.8.80.2 04-May-2009  yamt sync with head.
 1.8.80.1 16-May-2008  yamt sync with head.
 1.8.78.1 18-May-2008  yamt sync with head.
 1.8.76.1 02-Jun-2008  mjf Sync with HEAD.
 1.9.14.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.9.8.1 28-Apr-2009  skrll Sync with HEAD.
 1.13.10.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.13.4.1 12-Jun-2011  rmind sync with head
 1.15.12.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.15.2.1 30-Oct-2012  yamt sync with head
 1.16.52.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.17.8.1 03-Aug-2021  thorpej Adapt to CFARGS().
 1.8 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.7 04-Apr-2011  dyoung branches: 1.7.4; 1.7.14;
Neither pci_dma64_available(), pci_probe_device(), pci_mapreg_map(9),
pci_find_rom(), pci_intr_map(9), pci_enumerate_bus(), nor the match
predicate passed to pciide_compat_intr_establish() should ever modify
their pci_attach_args argument, so make their pci_attach_args arguments
const and deal with the fallout throughout the kernel.

For the most part, these changes add a 'const' where there was no
'const' before, however, some drivers and MD code used to modify
pci_attach_args. Now those drivers either copy their pci_attach_args
and modify the copy, or refrain from modifying pci_attach_args:

Xen: according to Manuel Bouyer, writing to pci_attach_args in
pci_intr_map() was a leftover from Xen 2. Probably a bug. I
stopped writing it. I have not tested this change.

siside(4): sis_hostbr_match() needlessly wrote to pci_attach_args.
Probably a bug. I use a temporary variable. I have not tested this
change.

slide(4): sl82c105_chip_map() overwrote the caller's pci_attach_args.
Probably a bug. Use a local pci_attach_args. I have not tested
this change.

viaide(4): via_sata_chip_map() and via_sata_chip_map_new() overwrote the
caller's pci_attach_args. Probably a bug. Make a local copy of the
caller's pci_attach_args and modify the copy. I have not tested
this change.

While I'm here, make pci_mapreg_submap() static.

With these changes in place, I have tested the compilation of these
kernels:

alpha GENERIC
amd64 GENERIC XEN3_DOM0
arc GENERIC
atari HADES MILAN-PCIIDE
bebox GENERIC
cats GENERIC
cobalt GENERIC
evbarm-eb NSLU2
evbarm-el ADI_BRH ARMADILLO9 CP3100 GEMINI GEMINI_MASTER GEMINI_SLAVE GUMSTIX
HDL_G IMX31LITE INTEGRATOR IQ31244 IQ80310 IQ80321 IXDP425 IXM1200
KUROBOX_PRO LUBBOCK MARVELL_NAS NAPPI SHEEVAPLUG SMDK2800 TEAMASA_NPWR
TEAMASA_NPWR_FC TS7200 TWINTAIL ZAO425
evbmips-el AP30 DBAU1500 DBAU1550 MALTA MERAKI MTX-1 OMSAL400 RB153 WGT624V3
evbmips64-el XLSATX
evbppc EV64260 MPC8536DS MPC8548CDS OPENBLOCKS200 OPENBLOCKS266
OPENBLOCKS266_OPT P2020RDB PMPPC RB800 WALNUT
hp700 GENERIC
i386 ALL XEN3_DOM0 XEN3_DOMU
ibmnws GENERIC
macppc GENERIC
mvmeppc GENERIC
netwinder GENERIC
ofppc GENERIC
prep GENERIC
sandpoint GENERIC
sgimips GENERIC32_IP2x
sparc GENERIC_SUN4U KRUPS
sparc64 GENERIC

As of Sun Apr 3 15:26:26 CDT 2011, I could not compile these kernels
with or without my patches in place:

### evbmips-el GDIUM

nbmake: nbmake: don't know how to make /home/dyoung/pristine-nbsd/src/sys/arch/mips/mips/softintr.c. Stop

### evbarm-el MPCSA_GENERIC
src/sys/arch/evbarm/conf/MPCSA_GENERIC:318: ds1672rtc*: unknown device `ds1672rtc'

### ia64 GENERIC

/tmp/genassym.28085/assym.c: In function 'f111':
/tmp/genassym.28085/assym.c:67: error: invalid application of 'sizeof' to incomplete type 'struct pcb'
/tmp/genassym.28085/assym.c:76: error: dereferencing pointer to incomplete type

### sgimips GENERIC32_IP3x

crmfb.o: In function `crmfb_attach':
crmfb.c:(.text+0x2304): undefined reference to `ddc_read_edid'
crmfb.c:(.text+0x2304): relocation truncated to fit: R_MIPS_26 against `ddc_read_edid'
crmfb.c:(.text+0x234c): undefined reference to `edid_parse'
crmfb.c:(.text+0x234c): relocation truncated to fit: R_MIPS_26 against `edid_parse'
crmfb.c:(.text+0x2354): undefined reference to `edid_print'
crmfb.c:(.text+0x2354): relocation truncated to fit: R_MIPS_26 against `edid_print'
 1.6 16-Mar-2009  dsl branches: 1.6.4; 1.6.6;
ANSIfy functions with function-pointer arguments
 1.5 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.4 11-Dec-2005  christos branches: 1.4.80; 1.4.88; 1.4.94;
merge ktrace-lwp.
 1.3 15-Jul-2003  lukem __KERNEL_RCSID()
 1.2 27-Sep-2002  provos branches: 1.2.6;
remove trailing \n in panic(). approved perry.
 1.1 09-Feb-2002  chris branches: 1.1.2; 1.1.14;
Move the arm32/pci files into the cats dir. AFAIK these files are only used by cats.
 1.1.14.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.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 09-Feb-2002  jdolecek file pciide_machdep.c was added on branch kqueue on 2002-06-23 17:35:29 +0000
 1.1.2.3 18-Oct-2002  nathanw Catch up to -current.
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 09-Feb-2002  nathanw file pciide_machdep.c was added on branch nathanw_sa on 2002-02-28 04:08:42 +0000
 1.2.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.2.6.1 03-Aug-2004  skrll Sync with HEAD
 1.4.94.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.4.88.1 28-Apr-2009  skrll Sync with HEAD.
 1.4.80.1 04-May-2009  yamt sync with head.
 1.6.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.6.4.1 21-Apr-2011  rmind sync with head
 1.7.14.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.7.4.1 30-Oct-2012  yamt sync with head

RSS XML Feed