Home | History | Annotate | only in /src/sys/arch/netwinder
History log of /src/sys/arch/netwinder
RevisionDateAuthorComments
 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.104; 1.2.108; 1.2.114;
Rework how KERNOBJDIR functions; now it's always determined with
cd ${KERNSRCDIR}/${KERNARCHDIR}/compile && ${PRINTOBJDIR}
This is far simpler than the previous system, and more robust with
objdirs built via BSDOBJDIR.

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

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

Per lengthy discussion with Andrew Brown.
 1.1 11-Jun-2001  matt branches: 1.1.8;
Use command Makefile.arm. Move non-std LOADADDRESS to std.netwinder. Add
netwinder-specific inclusion Makefile.
 1.1.8.2 07-Jan-2003  thorpej Sync with HEAD.
 1.1.8.1 11-Jun-2001  thorpej file Makefile was added on branch nathanw_sa on 2003-01-07 21:12:16 +0000
 1.2.114.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.2.108.1 04-May-2009  yamt sync with head.
 1.2.104.1 17-Jan-2009  mjf Sync with HEAD.
 1.3.22.1 06-Jun-2011  jruoho Sync with HEAD.
 1.3.16.1 21-Apr-2011  rmind sync with head
 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  matt branches: 1.1.8;
Need a compile directory for netwinder
 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:12:17 +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:12:18 +0000
 1.147 19-Dec-2023  uwe netwinder: GENERIC - trim down some more

Disable more stuff to make GENERIC just about fit.
 1.146 19-Dec-2023  uwe netwinder: GENERIC - trim down some

It is still too big to get loaded by the firmware successfully, but
these VERBOSE options and -g symtab are the obvious hogs.
 1.145 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.144 29-Sep-2022  riastradh branches: 1.144.4;
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.143 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.142 27-Sep-2020  roy vether: Add to kernel configurations

It's only enabled if the kernel enabled bridge AND tap.
Otherwise it's commented out.
 1.141 16-Aug-2020  jdolecek make COMPAT_LINUX option disabled by default

leave the option enabled only in amd64/i386 ALL kernels to make
sure it continues to be compilable also when included in kernel
 1.140 01-Aug-2020  maxv Remove references to BRIDGE_IPF, it is now compiled in by default.
 1.139 18-Apr-2020  skrll PMAP_DEBUG has been deleted on arm
 1.138 18-Apr-2020  skrll Trailing whitespace
 1.137 26-Apr-2019  sevan branches: 1.137.8;
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.136 13-Apr-2019  isaki Add drvctl to kernel which has audio device.
audiocfg(1) requires drvctl(4).
 1.135 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.134 23-Jan-2018  sevan branches: 1.134.2; 1.134.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.133 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.132 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.131 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 3.
 1.130 13-Dec-2016  christos branches: 1.130.8;
wildcard speaker attachments, now that we can handle many of them.
 1.129 10-Dec-2016  christos remove VAUDIOSPEAKER for now, will be done differently.
 1.128 08-Dec-2016  nat Add a synthesized pc beeper and keyboard bell for platforms with an audio
device.
 1.127 08-Aug-2015  maxv branches: 1.127.2;
Remove KMEMSTATS.
 1.126 16-Nov-2014  manu branches: 1.126.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.125 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.124 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.123 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.122 16-Aug-2014  apb Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
 1.121 03-Aug-2014  martin branches: 1.121.2;
Add COMPAT_NETBSD32, following the switch to eabi by default.
 1.120 30-Jun-2013  rmind branches: 1.120.4;
G/C PFIL_HOOKS from the kernel configs.
 1.119 05-Jun-2013  christos branches: 1.119.2;
remove obsolete networking options
 1.118 27-Apr-2013  christos the bogus number police
 1.117 27-Apr-2013  christos remove confusing numeric locators where they are unused.
 1.116 02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.115 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.114 06-Dec-2012  msaitoh Remove "#options ARMFPE"
 1.113 17-Oct-2012  apb Add "options COMPAT_60" to all kernel configuration files
that already had "options COMPAT_50".
 1.112 05-Jun-2012  abs branches: 1.112.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.111 10-Mar-2012  joerg P1003_1B_SEMAPHORE is no longer optional.
 1.110 18-Dec-2011  dholland branches: 1.110.2;
WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.109 22-Nov-2011  tls branches: 1.109.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.108 04-Oct-2011  christos branches: 1.108.2;
bump more
 1.107 02-Oct-2011  christos Bump SYMTAB_SPACE
 1.106 11-Aug-2011  he Bump SYMTAB_SPACE so that it fits again.
 1.105 30-Jun-2011  wiz dependant -> dependent
 1.104 07-Mar-2011  jakllsch Bump SYMTAB_SPACE.
 1.103 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.102 23-Nov-2010  hannken branches: 1.102.2; 1.102.4;
Remove unused count from pseudo-device md.
 1.101 29-Apr-2010  chs enable TMPFS in all GENERICs that have MFS enabled.
 1.100 16-Apr-2010  pooka Remove unused count (invariably "4") from pseudo-device fss.
 1.99 18-Mar-2010  dholland grammar patrol
 1.98 05-Dec-2009  pooka branches: 1.98.2; 1.98.4;
Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs. User functionality remains the same.
 1.97 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.96 24-Jan-2009  mrg branches: 1.96.2;
add COMPAT_50 to all the configs with COMPAT_40.
 1.95 24-Nov-2008  ad Remove softdep, pass 1. We are focused on improving journalling.

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

Proposed on tech-kern@.
 1.93 10-Aug-2008  tls branches: 1.93.2;
Add accept filters to GENERIC kernels where they exist.
 1.92 31-Jul-2008  simonb Add "options WAPBL" to standard GENERIC/INSTALL type configs.
 1.91 19-Jan-2008  chris branches: 1.91.6; 1.91.10; 1.91.12; 1.91.16;
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.90 31-Dec-2007  ad Remove systrace. Ok core@.
 1.89 04-Nov-2007  xtraeme branches: 1.89.2; 1.89.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.88 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.87 24-Jun-2007  uwe branches: 1.87.6; 1.87.8; 1.87.10; 1.87.14;
options<SPACE><TAB> police
While here, add COMPAT_40.
 1.86 11-Nov-2006  jmmv branches: 1.86.8; 1.86.10; 1.86.16;
Remove tmpfs's experimental status. OK'ed by core@.
 1.85 15-Sep-2006  gdamore branches: 1.85.2;
Convert netwinder to generic TODR. Committed after total lack of feedback
(or even acknowledgement of receipt) from anyone on port-netwinder, so it
is untested. (Compiles though.)
 1.84 26-Aug-2006  christos branches: 1.84.2;
PR/34283: Gene ENonymous: Add IPFILTER_LOOKUP to the default kernel options
Also remove CCITT,NS,NIP
 1.83 26-Aug-2006  tsutsui Remove obsolete #options VERIFIED_EXEC, found by grep(1).
 1.82 12-Aug-2006  christos Disable SYSTRACE by default on all kernels (discussed with core)
 1.81 28-Jun-2006  liamjfoy branches: 1.81.2;
Add CARP to GENERIC kernel configs. CARP is not enabled by default.

ok: christos
 1.80 14-May-2006  elad branches: 1.80.4;
integrate kauth.
 1.79 02-Apr-2006  uwe Add WSDISPLAY_CUSTOM_OUTPUT &co.
 1.78 05-Feb-2006  cube branches: 1.78.2; 1.78.4; 1.78.6;
Remove 'count' argument for pseudo-devices that ignore it
(vnd, bpfilter, ppp, gif, gre, tun, sl, strip, faith, stf).
 1.77 04-Feb-2006  rpaulo bpfilter doesn't accept count anymore.
 1.76 02-Feb-2006  reinoud branches: 1.76.2;
Add commented out UDF file-system entry in all GENERIC configurations.
 1.75 09-Dec-2005  elad branches: 1.75.2; 1.75.4;
Add (commented out) Veriexec options and pseudo-device to GENERIC kernels,
and remove the i386 GENERIC_VERIEXEC config.
 1.74 07-Dec-2005  tsutsui Adjust comments for options FFS_NO_SNAPSHOT.

XXX: This option should be mentioned in options(4).
 1.73 25-Nov-2005  thorpej swcr -> swcrypto
 1.72 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.71 25-Nov-2005  thorpej Add "pseudo-device swcr" (commented out if "pseudo-device crypto" is also
commented out).
 1.70 03-Nov-2005  chs branches: 1.70.2;
turn off DEBUG and DIAGNOSTIC in GENERIC kernels so that they
are compatible with the LKMs that are part of the release.
 1.69 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.68 19-Aug-2005  christos Enable ptyfs by default on the non-install and non small/tiny/ramdisk kernels
 1.67 19-Aug-2005  christos 64 bit inode changes.
 1.66 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.65 30-Jul-2005  yamt add "options VMSWAP" to non INSTALL kernels.
 1.64 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.63 07-Jul-2005  tron Add (commented out) IPSEC_NAT_T option.
 1.62 25-Jun-2005  rpaulo branches: 1.62.2;
Add file-system PTYFS (commented out) so that people know its existence.

Ok'ed by Christos Zoulas and Hubert Feyrer.
 1.61 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.60 11-Mar-2005  matt branches: 1.60.2;
Increase SYMTAB_SPACE
 1.59 25-Feb-2005  simonb 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.58 18-Feb-2005  dsl Invert FFS_SNAPSHOT to FFS_NO_SNAPSHOT
 1.57 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.56 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.55 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.54 10-Nov-2004  christos branches: 1.54.4; 1.54.6;
Add COMPAT_BSDPTY to the rest of the config files.
 1.53 04-Sep-2004  manu IPv4 PIM support, based on a submission from Pavlin Radoslavov posted on
tech-net@
 1.52 25-Jul-2004  thorpej Bump symtab space.
 1.51 15-Jul-2004  atatat Add "options SYSCTL_INCLUDE_DESCR" to a lot of configs, but commented
out in most of them.
 1.50 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.49 26-Jun-2004  abs Add (commented out) ALTQ options to all GENERIC-like files
 1.48 22-Jun-2004  itojun have pf and pflog pseudo-device (commented out).
reviewed by matt, perry, christos
 1.47 18-Jun-2004  christos ptm is now mandatory, depends on pty, and can be disabled with -DNO_DEV_PTM
 1.46 16-Jun-2004  christos Add pseudo-device ptm on all the generic flavored kernels.
 1.45 13-Feb-2004  wiz branches: 1.45.2;
Uppercase CPU, plural is CPUs.
 1.44 14-Jan-2004  matt Netwinders don't have PCI slots so you can't crypto devices to them.
 1.43 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.42 13-Dec-2003  thorpej The Netwinder can only have a Symphony IDE chip on it, so remove all the
others (leave the generic "pciide" there, but commented out).
 1.41 13-Dec-2003  thorpej Split out the Silicon Image SATALink support into its own driver,
"satalink".
 1.40 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.39 08-Oct-2003  bouyer Add new per-chip pciide drivers.
 1.38 08-Oct-2003  bouyer Add atabus.
 1.37 13-Sep-2003  chris Add COMPAT_16 to most arm based kernels. Mainly in preperation for doing
SA_SIGINFO work.
 1.36 14-Jun-2003  uwe branches: 1.36.2;
Use CPUFLAGS instead of COPTS.
 1.35 14-Jun-2003  uwe The igsfb(4) can now be used as console so delete the XXX comment that
says it cannot.

Add commented out options that give an example of how to force serial
console.
 1.34 01-Jun-2003  uwe Bump SYMTAB_SPACE to make symbol table fit.
 1.33 01-Jun-2003  uwe Uncomment igsfb and wsdisplay now that igsfb(4) is considered stable.
We still need to have CyberPro memory mapped early in the boot process
to use igsfb as console.
 1.32 26-Apr-2003  ragge Add pseudo-device ksyms.
 1.31 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.30 22-Nov-2002  wiz Fix typo (responsiness -> responsiveness).
 1.29 18-Oct-2002  junyoung Add NEW_BUFQ_STRATEGY (disabled by default).
 1.28 14-Oct-2002  elric Added commented out cgd(4)s to GENERIC configs.
 1.27 06-Oct-2002  provos add SYSTRACE; approved perry.
 1.26 24-Sep-2002  uwe Drop vga at pci that has no chance of working anyway. Add commented out igsfb at pci.
Add wscons pseudo devices and some more wscons options.
 1.25 18-Sep-2002  lukem enable USERCONF by default; it's small and extremely useful to have available.
 1.24 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.23 25-Apr-2002  atatat branches: 1.23.2; 1.23.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.22 16-Apr-2002  wiz Remove last(?) traces of pmsi.
 1.21 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.20 10-Apr-2002  thorpej Remove options NETWINDER and FOOTBRIDGE; nothing tests for them.
 1.19 03-Apr-2002  thorpej Add COMPAT_LINUX.
 1.18 03-Apr-2002  thorpej Add kerfs, procfs, fdesc.
 1.17 03-Apr-2002  thorpej Clean up Netwinder bootstrap:
* Put the code that runs with the MMU off in a separate section (.start).
* Use a linker script to set the VMA/LMA appropriately for each section.
* Fix kernel page table allocation and mapping of kernel text/data/bss.

...and now that kernel images > 2MB work:
* Add SYMTAB_SPACE to the GENERIC kernel so that we have DDB symbols.
* Use dbsym to load the kernel's DDB symbol area.
 1.16 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.15 10-Mar-2002  lukem * rename MINIROOTSIZE to MEMORY_DISK_SIZE, so that all md(4) options
are now consistently named
* fold opt_mdsize.h into opt_md.h
 1.14 10-Feb-2002  wiz Update description for icsphy.
 1.13 27-Jan-2002  jdolecek add options PIPE_SOCKETPAIR to individual kernel configs
the option is commented out on everything but kernels I was able
to recognize as INSTALL-like or ones for small memory machines
 1.12 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.11 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.10 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.9 20-Nov-2001  lukem cleanup:
options SPACE TAB
makeoptions TAB
psuedo-device TAB
remove trailing whitespace
replace multiple spaces -> tabs
options "FOO" -> options FOO
options "FOO=bar" -> options FOO=bar
options "FOO=\"bar\"" -> options FOO="\"bar\""
 1.8 01-Sep-2001  atatat branches: 1.8.6;
Comment out bridge pseudo devices from ports that don't
__HAVE_GENERIC_SOFT_INTERRUPTS. bridge(4) doesn't compile there.
 1.7 01-Sep-2001  atatat Add bridge pseudo devices to GENERIC configs
 1.6 20-Aug-2001  matt Netwinders have ISC phys, not LXT phys.
 1.5 08-Jul-2001  abs branches: 1.5.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.4 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.3 08-Jun-2001  matt Change options<tab> to options<space>
 1.2 20-Apr-2001  matt branches: 1.2.2;
Make EXEC_ELF32 standard. Cleanup/fix GENERIC to include more devices.
 1.1 19-Apr-2001  matt A minimum amount to get netwinder support
 1.2.2.3 23-Apr-2001  bouyer Sync with HEAD.
 1.2.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.2.2.1 20-Apr-2001  bouyer file GENERIC was added on branch thorpej_scsipi on 2001-04-21 17:54:09 +0000
 1.5.2.8 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.5.2.7 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.5.2.6 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.5.2.5 16-Mar-2002  jdolecek Catch up with -current.
 1.5.2.4 11-Feb-2002  jdolecek Sync w/ -current.
 1.5.2.3 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.5.2.2 13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.5.2.1 25-Aug-2001  thorpej Merge Aug 24 -current into the kqueue branch.
 1.8.6.9 11-Dec-2002  thorpej Sync with HEAD.
 1.8.6.8 11-Nov-2002  nathanw Catch up to -current
 1.8.6.7 18-Oct-2002  nathanw Catch up to -current.
 1.8.6.6 20-Jun-2002  nathanw Catch up to -current.
 1.8.6.5 17-Apr-2002  nathanw Catch up to -current.
 1.8.6.4 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.8.6.3 28-Feb-2002  nathanw Catch up to -current.
 1.8.6.2 08-Jan-2002  nathanw Catch up to -current.
 1.8.6.1 01-Sep-2001  nathanw file GENERIC was added on branch nathanw_sa on 2002-01-08 00:26:39 +0000
 1.23.4.1 01-Aug-2002  lukem Pull up revision 1.24 (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.23.2.1 15-Jul-2002  gehenna catch up with -current.
 1.36.2.10 11-Dec-2005  christos Sync with head.
 1.36.2.9 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.36.2.8 01-Apr-2005  skrll Sync with HEAD.
 1.36.2.7 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.36.2.6 15-Feb-2005  skrll Sync with HEAD.
 1.36.2.5 04-Feb-2005  skrll Sync with HEAD.
 1.36.2.4 14-Nov-2004  skrll Sync with HEAD.
 1.36.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.36.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.36.2.1 03-Aug-2004  skrll Sync with HEAD
 1.45.2.3 15-Jul-2004  he Pull up revision 1.51 (requested by atatat in ticket #663):
Add "options SYSCTL_INCLUDE_DESCR" to a lot of configurations,
but commented out in most of them.
 1.45.2.2 02-Jul-2004  he Pull up revision 1.50 (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.45.2.1 30-Jun-2004  jdc Pull up revision 1.49 (requested by abs in ticket #567).

Add (commented out) ALTQ options to all GENERIC-like files
 1.54.6.2 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.54.6.1 12-Feb-2005  yamt sync with head.
 1.54.4.1 29-Apr-2005  kent sync with -current
 1.60.2.3 05-Nov-2005  tron 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.60.2.2 14-Aug-2005  riz Pull up revision 1.64 (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.60.2.1 18-Jul-2005  riz Pull up revision 1.63 (requested by tron in ticket #566):
Add (commented out) IPSEC_NAT_T option.
 1.62.2.5 21-Jan-2008  yamt sync with head
 1.62.2.4 15-Nov-2007  yamt sync with head.
 1.62.2.3 03-Sep-2007  yamt sync with head.
 1.62.2.2 30-Dec-2006  yamt sync with head.
 1.62.2.1 21-Jun-2006  yamt sync with head.
 1.70.2.1 29-Nov-2005  yamt sync with head.
 1.75.4.1 09-Sep-2006  rpaulo sync with head
 1.75.2.1 18-Feb-2006  yamt sync with head.
 1.76.2.1 22-Apr-2006  simonb Sync with head.
 1.78.6.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.78.4.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.78.2.3 03-Sep-2006  yamt sync with head.
 1.78.2.2 11-Aug-2006  yamt sync with head
 1.78.2.1 11-Apr-2006  yamt sync with head
 1.80.4.1 13-Jul-2006  gdamore Merge from HEAD.
 1.81.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.81.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.84.2.1 18-Nov-2006  ad Sync with head.
 1.85.2.1 10-Dec-2006  yamt sync with head.
 1.86.16.1 26-Jun-2007  garbled Sync with HEAD.
 1.86.10.1 11-Jul-2007  mjf Sync with head.
 1.86.8.2 03-Dec-2007  ad Sync with HEAD.
 1.86.8.1 15-Jul-2007  ad Sync with head.
 1.87.14.1 13-Nov-2007  bouyer Sync with HEAD
 1.87.10.3 23-Mar-2008  matt sync with HEAD
 1.87.10.2 09-Jan-2008  matt sync with HEAD
 1.87.10.1 06-Nov-2007  matt sync with HEAD
 1.87.8.1 04-Nov-2007  jmcneill Sync with HEAD.
 1.87.6.2 28-Feb-2008  rjs Sync with HEAD.
 1.87.6.1 26-Dec-2007  rjs Sync with HEAD.
 1.89.8.2 20-Jan-2008  bouyer Sync with HEAD
 1.89.8.1 02-Jan-2008  bouyer Sync with HEAD
 1.89.2.1 18-Feb-2008  mjf Sync with HEAD.
 1.91.16.2 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.91.16.1 19-Oct-2008  haad Sync with HEAD.
 1.91.12.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.91.10.3 11-Aug-2010  yamt sync with head.
 1.91.10.2 11-Mar-2010  yamt sync with head
 1.91.10.1 04-May-2009  yamt sync with head.
 1.91.6.2 17-Jan-2009  mjf Sync with HEAD.
 1.91.6.1 28-Sep-2008  mjf Sync with HEAD.
 1.93.2.3 28-Apr-2009  skrll Sync with HEAD.
 1.93.2.2 03-Mar-2009  skrll Sync with HEAD.
 1.93.2.1 19-Jan-2009  skrll Sync with HEAD.
 1.96.2.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.98.4.3 21-Apr-2011  rmind sync with head
 1.98.4.2 05-Mar-2011  rmind sync with head
 1.98.4.1 30-May-2010  rmind sync with head
 1.98.2.2 17-Aug-2010  uebayasi Sync with HEAD.
 1.98.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.102.4.1 08-Feb-2011  bouyer Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
 1.102.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.108.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.108.2.3 16-Jan-2013  yamt sync with (a bit old) head
 1.108.2.2 30-Oct-2012  yamt sync with head
 1.108.2.1 17-Apr-2012  yamt sync with head
 1.109.2.2 11-Mar-2012  mrg sync to latest -current
 1.109.2.1 18-Feb-2012  mrg merge to -current.
 1.110.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.112.2.5 03-Dec-2017  jdolecek update from HEAD
 1.112.2.4 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.112.2.3 23-Jun-2013  tls resync from head
 1.112.2.2 25-Feb-2013  tls resync with head
 1.112.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.119.2.1 28-Aug-2013  rmind sync with head
 1.120.4.1 10-Aug-2014  tls Rebase.
 1.121.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.121.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.126.2.3 28-Aug-2017  skrll Sync with HEAD
 1.126.2.2 05-Feb-2017  skrll Sync with HEAD
 1.126.2.1 22-Sep-2015  skrll Sync with HEAD
 1.127.2.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.130.8.1 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.134.4.2 21-Apr-2020  martin Sync with HEAD
 1.134.4.1 10-Jun-2019  christos Sync with HEAD
 1.134.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.137.8.1 20-Apr-2020  bouyer Sync with HEAD
 1.144.4.2 19-Dec-2023  martin Fix merge botch in previous
 1.144.4.1 19-Dec-2023  martin Pull up following revision(s) (requested by uwe in ticket #510):

sys/arch/netwinder/conf/Makefile.netwinder.inc: revision 1.12
sys/arch/netwinder/conf/std.netwinder: revision 1.17
sys/arch/netwinder/conf/kern.ldscript: revision 1.11
sys/arch/netwinder/conf/GENERIC: revision 1.146
sys/arch/netwinder/conf/GENERIC: revision 1.147

netwinder: specify kernel make variables in the makefile

There's not much sense to specify makeoptions in std.netwinder for
config(1) to move them to the generated makefile, when there's already
Makefile.netwinder.inc where these variables can be specified directly.

Move ENTRYPOINT. Do NOT move LOADADDRESS - we don't want to use it as
it is kinda wrong and it will override the ld script. Instead
explicitly set LINKTEXT to be empty to avoid the common kernel
makefile to supply the unwanted -Ttext option.

netwinder: fix base, minimize kern.ldscript diff with evbarm

New binutils align to 0x10000, not 0x8000 (which makes sense), so
adjust the base to be 0x10000 so that we are loaded at a page boundary
and (I guess) don't smash the firmware in the first page. While here,
sync with ldscript.evbarm.

Makes my netwinder boot again.

netwinder: GENERIC - trim down some
It is still too big to get loaded by the firmware successfully, but
these VERBOSE options and -g symtab are the obvious hogs.

netwinder: GENERIC - trim down some more
Disable more stuff to make GENERIC just about fit.
 1.6 11-Jun-2001  matt branches: 1.6.8;
Use command Makefile.arm. Move non-std LOADADDRESS to std.netwinder. Add
netwinder-specific inclusion Makefile.
 1.5 11-Jun-2001  rearnsha include-dir: A relative 'S' is up 4-levels.
 1.4 09-Jun-2001  matt Move towards common Makefile.arm
Add a netwinder/autoconf.c
 1.3 08-Jun-2001  matt add an include subdir rule in the Makefile to make netwinder use the
"new" include file structure to be used on arm ports.
 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 19-Apr-2001  matt branches: 1.1.2;
A minimum amount to get netwinder support
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file Makefile.netwinder was added on branch thorpej_scsipi on 2001-04-21 17:54:09 +0000
 1.6.8.2 11-Jun-2001  matt Use command Makefile.arm. Move non-std LOADADDRESS to std.netwinder. Add
netwinder-specific inclusion Makefile.
 1.6.8.1 11-Jun-2001  matt file Makefile.netwinder was added on branch nathanw_sa on 2001-06-11 17:46:24 +0000
 1.12 18-Dec-2023  uwe netwinder: specify kernel make variables in the makefile

There's not much sense to specify makeoptions in std.netwinder for
config(1) to move them to the generated makefile, when there's already
Makefile.netwinder.inc where these variables can be specified directly.

Move ENTRYPOINT. Do NOT move LOADADDRESS - we don't want to use it as
it is kinda wrong and it will override the ld script. Instead
explicitly set LINKTEXT to be empty to avoid the common kernel
makefile to supply the unwanted -Ttext option.
 1.11 24-Aug-2015  uebayasi branches: 1.11.48;
Define ${LINKSCRIPT} in one place.
 1.10 20-Aug-2015  uebayasi Use ${KERNLDSCRIPT}.
 1.9 15-Nov-2014  uebayasi branches: 1.9.2;
Use LINKSCRIPT.
 1.8 24-Nov-2005  dbj branches: 1.8.122;
. 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.7 03-Jan-2003  thorpej branches: 1.7.2; 1.7.8; 1.7.18; 1.7.24;
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.6 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.5 03-Apr-2002  thorpej Clean up Netwinder bootstrap:
* Put the code that runs with the MMU off in a separate section (.start).
* Use a linker script to set the VMA/LMA appropriately for each section.
* Fix kernel page table allocation and mapping of kernel text/data/bss.

...and now that kernel images > 2MB work:
* Add SYMTAB_SPACE to the GENERIC kernel so that we have DDB symbols.
* Use dbsym to load the kernel's DDB symbol area.
 1.4 27-Nov-2001  thorpej Move interrupt-related stuff out of the generic 32-bit ARM genassym.cf
and into platform-specific genassym.cf files.
 1.3 20-Nov-2001  lukem cleanup:
options SPACE TAB
makeoptions TAB
psuedo-device TAB
remove trailing whitespace
replace multiple spaces -> tabs
options "FOO" -> options FOO
options "FOO=bar" -> options FOO=bar
options "FOO=\"bar\"" -> options FOO="\"bar\""
 1.2 23-Oct-2001  thorpej branches: 1.2.4;
Use MACHINE, not TARGET_MACHINE.
 1.1 11-Jun-2001  matt branches: 1.1.2;
Use command Makefile.arm. Move non-std LOADADDRESS to std.netwinder. Add
netwinder-specific inclusion Makefile.
 1.1.2.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2.4.5 03-Jan-2003  thorpej Sync with HEAD.
 1.2.4.4 11-Nov-2002  nathanw Catch up to -current
 1.2.4.3 17-Apr-2002  nathanw Catch up to -current.
 1.2.4.2 08-Jan-2002  nathanw Catch up to -current.
 1.2.4.1 23-Oct-2001  nathanw file Makefile.netwinder.inc was added on branch nathanw_sa on 2002-01-08 00:26:39 +0000
 1.7.24.1 29-Nov-2005  yamt sync with head.
 1.7.18.1 21-Jun-2006  yamt sync with head.
 1.7.8.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.7.2.1 11-Dec-2005  christos Sync with head.
 1.8.122.1 03-Dec-2017  jdolecek update from HEAD
 1.9.2.1 22-Sep-2015  skrll Sync with HEAD
 1.11.48.1 19-Dec-2023  martin Pull up following revision(s) (requested by uwe in ticket #510):

sys/arch/netwinder/conf/Makefile.netwinder.inc: revision 1.12
sys/arch/netwinder/conf/std.netwinder: revision 1.17
sys/arch/netwinder/conf/kern.ldscript: revision 1.11
sys/arch/netwinder/conf/GENERIC: revision 1.146
sys/arch/netwinder/conf/GENERIC: revision 1.147

netwinder: specify kernel make variables in the makefile

There's not much sense to specify makeoptions in std.netwinder for
config(1) to move them to the generated makefile, when there's already
Makefile.netwinder.inc where these variables can be specified directly.

Move ENTRYPOINT. Do NOT move LOADADDRESS - we don't want to use it as
it is kinda wrong and it will override the ld script. Instead
explicitly set LINKTEXT to be empty to avoid the common kernel
makefile to supply the unwanted -Ttext option.

netwinder: fix base, minimize kern.ldscript diff with evbarm

New binutils align to 0x10000, not 0x8000 (which makes sense), so
adjust the base to be 0x10000 so that we are loaded at a page boundary
and (I guess) don't smash the firmware in the first page. While here,
sync with ldscript.evbarm.

Makes my netwinder boot again.

netwinder: GENERIC - trim down some
It is still too big to get loaded by the firmware successfully, but
these VERBOSE options and -g symtab are the obvious hogs.

netwinder: GENERIC - trim down some more
Disable more stuff to make GENERIC just about fit.
 1.37 20-Feb-2008  drochner 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.36 10-Apr-2007  macallan branches: 1.36.10; 1.36.14;
include files.wsfb
 1.35 15-Sep-2006  gdamore branches: 1.35.6; 1.35.10; 1.35.12;
Convert netwinder to generic TODR. Committed after total lack of feedback
(or even acknowledgement of receipt) from anyone on port-netwinder, so it
is untested. (Compiles though.)
 1.34 11-Dec-2005  christos branches: 1.34.20;
merge ktrace-lwp.
 1.33 08-Jul-2004  drochner branches: 1.33.12;
don't need md timing functions for joystick anymore
 1.32 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.31 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.30 21-Oct-2003  skrll Rename dsrtc to ds1687rtc to avoid conflicting with the MI i2c
ds1307 driver.

Hi Jason.
 1.29 08-Oct-2003  bouyer pciide_machdep.c depends on pciide_common, not pciide.
Pointed out and fix tested by Marc Recht.
 1.28 03-Nov-2002  chris branches: 1.28.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.27 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.26 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.25 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.24 16-Apr-2002  thorpej branches: 1.24.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.23 10-Apr-2002  thorpej Remove obsolete tests of "netwinder" and "footbridge".
 1.22 10-Apr-2002  thorpej Remove options NETWINDER and FOOTBRIDGE; nothing tests for them.
 1.21 21-Feb-2002  thorpej Update for death of arm32.
 1.20 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.19 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.18 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.17 24-Nov-2001  thorpej The ARM, Ltd. floating point emulator has moved to arch/arm.
 1.16 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.15 03-Sep-2001  matt branches: 1.15.6;
Switch netwinder to use a common conf.c for the arm ports.
 1.14 28-Jul-2001  chris Move the generic arm32 files into arm/arm32 from arm32/arm32, tested kernel builds on cats and riscpc.
 1.13 20-Jun-2001  chris branches: 1.13.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.12 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.11 12-Jun-2001  matt Move netwinder_machdep.c to files.netwinder. Eliminate opt_netwinder.h and
use #ifdef netwinder insead. XXX ebsa285_machdep.c should move to the cats
directory and files.cats
 1.10 11-Jun-2001  chris Move defopt FOOTBRIDGE to where it really should be in files.footbridge, which is where I should have left it.
 1.9 11-Jun-2001  rearnsha Defopt FOOTBRIDGE.
 1.8 09-Jun-2001  matt Move towards common Makefile.arm
Add a netwinder/autoconf.c
 1.7 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.6 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.5 06-May-2001  bjh21 The arch/arm32/kshell code was removed three years ago. Kill references to it.
 1.4 06-May-2001  bjh21 Move "defopt PMAP_DEBUG" into files.arm, since it's used by code in arch/arm.
 1.3 06-May-2001  bjh21 Move cpufunc stuff from arm32/arm32 to arm/arm. The only change involved is
to add recognition of the SA-1100 and SA-1110 for compatibility with hpcarm
(which is now using this code as well).
 1.2 20-Apr-2001  matt branches: 1.2.2;
More changes to get the netwinder to multiuser. Hack the initarm code
to reserve the first 2MB for the kernel. Use the netwinder specific
files. Add pci_attach_hook for init the pci devices. Add and alternate
id for the PCI ISA bridge.
 1.1 19-Apr-2001  matt A minimum amount to get netwinder support
 1.2.2.3 23-Apr-2001  bouyer Sync with HEAD.
 1.2.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.2.2.1 20-Apr-2001  bouyer file files.netwinder was added on branch thorpej_scsipi on 2001-04-21 17:54:09 +0000
 1.13.2.8 18-Oct-2002  jdolecek sync with -current:
Merge isa_machdep.c from netwinder and cats into footbridge/isa
 1.13.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.13.2.6 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.13.2.5 16-Mar-2002  jdolecek Catch up with -current.
 1.13.2.4 11-Feb-2002  jdolecek Sync w/ -current.
 1.13.2.3 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.13.2.2 13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.13.2.1 03-Aug-2001  lukem update to -current
 1.15.6.8 11-Nov-2002  nathanw Catch up to -current
 1.15.6.7 18-Oct-2002  nathanw Catch up to -current.
 1.15.6.6 17-Sep-2002  nathanw Catch up to -current.
 1.15.6.5 20-Jun-2002  nathanw Catch up to -current.
 1.15.6.4 17-Apr-2002  nathanw Catch up to -current.
 1.15.6.3 28-Feb-2002  nathanw Catch up to -current.
 1.15.6.2 08-Jan-2002  nathanw Catch up to -current.
 1.15.6.1 03-Sep-2001  nathanw file files.netwinder was added on branch nathanw_sa on 2002-01-08 00:26:40 +0000
 1.24.2.2 17-May-2002  gehenna Remove old block majors list.
 1.24.2.1 16-May-2002  gehenna Include the list of block/character major numbers.
 1.28.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.28.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.28.6.1 03-Aug-2004  skrll Sync with HEAD
 1.33.12.3 27-Feb-2008  yamt sync with head.
 1.33.12.2 03-Sep-2007  yamt sync with head.
 1.33.12.1 30-Dec-2006  yamt sync with head.
 1.34.20.1 18-Nov-2006  ad Sync with head.
 1.35.12.1 11-Jul-2007  mjf Sync with head.
 1.35.10.1 10-Apr-2007  ad Sync with head.
 1.35.6.1 15-Apr-2007  yamt sync with head.
 1.36.14.1 23-Mar-2008  matt sync with HEAD
 1.36.10.1 28-Feb-2008  rjs Sync with HEAD.
 1.12 27-Dec-2023  uwe netwinder: kern.ldscript - preserve the .text section alignment

This change from evbarm was omitted in previous, but older binutils in
netbsd-10 seem to need it.
 1.11 18-Dec-2023  uwe netwinder: fix base, minimize kern.ldscript diff with evbarm

New binutils align to 0x10000, not 0x8000 (which makes sense), so
adjust the base to be 0x10000 so that we are loaded at a page boundary
and (I guess) don't smash the firmware in the first page. While here,
sync with ldscript.evbarm.

Makes my netwinder boot again.
 1.10 23-Aug-2015  uebayasi branches: 1.10.48;
Don't need to specify OUTPUT_FORMAT/OUTPUT_ARCH.
 1.9 22-Aug-2015  uebayasi According to matt@, .ARM.{extab,exidx} are no longer used.
 1.8 21-Aug-2015  uebayasi Redo previous; explicitly adjust .data load addr to get the identical ELF.
 1.7 21-Aug-2015  uebayasi Simplify this by deciding load address at one place.
 1.6 20-Aug-2015  uebayasi Indent with 2 spaces.
 1.5 20-Aug-2015  uebayasi Kill trailing whitespaces.
 1.4 30-Jan-2014  matt branches: 1.4.6;
Put EHABI exception tables at the end of text.
provide __exidx_start and __exidx_end symbols.
 1.3 11-Jun-2003  uwe branches: 1.3.142; 1.3.152; 1.3.158;
Avoid using SIZEOF to compute output section LMAs, it doesn't mix well
with orphaned sections like link_set_*. Per discussion with Jason
Thorpe <thorpej@netbsd> on tech-toolchain.

Addresses kern/21844.
 1.2 11-Apr-2002  thorpej branches: 1.2.2; 1.2.8;
Lose -nbsd
 1.1 03-Apr-2002  thorpej Clean up Netwinder bootstrap:
* Put the code that runs with the MMU off in a separate section (.start).
* Use a linker script to set the VMA/LMA appropriately for each section.
* Fix kernel page table allocation and mapping of kernel text/data/bss.

...and now that kernel images > 2MB work:
* Add SYMTAB_SPACE to the GENERIC kernel so that we have DDB symbols.
* Use dbsym to load the kernel's DDB symbol area.
 1.2.8.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.8.1 11-Apr-2002  jdolecek file kern.ldscript was added on branch kqueue on 2002-06-23 17:38:40 +0000
 1.2.2.2 17-Apr-2002  nathanw Catch up to -current.
 1.2.2.1 11-Apr-2002  nathanw file kern.ldscript was added on branch nathanw_sa on 2002-04-17 00:03:56 +0000
 1.3.158.1 18-May-2014  rmind sync with head
 1.3.152.2 03-Dec-2017  jdolecek update from HEAD
 1.3.152.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.3.142.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.6.1 22-Sep-2015  skrll Sync with HEAD
 1.10.48.2 29-Dec-2023  martin Additionally pull up following revision(s) (requested by uwe in ticket #510):

sys/arch/netwinder/conf/kern.ldscript: revision 1.12

netwinder: kern.ldscript - preserve the .text section alignment

This change from evbarm was omitted in previous, but older binutils in
netbsd-10 seem to need it.
 1.10.48.1 19-Dec-2023  martin Pull up following revision(s) (requested by uwe in ticket #510):

sys/arch/netwinder/conf/Makefile.netwinder.inc: revision 1.12
sys/arch/netwinder/conf/std.netwinder: revision 1.17
sys/arch/netwinder/conf/kern.ldscript: revision 1.11
sys/arch/netwinder/conf/GENERIC: revision 1.146
sys/arch/netwinder/conf/GENERIC: revision 1.147

netwinder: specify kernel make variables in the makefile

There's not much sense to specify makeoptions in std.netwinder for
config(1) to move them to the generated makefile, when there's already
Makefile.netwinder.inc where these variables can be specified directly.

Move ENTRYPOINT. Do NOT move LOADADDRESS - we don't want to use it as
it is kinda wrong and it will override the ld script. Instead
explicitly set LINKTEXT to be empty to avoid the common kernel
makefile to supply the unwanted -Ttext option.

netwinder: fix base, minimize kern.ldscript diff with evbarm

New binutils align to 0x10000, not 0x8000 (which makes sense), so
adjust the base to be 0x10000 so that we are loaded at a page boundary
and (I guess) don't smash the firmware in the first page. While here,
sync with ldscript.evbarm.

Makes my netwinder boot again.

netwinder: GENERIC - trim down some
It is still too big to get loaded by the firmware successfully, but
these VERBOSE options and -g symtab are the obvious hogs.

netwinder: GENERIC - trim down some more
Disable more stuff to make GENERIC just about fit.
 1.17 18-Dec-2023  uwe netwinder: specify kernel make variables in the makefile

There's not much sense to specify makeoptions in std.netwinder for
config(1) to move them to the generated makefile, when there's already
Makefile.netwinder.inc where these variables can be specified directly.

Move ENTRYPOINT. Do NOT move LOADADDRESS - we don't want to use it as
it is kinda wrong and it will override the ld script. Instead
explicitly set LINKTEXT to be empty to avoid the common kernel
makefile to supply the unwanted -Ttext option.
 1.16 21-Sep-2012  matt branches: 1.16.68;
Switch to the generic bounce buffer support.
 1.15 27-Jan-2008  chris branches: 1.15.44; 1.15.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.14 11-Dec-2005  christos branches: 1.14.46; 1.14.50; 1.14.56;
merge ktrace-lwp.
 1.13 17-Sep-2005  yamt include "conf/std".
 1.12 14-Jun-2003  uwe branches: 1.12.2; 1.12.18;
Add PCKBC_CNATTACH_SELFTEST option.
 1.11 22-May-2003  thorpej Don't need ARM32_PMAP_NEW option any more.
 1.10 22-Apr-2003  thorpej New pmap for netwinder.
 1.9 03-Jan-2003  thorpej Use the generic irq_dispatch.S
 1.8 09-Dec-2001  atatat Roll the rest of the ports over to the new MI kernel build machinery.
Any problems reported by testers have been fixed, and massive
cross-compiling of kernels has shown that any problems that remain
with actually building kernels are not related to this.
 1.7 24-Nov-2001  thorpej Don't need "options PROG32" anymore.
 1.6 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.5 12-Jul-2001  matt branches: 1.5.6;
Add LINKENTRY makeoption for "-e nwstart"
 1.4 11-Jun-2001  matt branches: 1.4.2;
Use command Makefile.arm. Move non-std LOADADDRESS to std.netwinder. Add
netwinder-specific inclusion Makefile.
 1.3 08-Jun-2001  matt options PROG32 for now.
 1.2 20-Apr-2001  matt branches: 1.2.2;
Make EXEC_ELF32 standard. Cleanup/fix GENERIC to include more devices.
 1.1 19-Apr-2001  matt A minimum amount to get netwinder support
 1.2.2.3 23-Apr-2001  bouyer Sync with HEAD.
 1.2.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.2.2.1 20-Apr-2001  bouyer file std.netwinder was added on branch thorpej_scsipi on 2001-04-21 17:54:10 +0000
 1.4.2.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.4.2.1 03-Aug-2001  lukem update to -current
 1.5.6.3 03-Jan-2003  thorpej Sync with HEAD.
 1.5.6.2 08-Jan-2002  nathanw Catch up to -current.
 1.5.6.1 12-Jul-2001  nathanw file std.netwinder was added on branch nathanw_sa on 2002-01-08 00:26:40 +0000
 1.12.18.2 04-Feb-2008  yamt sync with head.
 1.12.18.1 21-Jun-2006  yamt sync with head.
 1.12.2.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.14.56.1 18-Feb-2008  mjf Sync with HEAD.
 1.14.50.1 23-Mar-2008  matt sync with HEAD
 1.14.46.1 28-Feb-2008  rjs Sync with HEAD.
 1.15.54.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.15.44.1 30-Oct-2012  yamt sync with head
 1.16.68.1 19-Dec-2023  martin Pull up following revision(s) (requested by uwe in ticket #510):

sys/arch/netwinder/conf/Makefile.netwinder.inc: revision 1.12
sys/arch/netwinder/conf/std.netwinder: revision 1.17
sys/arch/netwinder/conf/kern.ldscript: revision 1.11
sys/arch/netwinder/conf/GENERIC: revision 1.146
sys/arch/netwinder/conf/GENERIC: revision 1.147

netwinder: specify kernel make variables in the makefile

There's not much sense to specify makeoptions in std.netwinder for
config(1) to move them to the generated makefile, when there's already
Makefile.netwinder.inc where these variables can be specified directly.

Move ENTRYPOINT. Do NOT move LOADADDRESS - we don't want to use it as
it is kinda wrong and it will override the ld script. Instead
explicitly set LINKTEXT to be empty to avoid the common kernel
makefile to supply the unwanted -Ttext option.

netwinder: fix base, minimize kern.ldscript diff with evbarm

New binutils align to 0x10000, not 0x8000 (which makes sense), so
adjust the base to be 0x10000 so that we are loaded at a page boundary
and (I guess) don't smash the firmware in the first page. While here,
sync with ldscript.evbarm.

Makes my netwinder boot again.

netwinder: GENERIC - trim down some
It is still too big to get loaded by the firmware successfully, but
these VERBOSE options and -g symtab are the obvious hogs.

netwinder: GENERIC - trim down some more
Disable more stuff to make GENERIC just about fit.
 1.25 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.24 11-Jan-2013  matt Don't install fp.h anymore
 1.23 17-Jul-2011  dyoung branches: 1.23.2; 1.23.12;
Do not install bus.h.
 1.22 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.21 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.20 09-Feb-2007  ad branches: 1.20.20; 1.20.24; 1.20.30; 1.20.36;
Merge newlock2 to head.
 1.19 26-Jul-2006  drochner branches: 1.19.4;
don't install <machine/db_machdep.h>, this is kernel only
 1.18 11-Dec-2005  christos branches: 1.18.4; 1.18.8;
merge ktrace-lwp.
 1.17 08-May-2004  kleink branches: 1.17.12;
Factor out W{CHAR,INT}_{MAX,MIN} into their own header file.
 1.16 17-Jan-2003  thorpej branches: 1.16.2;
Merge the nathanw_sa branch.
 1.15 26-Nov-2002  lukem Remove KDIR=, since SYS_INCLUDE=symlinks and KDIR are not supported any more.
 1.14 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.13 26-Nov-2001  thorpej branches: 1.13.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.12 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.11 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.10 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.9 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.8 03-Sep-2001  matt branches: 1.8.6;
Add a merged <pcb.h> for arm26/arm32.
 1.7 03-Sep-2001  matt Switch netwinder to use a common conf.c for the arm ports.
 1.6 14-Jul-2001  matt Make <sysarch.h> valid for all arm platforms. Adjust/remove port-specific
includes as required.
 1.5 23-Jun-2001  bjh21 branches: 1.5.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.4 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.3 12-Jun-2001  matt Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.2 19-Apr-2001  kleink branches: 1.2.2;
Add remaining int_* wrappers.
 1.1 19-Apr-2001  matt Populate the netwinder include directory.
 1.2.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.2.2.1 19-Apr-2001  bouyer file Makefile was added on branch thorpej_scsipi on 2001-04-21 17:54:10 +0000
 1.5.2.4 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.5.2.3 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.5.2.2 13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.5.2.1 03-Aug-2001  lukem update to -current
 1.8.6.5 11-Dec-2002  thorpej Sync with HEAD.
 1.8.6.4 13-Aug-2002  nathanw Catch up to -current.
 1.8.6.3 11-Apr-2002  thorpej Add mcontext.h
 1.8.6.2 08-Jan-2002  nathanw Catch up to -current.
 1.8.6.1 03-Sep-2001  nathanw file Makefile was added on branch nathanw_sa on 2002-01-08 00:26:40 +0000
 1.13.8.1 31-Aug-2002  gehenna catch up with -current.
 1.16.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.16.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.16.2.1 03-Aug-2004  skrll Sync with HEAD
 1.17.12.3 21-Jan-2008  yamt sync with head
 1.17.12.2 26-Feb-2007  yamt sync with head.
 1.17.12.1 30-Dec-2006  yamt sync with head.
 1.18.8.1 11-Aug-2006  yamt sync with head
 1.18.4.1 09-Sep-2006  rpaulo sync with head
 1.19.4.1 01-Feb-2007  ad Header file cleanup.
 1.20.36.1 20-Jan-2008  bouyer Sync with HEAD
 1.20.30.1 18-Feb-2008  mjf Sync with HEAD.
 1.20.24.1 23-Mar-2008  matt sync with HEAD
 1.20.20.1 28-Feb-2008  rjs Sync with HEAD.
 1.23.12.2 23-Jun-2013  tls resync from head
 1.23.12.1 25-Feb-2013  tls resync with head
 1.23.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.23.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;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file ansi.h was added on branch thorpej_scsipi on 2001-04-21 17:54:10 +0000
 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;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file aout_machdep.h was added on branch thorpej_scsipi on 2001-04-21 17:54:10 +0000
 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;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file asm.h was added on branch thorpej_scsipi on 2001-04-21 17:54:10 +0000
 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 25-Oct-2002  jdolecek branches: 1.1.2; 1.1.72;
add <machine/atomic.h> for netwinder (copied from cats, just wrapper
to #include <arm/atomic.h>)
 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 25-Oct-2002  nathanw file atomic.h was added on branch nathanw_sa on 2002-11-11 22:01:42 +0000
 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 02-Jun-2005  he branches: 1.3.2;
Adapt to shadowing and qualifier-cast warnings.
 1.2 12-Apr-2002  bjh21 branches: 1.2.10;
opt_footbridge.h no longer exists.
 1.1 19-Apr-2001  matt branches: 1.1.2; 1.1.4; 1.1.10;
Populate the netwinder include directory.
 1.1.10.2 17-Apr-2002  nathanw Catch up to -current.
 1.1.10.1 19-Apr-2001  nathanw file bootconfig.h was added on branch nathanw_sa on 2002-04-17 00:03:56 +0000
 1.1.4.1 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file bootconfig.h was added on branch thorpej_scsipi on 2001-04-21 17:54:11 +0000
 1.2.10.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 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;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file bswap.h was added on branch thorpej_scsipi on 2001-04-21 17:54:11 +0000
 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 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file bus.h was added on branch thorpej_scsipi on 2001-04-21 17:54:11 +0000
 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.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;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file cdefs.h was added on branch thorpej_scsipi on 2001-04-21 17:54:11 +0000
 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.6 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.5 27-Feb-2002  christos branches: 1.5.8;
- define other DEV_ constants that the local port uses.
- delete cdev_decl(mm) since <sys/conf.h> does it.
 1.4 16-Sep-2001  matt branches: 1.4.4;
Add missing devices (IOP,MLX,MLY,LD), PCI, stub AGP, ...
 1.3 04-Sep-2001  wiz branches: 1.3.2;
Fix typos (CONS instead of CONF, and specifc instead of specific).
 1.2 03-Sep-2001  matt Switch netwinder to use a common conf.c for the arm ports.
 1.1 19-Apr-2001  matt branches: 1.1.2; 1.1.4;
Populate the netwinder include directory.
 1.1.4.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.4.3 16-Mar-2002  jdolecek Catch up with -current.
 1.1.4.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.4.1 13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file conf.h was added on branch thorpej_scsipi on 2001-04-21 17:54:11 +0000
 1.3.2.1 01-Oct-2001  fvdl Catch up with -current.
 1.4.4.3 17-Sep-2002  nathanw Catch up to -current.
 1.4.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.4.4.1 16-Sep-2001  nathanw file conf.h was added on branch nathanw_sa on 2002-02-28 04:11:12 +0000
 1.5.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;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file cpu.h was added on branch thorpej_scsipi on 2001-04-21 17:54:11 +0000
 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;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file cpufunc.h was added on branch thorpej_scsipi on 2001-04-21 17:54:11 +0000
 1.2.8.2 12-Jun-2001  matt Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.2.8.1 12-Jun-2001  matt file cpufunc.h was added on branch nathanw_sa on 2001-06-12 18:04:01 +0000
 1.2 12-Jun-2001  matt branches: 1.2.8;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file cpus.h was added on branch thorpej_scsipi on 2001-04-21 17:54:12 +0000
 1.2.8.2 12-Jun-2001  matt Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.2.8.1 12-Jun-2001  matt file cpus.h was added on branch nathanw_sa on 2001-06-12 18:04: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;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file db_machdep.h was added on branch thorpej_scsipi on 2001-04-21 17:54:12 +0000
 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;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file disklabel.h was added on branch thorpej_scsipi on 2001-04-21 17:54:12 +0000
 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;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file disklabel_acorn.h was added on branch thorpej_scsipi on 2001-04-21 17:54:12 +0000
 1.2.8.2 12-Jun-2001  matt Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.2.8.1 12-Jun-2001  matt file disklabel_acorn.h was added on branch nathanw_sa on 2001-06-12 18:04:03 +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;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file elf_machdep.h was added on branch thorpej_scsipi on 2001-04-21 17:54:12 +0000
 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 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file endian.h was added on branch thorpej_scsipi on 2001-04-21 17:54:13 +0000
 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;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file endian_machdep.h was added on branch thorpej_scsipi on 2001-04-21 17:54:13 +0000
 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;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file float.h was added on branch thorpej_scsipi on 2001-04-21 17:54:13 +0000
 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.156; 1.3.166;
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;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file fp.h was added on branch thorpej_scsipi on 2001-04-21 17:54:13 +0000
 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.166.1 25-Feb-2013  tls resync with head
 1.3.156.1 23-Jan-2013  yamt sync with head
 1.1 19-Apr-2001  matt branches: 1.1.2; 1.1.10;
Populate the netwinder include directory.
 1.1.10.2 19-Apr-2001  matt Populate the netwinder include directory.
 1.1.10.1 19-Apr-2001  matt file frame.h was added on branch nathanw_sa on 2001-04-19 07:11:03 +0000
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file frame.h was added on branch thorpej_scsipi on 2001-04-21 17:54:13 +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;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file ieee.h was added on branch thorpej_scsipi on 2001-04-21 17:54:13 +0000
 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;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file ieeefp.h was added on branch thorpej_scsipi on 2001-04-21 17:54:13 +0000
 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;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file int_const.h was added on branch thorpej_scsipi on 2001-04-21 17:54:14 +0000
 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;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  kleink branches: 1.1.2;
Add remaining int_* wrappers.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file int_fmtio.h was added on branch thorpej_scsipi on 2001-04-21 17:54:14 +0000
 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;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  kleink branches: 1.1.2;
Add remaining int_* wrappers.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file int_limits.h was added on branch thorpej_scsipi on 2001-04-21 17:54:14 +0000
 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;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file int_mwgwtypes.h was added on branch thorpej_scsipi on 2001-04-21 17:54:14 +0000
 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;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file int_types.h was added on branch thorpej_scsipi on 2001-04-21 17:54:14 +0000
 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 26-Nov-2001  thorpej branches: 1.3.4;
Use <arm/arm32/psl.h> rather than <machine/psl.h>.
 1.2 08-Jun-2001  matt branches: 1.2.2; 1.2.8;
Change _ARM32* to _NETWINDER* Include <machine/psl.h> to get psl
definitions.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file intr.h was added on branch thorpej_scsipi on 2001-04-21 17:54:14 +0000
 1.2.8.3 18-Oct-2002  nathanw Catch up to -current.
 1.2.8.2 08-Jan-2002  nathanw Catch up to -current.
 1.2.8.1 08-Jun-2001  nathanw file intr.h was added on branch nathanw_sa on 2002-01-08 00:26:44 +0000
 1.2.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.2.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3.4.1 17-Mar-2002  thorpej IPL_IMP -> IPL_VM
 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.100; 1.3.108;
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;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file ipkdb.h was added on branch thorpej_scsipi on 2001-04-21 17:54:14 +0000
 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.108.1 20-Jan-2008  bouyer Sync with HEAD
 1.3.100.1 18-Feb-2008  mjf Sync with HEAD.
 1.3.94.1 23-Mar-2008  matt sync with HEAD
 1.3.90.1 28-Feb-2008  rjs Sync with HEAD.
 1.3.32.1 21-Jan-2008  yamt sync with head
 1.6 22-Oct-2002  chris netwinder and cats can share irqhandler.h, so move (and rename) into the
footbridge dir, and share it.
 1.5 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.4 10-Apr-2002  thorpej G/c non-netwinder stuff.
 1.3 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.2 30-May-2001  mrg branches: 1.2.2; 1.2.8;
use _KERNEL_OPT
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file irqhandler.h was added on branch thorpej_scsipi on 2001-04-21 17:54:15 +0000
 1.2.8.4 11-Nov-2002  nathanw Catch up to -current
 1.2.8.3 17-Apr-2002  nathanw Catch up to -current.
 1.2.8.2 08-Jan-2002  nathanw Catch up to -current.
 1.2.8.1 30-May-2001  nathanw file irqhandler.h was added on branch nathanw_sa on 2002-01-08 00:26:45 +0000
 1.2.2.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.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 09-Oct-2002  thorpej Properly prototype the netwinder isa/pci init funcs.
 1.3 09-Dec-2001  thorpej Add files I mised when includes were straightened out (sorry, folks,
I had a stale kernel compile directory, which is why I missed this).
 1.2 12-Jun-2001  matt branches: 1.2.2; 1.2.8;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file isa_machdep.h was added on branch thorpej_scsipi on 2001-04-21 17:54:15 +0000
 1.2.8.2 18-Oct-2002  nathanw Catch up to -current.
 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.2 12-Jun-2001  matt branches: 1.2.8;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file isapnp_machdep.h was added on branch thorpej_scsipi on 2001-04-21 17:54:15 +0000
 1.2.8.2 12-Jun-2001  matt Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.2.8.1 12-Jun-2001  matt file isapnp_machdep.h was added on branch nathanw_sa on 2001-06-12 18:04:10 +0000
 1.3 11-Dec-2005  christos merge ktrace-lwp.
 1.2 02-Jul-2004  drochner just include <sys/joystick.h>
 1.1 19-Apr-2001  matt branches: 1.1.2; 1.1.10; 1.1.26;
Populate the netwinder include directory.
 1.1.26.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.26.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.26.1 03-Aug-2004  skrll Sync with HEAD
 1.1.10.2 19-Apr-2001  matt Populate the netwinder include directory.
 1.1.10.1 19-Apr-2001  matt file joystick.h was added on branch nathanw_sa on 2001-04-19 07:11:03 +0000
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file joystick.h was added on branch thorpej_scsipi on 2001-04-21 17:54:15 +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 19-Apr-2001  matt branches: 1.1.2; 1.1.4; 1.1.10;
Populate the netwinder include directory.
 1.1.10.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.10.1 19-Apr-2001  nathanw file katelib.h was added on branch nathanw_sa on 2002-02-28 04:11:12 +0000
 1.1.4.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file katelib.h was added on branch thorpej_scsipi on 2001-04-21 17:54:15 +0000
 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 19-Apr-2001  matt branches: 1.1.2; 1.1.4; 1.1.10;
Populate the netwinder include directory.
 1.1.10.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.10.1 19-Apr-2001  nathanw file kerndebug.h was added on branch nathanw_sa on 2002-02-28 04:11:12 +0000
 1.1.4.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file kerndebug.h was added on branch thorpej_scsipi on 2001-04-21 17:54:15 +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;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file limits.h was added on branch thorpej_scsipi on 2001-04-21 17:54:16 +0000
 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;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file lock.h was added on branch thorpej_scsipi on 2001-04-21 17:54:16 +0000
 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:57 +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;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file math.h was added on branch thorpej_scsipi on 2001-04-21 17:54:16 +0000
 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:07:35 +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:03:15 +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:54:03 +0000
 1.2 03-Apr-2002  thorpej Fix some of the boot info fields.
 1.1 19-Apr-2001  matt branches: 1.1.2; 1.1.4; 1.1.10;
Populate the netwinder include directory.
 1.1.10.2 17-Apr-2002  nathanw Catch up to -current.
 1.1.10.1 19-Apr-2001  nathanw file netwinder_boot.h was added on branch nathanw_sa on 2002-04-17 00:03:57 +0000
 1.1.4.1 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file netwinder_boot.h was added on branch thorpej_scsipi on 2001-04-21 17:54:16 +0000
 1.3 12-Feb-2002  thorpej * 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.2 26-Oct-2001  matt branches: 1.2.2;
Netwinder's MACHINE_ARCH is arm, not arm32.
 1.1 19-Apr-2001  matt branches: 1.1.2; 1.1.4; 1.1.8;
Populate the netwinder include directory.
 1.1.8.1 12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.1.4.2 16-Mar-2002  jdolecek Catch up with -current.
 1.1.4.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file param.h was added on branch thorpej_scsipi on 2001-04-21 17:54:16 +0000
 1.2.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.2.2.1 26-Oct-2001  nathanw file param.h was added on branch nathanw_sa on 2002-02-28 04:11:12 +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 03-Sep-2001  matt branches: 1.2.6;
Add a merged <pcb.h> for arm26/arm32.
 1.1 19-Apr-2001  matt branches: 1.1.2; 1.1.4;
Populate the netwinder include directory.
 1.1.4.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.4.1 13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file pcb.h was added on branch thorpej_scsipi on 2001-04-21 17:54:16 +0000
 1.2.6.1 08-Jan-2002  nathanw Catch up to -current.
 1.5 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.4 14-Mar-2009  dsl branches: 1.4.12; 1.4.22;
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.3 09-Oct-2002  thorpej branches: 1.3.112; 1.3.120; 1.3.126;
Properly prototype the netwinder isa/pci init funcs.
 1.2 08-Jun-2001  simonb branches: 1.2.8;
For ports that wire up pciide in compatibility mode, have
them define __HAVE_PCIIDE_MACHDEP_COMPAT_INTR_ESTABLISH
in pci_machdep.h and pciide_map_compat_intr() only calls
pciide_machdep_compat_intr_establish() if that preprocessor
define exists.

Ports that don't need to do this no longer need to supply a
dummy function.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file pci_machdep.h was added on branch thorpej_scsipi on 2001-04-21 17:54:16 +0000
 1.2.8.2 18-Oct-2002  nathanw Catch up to -current.
 1.2.8.1 08-Jun-2001  nathanw file pci_machdep.h was added on branch nathanw_sa on 2002-10-18 02:39:04 +0000
 1.3.126.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.3.120.1 28-Apr-2009  skrll Sync with HEAD.
 1.3.112.1 04-May-2009  yamt sync with head.
 1.4.22.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.4.12.1 30-Oct-2012  yamt sync with head
 1.3 09-Dec-2001  thorpej Add files I mised when includes were straightened out (sorry, folks,
I had a stale kernel compile directory, which is why I missed this).
 1.2 12-Jun-2001  matt branches: 1.2.2; 1.2.8;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file pio.h was added on branch thorpej_scsipi on 2001-04-21 17:54:17 +0000
 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 19-Apr-2001  matt branches: 1.1.2; 1.1.4; 1.1.10;
Populate the netwinder include directory.
 1.1.10.2 08-Jan-2002  nathanw Catch up to -current.
 1.1.10.1 19-Apr-2001  nathanw file pmap.h was added on branch nathanw_sa on 2002-01-08 00:26:46 +0000
 1.1.4.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file pmap.h was added on branch thorpej_scsipi on 2001-04-21 17:54:17 +0000
 1.2 12-Jul-2018  maxv Remove the kernel PMC code. Sent yesterday on tech-kern@.

This change:

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

* Removes the PMC code of ARM XSCALE.

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

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

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

* Removes the pmc_evid_t and pmc_ctr_t types.

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

pmc(9) is meant to be a general interface. Initially, the Intel XScale
counters are the only ones supported.
 1.1.204.1 10-Jun-2019  christos Sync with HEAD
 1.1.202.1 28-Jul-2018  pgoyette Sync with HEAD
 1.1.6.2 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.1.6.1 07-Aug-2002  jdolecek file pmc.h was added on branch kqueue on 2002-09-06 08:38:08 +0000
 1.1.4.2 31-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-31 13:45:29 +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: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;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file proc.h was added on branch thorpej_scsipi on 2001-04-21 17:54:17 +0000
 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;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file profile.h was added on branch thorpej_scsipi on 2001-04-21 17:54:17 +0000
 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;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file profileio.h was added on branch thorpej_scsipi on 2001-04-21 17:54:17 +0000
 1.2.8.2 12-Jun-2001  matt Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.2.8.1 12-Jun-2001  matt file profileio.h was added on branch nathanw_sa on 2001-06-12 18:04:13 +0000
 1.2 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.1 19-Apr-2001  matt branches: 1.1.2; 1.1.4; 1.1.10;
Populate the netwinder include directory.
 1.1.10.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.10.1 19-Apr-2001  nathanw file psl.h was added on branch nathanw_sa on 2002-02-28 04:11:13 +0000
 1.1.4.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file psl.h was added on branch thorpej_scsipi on 2001-04-21 17:54:17 +0000
 1.2 12-Jun-2001  matt branches: 1.2.8;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file pte.h was added on branch thorpej_scsipi on 2001-04-21 17:54:17 +0000
 1.2.8.2 12-Jun-2001  matt Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.2.8.1 12-Jun-2001  matt file pte.h was added on branch nathanw_sa on 2001-06-12 18:04:14 +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;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file ptrace.h was added on branch thorpej_scsipi on 2001-04-21 17:54:18 +0000
 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;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file reg.h was added on branch thorpej_scsipi on 2001-04-21 17:54:18 +0000
 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 19-Apr-2001  matt branches: 1.1.2; 1.1.10;
Populate the netwinder include directory.
 1.1.10.2 19-Apr-2001  matt Populate the netwinder include directory.
 1.1.10.1 19-Apr-2001  matt file rtc.h was added on branch nathanw_sa on 2001-04-19 07:11:05 +0000
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file rtc.h was added on branch thorpej_scsipi on 2001-04-21 17:54:18 +0000
 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:07: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;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file setjmp.h was added on branch thorpej_scsipi on 2001-04-21 17:54:18 +0000
 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;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file signal.h was added on branch thorpej_scsipi on 2001-04-21 17:54:18 +0000
 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;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file stdarg.h was added on branch thorpej_scsipi on 2001-04-21 17:54:18 +0000
 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 19-Apr-2001  matt branches: 1.1.2; 1.1.4;
Populate the netwinder include directory.
 1.1.4.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.4.1 03-Aug-2001  lukem update to -current
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file sysarch.h was added on branch thorpej_scsipi on 2001-04-21 17:54:19 +0000
 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;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file trap.h was added on branch thorpej_scsipi on 2001-04-21 17:54:19 +0000
 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.13 01-Apr-2021  simonb Whitespace: #define<tab>
 1.12 26-Jan-2017  christos branches: 1.12.26; 1.12.28;
provide __HAVE_COMPAT_NETBSD32 and fix multiple include protection consistently.
 1.11 17-Jul-2011  dyoung branches: 1.11.12; 1.11.30; 1.11.34; 1.11.38;
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.10 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.9 17-Oct-2007  garbled branches: 1.9.2; 1.9.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.8 14-Jul-2007  ad branches: 1.8.6; 1.8.10;
Generic soft interrupts are mandatory.
 1.7 15-Sep-2006  gdamore branches: 1.7.10; 1.7.18;
Convert netwinder to generic TODR. Committed after total lack of feedback
(or even acknowledgement of receipt) from anyone on port-netwinder, so it
is untested. (Compiles though.)
 1.6 11-Sep-2006  gdamore Convert netwinder and cats (and any other footbridge based system in the
future) to timecounters, using the dc21285_fclk. ok nick@, chris@.
 1.5 03-Sep-2006  bjh21 branches: 1.5.2;
Nothing in the kernel now tests __HAVE_NWSCONS, so stop defining it everywhere.
 1.4 03-Nov-2002  chris branches: 1.4.22; 1.4.36; 1.4.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.3 28-Feb-2002  simonb Use "#define<tab>".
 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 19-Apr-2001  matt branches: 1.1.2; 1.1.4; 1.1.10;
Populate the netwinder include directory.
 1.1.10.4 11-Nov-2002  nathanw Catch up to -current
 1.1.10.3 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.1.10.2 08-Jan-2002  nathanw Catch up to -current.
 1.1.10.1 19-Apr-2001  nathanw file types.h was added on branch nathanw_sa on 2002-01-08 00:26:48 +0000
 1.1.4.2 16-Mar-2002  jdolecek Catch up with -current.
 1.1.4.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file types.h was added on branch thorpej_scsipi on 2001-04-21 17:54:19 +0000
 1.4.40.1 14-Sep-2006  yamt sync with head.
 1.4.36.1 09-Sep-2006  rpaulo sync with head
 1.4.22.3 21-Jan-2008  yamt sync with head
 1.4.22.2 03-Sep-2007  yamt sync with head.
 1.4.22.1 30-Dec-2006  yamt sync with head.
 1.5.2.1 18-Nov-2006  ad Sync with head.
 1.7.18.1 03-Oct-2007  garbled Sync with HEAD
 1.7.10.1 15-Jul-2007  ad Sync with head.
 1.8.10.2 23-Mar-2008  matt sync with HEAD
 1.8.10.1 06-Nov-2007  matt sync with HEAD
 1.8.6.1 28-Feb-2008  rjs Sync with HEAD.
 1.9.8.1 23-Jan-2008  bouyer Sync with HEAD.
 1.9.2.1 18-Feb-2008  mjf Sync with HEAD.
 1.11.38.1 21-Apr-2017  bouyer Sync with HEAD
 1.11.34.1 20-Mar-2017  pgoyette Sync with HEAD
 1.11.30.1 05-Feb-2017  skrll Sync with HEAD
 1.11.12.1 03-Dec-2017  jdolecek update from HEAD
 1.12.28.1 03-Apr-2021  thorpej Sync with HEAD.
 1.12.26.1 03-Apr-2021  thorpej Sync with HEAD.
 1.2 12-Jun-2001  matt branches: 1.2.8;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file undefined.h was added on branch thorpej_scsipi on 2001-04-21 17:54:19 +0000
 1.2.8.2 12-Jun-2001  matt Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.2.8.1 12-Jun-2001  matt file undefined.h was added on branch nathanw_sa on 2001-06-12 18:04:18 +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;
Nuke include files which are just <arm/foo.h>. Adjust Makefile accordingly.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file varargs.h was added on branch thorpej_scsipi on 2001-04-21 17:54:19 +0000
 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.28 02-Nov-2017  skrll ISA exists on more that just shark. Fix a comment about this.
 1.27 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.26 18-Feb-2012  christos branches: 1.26.2; 1.26.16;
expose more for kmemuser; fix header protection.
 1.25 06-Nov-2010  uebayasi branches: 1.25.8; 1.25.12;
Remove incomplete, never worked dynamic run-time memory registration
(uvm_page_physload(9)). This functionality will be re-added later.
 1.24 25-Oct-2007  yamt branches: 1.24.40; 1.24.42;
defparam PAGER_MAP_SIZE.
 1.23 11-Dec-2005  christos branches: 1.23.30; 1.23.46; 1.23.48; 1.23.50; 1.23.54;
merge ktrace-lwp.
 1.22 07-Aug-2003  agc branches: 1.22.16;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.21 22-May-2003  thorpej branches: 1.21.2;
Move KERNEL_VM_SIZE into the C files where its used.
 1.20 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.19 21-May-2003  thorpej Move KERNEL_VM_BASE inside where it is used (it won't be there for long).
 1.18 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.17 03-May-2003  thorpej Remove old pmap support for platforms which have fully switched over.
 1.16 28-Apr-2003  thorpej Don't define APTE_BASE if ARM32_PMAP_NEW is defined; the new pmap
doesn't use it.
 1.15 02-Apr-2003  thorpej Use PAGE_SIZE rather than NBPG.
 1.14 14-Sep-2002  thorpej Back out previous; it breaks binary compatibility between platforms
in the same MACHINE_ARCH.
 1.13 14-Sep-2002  mycroft Move some #defines out of _KERNEL.
 1.12 23-Mar-2002  thorpej * Change all uses of KERNEL_SPACE_START to KERNEL_BASE.
* Delete now unused KERNEL_SPACE_START.
 1.11 23-Mar-2002  thorpej Define KERNEL_TEXT_BASE, APTE_BASE, and KERNEL_VM_BASE in terms of
KERNEL_BASE.
 1.10 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.9 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.8 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.7 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.6 15-Nov-2001  soren MAXSLP is defined to be a machine-independent scheduling parameter,
so move it into sys/param.h.
 1.5 11-Nov-2001  thorpej branches: 1.5.2;
Pull in common 32-bit ARM VM parameters.
 1.4 11-Aug-2001  chris branches: 1.4.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.3 01-May-2001  thorpej branches: 1.3.2;
Per discussion w/ chuck and chuck, restructure the md page stuff
to use a structure called "vm_page_md", and use __HAVE_VM_PAGE_MD
and __HAVE_PMAP_PHYSSEG.
 1.2 29-Apr-2001  thorpej Add a VM_MDPAGE_MEMBERS macro that defines pmap-specific data for
each vm_page structure. Add a VM_MDPAGE_INIT() macro to init this
data when pages are initialized by UVM. These macros are mandatory,
but ports may #define them to nothing if they are not needed/used.

This deprecates struct pmap_physseg. As a transitional measure,
allow a port to #define PMAP_PHYSSEG so that it can continue to
use it until its pmap is converted to use VM_MDPAGE_MEMBERS.

Use all this stuff to eliminate a lot of extra work in the Alpha
pmap module (it's smaller and faster now). Changes to other pmap
modules will follow.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Populate the netwinder include directory.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file vmparam.h was added on branch thorpej_scsipi on 2001-04-21 17:54:19 +0000
 1.3.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.3.2.4 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.3.2.3 16-Mar-2002  jdolecek Catch up with -current.
 1.3.2.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3.2.1 25-Aug-2001  thorpej Merge Aug 24 -current into the kqueue branch.
 1.4.4.1 12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.5.2.4 17-Apr-2002  nathanw Catch up to -current.
 1.5.2.3 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.5.2.2 08-Jan-2002  nathanw Catch up to -current.
 1.5.2.1 11-Nov-2001  nathanw file vmparam.h was added on branch nathanw_sa on 2002-01-08 00:26:48 +0000
 1.21.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.21.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.21.2.1 03-Aug-2004  skrll Sync with HEAD
 1.22.16.1 27-Oct-2007  yamt sync with head.
 1.23.54.1 13-Nov-2007  bouyer Sync with HEAD
 1.23.50.1 06-Nov-2007  matt sync with HEAD
 1.23.48.1 28-Oct-2007  joerg Sync with HEAD.
 1.23.46.1 26-Dec-2007  rjs Sync with HEAD.
 1.23.30.1 03-Dec-2007  ad Sync with HEAD.
 1.24.42.1 05-Mar-2011  rmind sync with head
 1.24.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.25.12.1 24-Feb-2012  mrg sync to -current.
 1.25.8.1 17-Apr-2012  yamt sync with head
 1.26.16.1 06-Apr-2015  skrll Sync with HEAD
 1.26.2.1 03-Dec-2017  jdolecek update from 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:38:22 +0000
 1.13 20-Dec-2023  thorpej Remove unnecessary <sys/malloc.h>.
 1.12 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.11 29-Jul-2012  mlelstv branches: 1.11.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.10 03-Dec-2007  ad branches: 1.10.52; 1.10.58;
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.9 17-Oct-2007  garbled branches: 1.9.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.8 30-Jul-2007  jmmv branches: 1.8.2; 1.8.4; 1.8.6;
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.7 11-Dec-2005  christos branches: 1.7.24; 1.7.30; 1.7.38; 1.7.40; 1.7.42; 1.7.44;
merge ktrace-lwp.
 1.6 23-Oct-2004  thorpej branches: 1.6.12;
Centralize the declaration of booted_device and booted_partition.
 1.5 15-Jul-2003  lukem __KERNEL_RCSID()
 1.4 16-Jun-2003  thorpej branches: 1.4.2;
Rename IPL_IMP -> IPL_VM.
 1.3 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.2 05-Sep-2001  matt branches: 1.2.6; 1.2.10;
Change <machine/irqhandler.h> to <machine/intr.h> since the latter always
includes the former and is a standard include file.
 1.1 09-Jun-2001  matt branches: 1.1.2;
Move towards common Makefile.arm
Add a netwinder/autoconf.c
 1.1.2.1 13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.2.10.1 17-Mar-2002  thorpej IPL_IMP -> IPL_VM
 1.2.6.2 11-Nov-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-11-11 22:01:44 +0000
 1.4.2.4 02-Nov-2004  skrll Sync with HEAD.
 1.4.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.4.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.4.2.1 03-Aug-2004  skrll Sync with HEAD
 1.6.12.2 07-Dec-2007  yamt sync with head
 1.6.12.1 03-Sep-2007  yamt sync with head.
 1.7.44.1 15-Aug-2007  skrll Sync with HEAD.
 1.7.42.1 07-Aug-2007  matt Sync with HEAD.
 1.7.40.1 06-Jan-2008  wrstuden Catch up to netbsd-4.0 release.
 1.7.38.1 03-Oct-2007  garbled Sync with HEAD
 1.7.30.2 03-Dec-2007  ad Sync with HEAD.
 1.7.30.1 20-Aug-2007  ad Sync with HEAD.
 1.7.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.8.6.2 09-Jan-2008  matt sync with HEAD
 1.8.6.1 06-Nov-2007  matt sync with HEAD
 1.8.4.1 09-Dec-2007  jmcneill Sync with HEAD.
 1.8.2.1 26-Dec-2007  rjs Sync with HEAD.
 1.9.2.1 08-Dec-2007  mjf Sync with HEAD.
 1.10.58.1 08-Aug-2012  martin Pull up following revision(s) (requested by mlelstv in ticket #466):
sys/arch/amiga/amiga/autoconf.c: revision 1.113
sys/arch/rs6000/rs6000/autoconf.c: revision 1.4
sys/arch/emips/emips/autoconf.c: revision 1.6
sys/arch/sandpoint/sandpoint/autoconf.c: revision 1.27
sys/arch/evbmips/alchemy/autoconf.c: revision 1.18
sys/arch/sgimips/sgimips/autoconf.c: revision 1.43
sys/arch/atari/atari/autoconf.c: revision 1.63
sys/arch/powerpc/oea/ofw_autoconf.c: revision 1.17
sys/arch/mmeye/mmeye/autoconf.c: revision 1.9
distrib/sets/lists/comp/mi: revision 1.1771
sys/arch/mipsco/mipsco/autoconf.c: revision 1.25
sys/arch/iyonix/iyonix/autoconf.c: revision 1.14
sys/arch/hp300/hp300/autoconf.c: revision 1.100
sys/kern/init_main.c: revision 1.445
sys/arch/pmax/pmax/autoconf.c: revision 1.79
sys/arch/netwinder/netwinder/autoconf.c: revision 1.11
sys/arch/dreamcast/dreamcast/autoconf.c: revision 1.10
sys/arch/ibmnws/ibmnws/autoconf.c: revision 1.12
sys/arch/evbppc/ev64260/autoconf.c: revision 1.17
sys/arch/evbmips/gdium/autoconf.c: revision 1.5
sys/arch/algor/algor/autoconf.c: revision 1.21
share/man/man9/Makefile: revision 1.367
sys/arch/ews4800mips/ews4800mips/autoconf.c: revision 1.9
sys/arch/amigappc/amigappc/autoconf.c: revision 1.5
sys/arch/x86/x86/x86_autoconf.c: revision 1.65
sys/arch/acorn26/acorn26/autoconf.c: revision 1.9
sys/arch/mvmeppc/mvmeppc/autoconf.c: revision 1.13
sys/arch/vax/vax/autoconf.c: revision 1.94
sys/arch/usermode/dev/cpu.c: revision 1.72
sys/arch/evbppc/virtex/autoconf.c: revision 1.5
sys/arch/next68k/next68k/autoconf.c: revision 1.26
sys/arch/mac68k/mac68k/autoconf.c: revision 1.73
sys/arch/ia64/ia64/autoconf.c: revision 1.6
sys/arch/evbppc/obs405/obs405_autoconf.c: revision 1.6
share/man/man9/cpu_rootconf.9: revision 1.7
sys/arch/landisk/landisk/autoconf.c: revision 1.6
sys/arch/evbmips/malta/autoconf.c: revision 1.16
sys/arch/sun3/sun3/autoconf.c: revision 1.76
sys/arch/evbppc/explora/autoconf.c: revision 1.13
sys/arch/sun3/sun3/autoconf.c: revision 1.77
sys/arch/evbmips/loongson/autoconf.c: revision 1.3
sys/arch/evbmips/atheros/autoconf.c: revision 1.11
sys/arch/sparc64/sparc64/autoconf.c: revision 1.188
sys/arch/acorn32/acorn32/autoconf.c: revision 1.18
sys/arch/evbarm/evbarm/autoconf.c: revision 1.13
sys/arch/cobalt/cobalt/autoconf.c: revision 1.30
sys/arch/mvme68k/mvme68k/autoconf.c: revision 1.46
sys/arch/hp700/hp700/autoconf.c: revision 1.48
sys/arch/evbmips/adm5120/autoconf.c: revision 1.5
sys/arch/hpcmips/hpcmips/autoconf.c: revision 1.25
sys/arch/alpha/alpha/autoconf.c: revision 1.52
sys/arch/sparc/sparc/autoconf.c: revision 1.244
sys/arch/evbppc/pmppc/autoconf.c: revision 1.7
sys/arch/bebox/bebox/autoconf.c: revision 1.25
sys/arch/luna68k/luna68k/autoconf.c: revision 1.13
sys/arch/hpcarm/hpcarm/autoconf.c: revision 1.20
sys/arch/evbppc/walnut/autoconf.c: revision 1.21
sys/arch/cesfic/cesfic/autoconf.c: revision 1.26
sys/arch/cats/cats/autoconf.c: revision 1.17
sys/arch/x68k/x68k/autoconf.c: revision 1.67
sys/arch/news68k/news68k/autoconf.c: revision 1.21
sys/arch/arc/arc/autoconf.c: revision 1.34
sys/arch/evbsh3/evbsh3/autoconf.c: revision 1.11
sys/sys/conf.h: revision 1.143
sys/arch/evbmips/rasoc/autoconf.c: revision 1.3
sys/arch/hpcsh/hpcsh/autoconf.c: revision 1.26
sys/arch/sun68k/sun68k/autoconf.c: revision 1.29
sys/arch/evbmips/rmixl/autoconf.c: revision 1.6
sys/arch/zaurus/zaurus/autoconf.c: revision 1.12
sys/arch/xen/x86/autoconf.c: revision 1.15
sys/arch/evbppc/mpc85xx/autoconf.c: revision 1.6
sys/arch/shark/shark/autoconf.c: revision 1.18
sys/arch/prep/prep/autoconf.c: revision 1.25
sys/arch/newsmips/newsmips/autoconf.c: revision 1.36
sys/arch/sbmips/sbmips/autoconf.c: revision 1.8
Do not call setroot() from MD code and from MI code, which has
unwanted sideeffects in the RB_ASKNAME case. This fixes PR/46732.
No longer wrap MD cpu_rootconf(), as hp300 port stores reboot information
as a side effect. Instead call MI rootconf() from MD code which makes
rootconf() now a wrapper to setroot().
Adjust several MD routines to set the global booted_device,booted_partition
variables instead of passing partial information to setroot().
Make cpu_rootconf(9) describe the calling order.
add rootconf(9) as a link to cpu_rootconf(9)
make this compile again
 1.10.52.1 30-Oct-2012  yamt sync with head
 1.11.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.3 03-Sep-2001  matt branches: 1.3.6;
Switch netwinder to use a common conf.c for the arm ports.
 1.2 09-Jun-2001  matt branches: 1.2.2;
Eliminate some unavailable devices on netwinder.
 1.1 19-Apr-2001  matt branches: 1.1.2;
Add these to CVS so other folks can look at them and let me what
I'm screwing up.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file conf.c was added on branch thorpej_scsipi on 2001-04-21 17:54:20 +0000
 1.2.2.1 13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.3.6.1 08-Jan-2002  nathanw Catch up to -current.
 1.93 21-Feb-2024  andvar Add 0x prefix before hex physmem in couple more places.
For netwinder move physmem arg to new line to keep line <80 symbols.
 1.92 23-May-2022  andvar s/boundries/boundaries/, s/itterate/iterate/ and few more typos.
 1.91 17-Aug-2021  andvar fix multiplei repetitive typos in comments, messages and documentation. mainly because copy paste code big amount of files are affected.
 1.90 18-Apr-2020  skrll PMAP_DEBUG has been deleted on arm
 1.89 18-Apr-2020  skrll Trailing whitespace
 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 16-Jul-2019  skrll KNF
 1.86 28-Oct-2018  skrll Fix a commit
 1.85 22-Dec-2016  cherry branches: 1.85.14; 1.85.16;
physmem should be of type psize_t

Also, use PRIxPSIZE when printf(9)ing physmem.
 1.84 22-Dec-2016  cherry switch all ports to use uvm_init.c:uvm_md_init()

uvm_setpagesize() is now subsumed within this funciton.
 1.83 13-Sep-2014  matt branches: 1.83.2; 1.83.4;
Replace more vm_offset_t, vm_size_t with vaddr_t, vsize_t
Use paddr_t for msgbufphys
 1.82 13-Sep-2014  matt vm_offset_t -> vaddr_t, vm_size_t -> vsize_t
 1.81 18-Aug-2013  matt Fix more <arm/locore.h> lossage
 1.80 13-Oct-2012  jdc branches: 1.80.2;
Adapt to the changed signature of pckbc_cnattach().
 1.79 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.78 16-Aug-2012  matt branches: 1.78.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.77 03-Aug-2012  matt Remove uneeded declarations.
 1.76 01-Jul-2011  dyoung branches: 1.76.2;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.75 30-Jun-2011  wiz dependant -> dependent
 1.74 28-Dec-2009  uebayasi More setttb() -> cpu_setttb() for readability & consistency. Missing instances
pointed out by tsutsui@ & nonaka@, thanks.
 1.73 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.72 26-Nov-2009  matt Kill proc0paddr. Use lwp0.l_addr instead.
 1.71 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.70 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.69 30-Nov-2008  martin branches: 1.69.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.68 12-Nov-2008  ad Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.67 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.66 27-Apr-2008  matt branches: 1.66.6; 1.66.8;
Merge kernel changes in matt-armv6 to HEAD.
 1.65 19-Jan-2008  chris branches: 1.65.6; 1.65.8; 1.65.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.64 04-Mar-2007  christos branches: 1.64.16; 1.64.20; 1.64.26; 1.64.32;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.63 24-Nov-2006  wiz branches: 1.63.4;
s/independant/independent/, from Zafer.
 1.62 28-Jun-2006  he branches: 1.62.4; 1.62.6;
Fix a build problem ('kernel_l1pt.pv_va may be used uninitialized').
 1.61 05-Apr-2006  uwe branches: 1.61.4;
kernelstack and proc0paddr are defined in arm32_machdep.c
Change local definions into declations.
 1.60 11-Dec-2005  christos branches: 1.60.4; 1.60.6; 1.60.8; 1.60.10; 1.60.12;
merge ktrace-lwp.
 1.59 02-Jun-2005  he branches: 1.59.2;
Adapt to shadowing and qualifier-cast warnings.
 1.58 12-Dec-2004  abs Fix comments slighly
 1.57 13-Feb-2004  wiz Uppercase CPU, plural is CPUs.
 1.56 15-Jul-2003  lukem __KERNEL_RCSID()
 1.55 14-Jun-2003  uwe branches: 1.55.2;
wscons as console support.

XXX: the way we pre-map memory for igsfb(4) is kludgy.
 1.54 14-Jun-2003  thorpej Also pass a type argument to comcnattach() and com_kgdb_attach().
comspeed() (and thus cominit()) may need this information.
 1.53 13-Jun-2003  uwe Drop __P(). Drop redundant prototypes that we either don't need or
get from <arm/arm32/machdep.h> anyway. Consistently use ANSI style
function definitions (most functions already were in ANSI style).
Generated object file is not changed.
 1.52 12-Jun-2003  uwe In initarm() turn the LED yellow at the beginning, green at the end.

Rewrite netwinder_restart to be self-contained, when it runs the MMU
is disabled. Set cpu_reset_address to the physical address of
netwinder_restart, not virtual.
 1.51 22-May-2003  thorpej Move KERNEL_VM_SIZE into the C files where its used.
 1.50 21-May-2003  thorpej Move KERNEL_VM_BASE inside where it is used (it won't be there for long).
 1.49 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.48 03-May-2003  thorpej Remove old pmap support for platforms which have fully switched over.
 1.47 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.46 26-Apr-2003  ragge Call ksyms_init() instead of ddb_init() in case of
NKSYMS || defined(DDB) || defined(LKM)
 1.45 22-Apr-2003  thorpej New pmap for netwinder.
 1.44 02-Apr-2003  thorpej Use PAGE_SIZE rather than NBPG.
 1.43 28-Mar-2003  he Initialize the new members of consdev (cn_halt, cn_flush) to NULL so
that this compiles again.
 1.42 17-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.41 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.40 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.39 09-Oct-2002  thorpej Properly prototype the netwinder isa/pci init funcs.
 1.38 09-Oct-2002  thorpej Make this compile with strict prototypes.
 1.37 27-Sep-2002  provos remove trailing \n in panic(). approved perry.
 1.36 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.35 21-Aug-2002  thorpej Do cached memory access to L1 tables, making sure to write-back the
cache after any L1 table modifications.
 1.34 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.33 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.32 30-Jul-2002  thorpej Move the uvm_setpagesize() call to platform-dependent code in preparation
for other changes to pmap_bootstrap().
 1.31 12-Apr-2002  thorpej branches: 1.31.2; 1.31.4;
Use the bus_space_generic bus space ops.
 1.30 05-Apr-2002  thorpej * 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.29 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.28 03-Apr-2002  thorpej Fetch the memory size from the NeTTrom boot info.
 1.27 03-Apr-2002  thorpej Clean up Netwinder bootstrap:
* Put the code that runs with the MMU off in a separate section (.start).
* Use a linker script to set the VMA/LMA appropriately for each section.
* Fix kernel page table allocation and mapping of kernel text/data/bss.

...and now that kernel images > 2MB work:
* Add SYMTAB_SPACE to the GENERIC kernel so that we have DDB symbols.
* Use dbsym to load the kernel's DDB symbol area.
 1.26 25-Mar-2002  thorpej * Fix use of pmap_curmaxkvaddr.
* Use the PTP hint in the pmap.
 1.25 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.24 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.23 22-Feb-2002  thorpej Fix the "va" argument to pmap_map_entry() when mapping kernel_ptpt.
 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 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.14 23-Nov-2001  thorpej Use <arm/undefined.h> instead of <machine/undefined.h>.
 1.13 23-Nov-2001  thorpej No need to pull in <machine/pte.h> directly.
 1.12 09-Nov-2001  thorpej branches: 1.12.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.11 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.10 09-Nov-2001  thorpej Remove unnecessary prototypes for zero_page_read{only,write}().
 1.9 05-Sep-2001  matt branches: 1.9.4;
Change <machine/irqhandler.h> to <machine/intr.h> since the latter always
includes the former and is a standard include file.
 1.8 03-Sep-2001  matt Switch netwinder to use a common conf.c for the arm ports.
 1.7 12-Jul-2001  matt Allow ELF to be executed. Remove any depenence on a.out header. Instead
use etext & end to establish text and kernel size.
 1.6 19-Jun-2001  wiz branches: 1.6.2;
`response', not `responce'
 1.5 19-Jun-2001  wiz `accessible' only has one `a'.
 1.4 09-Jun-2001  chris Typo police: 28285 -> 21285
Also garbage collect the old kernel VM map defines for footbridge.
 1.3 09-Jun-2001  chris Move the footbridge dir out of arm32 into arm.
 1.2 20-Apr-2001  matt branches: 1.2.2;
More changes to get the netwinder to multiuser. Hack the initarm code
to reserve the first 2MB for the kernel. Use the netwinder specific
files. Add pci_attach_hook for init the pci devices. Add and alternate
id for the PCI ISA bridge.
 1.1 19-Apr-2001  matt Add these to CVS so other folks can look at them and let me what
I'm screwing up.
 1.2.2.3 23-Apr-2001  bouyer Sync with HEAD.
 1.2.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.2.2.1 20-Apr-2001  bouyer file netwinder_machdep.c was added on branch thorpej_scsipi on 2001-04-21 17:54:20 +0000
 1.6.2.9 18-Oct-2002  jdolecek sync with -current:
Merge isa_machdep.c from netwinder and cats into footbridge/isa
 1.6.2.8 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.7 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.6.2.6 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.6.2.5 16-Mar-2002  jdolecek Catch up with -current.
 1.6.2.4 11-Feb-2002  jdolecek Sync w/ -current.
 1.6.2.3 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.6.2.2 13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.6.2.1 03-Aug-2001  lukem update to -current
 1.9.4.1 12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.12.2.10 11-Nov-2002  nathanw Catch up to -current
 1.12.2.9 18-Oct-2002  nathanw Catch up to -current.
 1.12.2.8 27-Aug-2002  thorpej Sync with -current.
 1.12.2.7 01-Aug-2002  nathanw Catch up to -current.
 1.12.2.6 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.12.2.5 17-Apr-2002  nathanw Catch up to -current.
 1.12.2.4 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.12.2.3 28-Feb-2002  nathanw Catch up to -current.
 1.12.2.2 08-Jan-2002  nathanw Catch up to -current.
 1.12.2.1 09-Nov-2001  nathanw file netwinder_machdep.c was added on branch nathanw_sa on 2002-01-08 00:26:49 +0000
 1.31.4.2 14-Feb-2003  he Revert pull-up of revision 1.35 (requested by rearnsha in ticket #1170):
Revert cached memory access to L1 tables, this causes instability
on the release branch.
 1.31.4.1 30-Nov-2002  he Pull up revision 1.35 (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.
(Overlooked while processing pull-up earlier -- sorry!)
 1.31.2.1 31-Aug-2002  gehenna catch up with -current.
 1.55.2.5 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.55.2.4 18-Dec-2004  skrll Sync with HEAD.
 1.55.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.55.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.55.2.1 03-Aug-2004  skrll Sync with HEAD
 1.59.2.4 21-Jan-2008  yamt sync with head
 1.59.2.3 03-Sep-2007  yamt sync with head.
 1.59.2.2 30-Dec-2006  yamt sync with head.
 1.59.2.1 21-Jun-2006  yamt sync with head.
 1.60.12.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.60.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.60.8.2 11-Aug-2006  yamt sync with head
 1.60.8.1 11-Apr-2006  yamt sync with head
 1.60.6.1 22-Apr-2006  simonb Sync with head.
 1.60.4.1 09-Sep-2006  rpaulo sync with head
 1.61.4.1 13-Jul-2006  gdamore Merge from HEAD.
 1.62.6.1 10-Dec-2006  yamt sync with head.
 1.62.4.1 12-Jan-2007  ad Sync with head.
 1.63.4.1 12-Mar-2007  rmind Sync with HEAD.
 1.64.32.1 20-Jan-2008  bouyer Sync with HEAD
 1.64.26.1 18-Feb-2008  mjf Sync with HEAD.
 1.64.20.2 23-Mar-2008  matt sync with HEAD
 1.64.20.1 28-Jan-2008  matt Adapt to new pmap_bootstrap signature.
 1.64.16.1 28-Feb-2008  rjs Sync with HEAD.
 1.65.10.4 11-Mar-2010  yamt sync with head
 1.65.10.3 19-Aug-2009  yamt sync with head.
 1.65.10.2 04-May-2009  yamt sync with head.
 1.65.10.1 16-May-2008  yamt sync with head.
 1.65.8.1 18-May-2008  yamt sync with head.
 1.65.6.2 17-Jan-2009  mjf Sync with HEAD.
 1.65.6.1 02-Jun-2008  mjf Sync with HEAD.
 1.66.8.2 28-Apr-2009  skrll Sync with HEAD.
 1.66.8.1 19-Jan-2009  skrll Sync with HEAD.
 1.66.6.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.69.4.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.76.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.76.2.1 30-Oct-2012  yamt sync with head
 1.78.2.3 03-Dec-2017  jdolecek update from HEAD
 1.78.2.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.78.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.80.2.1 28-Aug-2013  rmind sync with head
 1.83.4.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.83.2.1 05-Feb-2017  skrll Sync with HEAD
 1.85.16.3 21-Apr-2020  martin Sync with HEAD
 1.85.16.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.85.16.1 10-Jun-2019  christos Sync with HEAD
 1.85.14.1 26-Nov-2018  pgoyette Sync with HEAD, resolve a couple of conflicts
 1.88.8.1 20-Apr-2020  bouyer Sync with HEAD
 1.8 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.7 14-Oct-2002  bjh21 branches: 1.7.108; 1.7.110; 1.7.112;
Continue the " - . - 8" purge. Specifically:

add rd, pc, #foo - . - 8 -> adr rd, foo
ldr rd, [pc, #foo - . - 8] -> ldr rd, foo

Also, when saving the return address for a function pointer call, use
"mov lr, pc" just before the call unless the return address is somewhere
other than just after the call site.

Finally, a few obvious little micro-optimisations like using LDR directly
rather than ADR followed by LDR, and loading directly into PC rather than
bouncing via R0.
 1.6 05-Apr-2002  thorpej * 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.5 03-Apr-2002  thorpej Clean up Netwinder bootstrap:
* Put the code that runs with the MMU off in a separate section (.start).
* Use a linker script to set the VMA/LMA appropriately for each section.
* Fix kernel page table allocation and mapping of kernel text/data/bss.

...and now that kernel images > 2MB work:
* Add SYMTAB_SPACE to the GENERIC kernel so that we have DDB symbols.
* Use dbsym to load the kernel's DDB symbol area.
 1.4 15-Feb-2002  skrll Remove redundant mov instruction.

OK'd by Matt Thomas <matt@netbsd.org>
 1.3 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.2 20-Apr-2001  matt branches: 1.2.2; 1.2.4; 1.2.10;
More changes to get the netwinder to multiuser. Hack the initarm code
to reserve the first 2MB for the kernel. Use the netwinder specific
files. Add pci_attach_hook for init the pci devices. Add and alternate
id for the PCI ISA bridge.
 1.1 19-Apr-2001  matt Add these to CVS so other folks can look at them and let me what
I'm screwing up.
 1.2.10.5 18-Oct-2002  nathanw Catch up to -current.
 1.2.10.4 17-Apr-2002  nathanw Catch up to -current.
 1.2.10.3 28-Feb-2002  nathanw Catch up to -current.
 1.2.10.2 08-Jan-2002  nathanw Catch up to -current.
 1.2.10.1 20-Apr-2001  nathanw file nwmmu.S was added on branch nathanw_sa on 2002-01-08 00:26:49 +0000
 1.2.4.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.4.2 16-Mar-2002  jdolecek Catch up with -current.
 1.2.4.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2.2.3 23-Apr-2001  bouyer Sync with HEAD.
 1.2.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.2.2.1 20-Apr-2001  bouyer file nwmmu.S was added on branch thorpej_scsipi on 2001-04-21 17:54:20 +0000
 1.7.112.1 16-May-2008  yamt sync with head.
 1.7.110.1 18-May-2008  yamt sync with head.
 1.7.108.1 02-Jun-2008  mjf Sync with HEAD.
 1.7 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.6 11-Dec-2005  christos branches: 1.6.112; 1.6.122;
merge ktrace-lwp.
 1.5 15-Aug-2005  christos PR/30992: KIYOHARA Takashi: Tulip needs memory mapping on the netwinder.
 1.4 15-Jul-2003  lukem branches: 1.4.16;
__KERNEL_RCSID()
 1.3 11-Jun-2001  rearnsha branches: 1.3.8; 1.3.24;
Footbridge files have moved from arm32 to arm sub-tree.
 1.2 08-May-2001  matt Disable the secondary ide port in the pcibus_attach_hook.
 1.1 20-Apr-2001  matt branches: 1.1.2;
More changes to get the netwinder to multiuser. Hack the initarm code
to reserve the first 2MB for the kernel. Use the netwinder specific
files. Add pci_attach_hook for init the pci devices. Add and alternate
id for the PCI ISA bridge.
 1.1.2.2 23-Apr-2001  bouyer Sync with HEAD.
 1.1.2.1 20-Apr-2001  bouyer file pci_machdep.c was added on branch thorpej_scsipi on 2001-04-23 09:41:56 +0000
 1.3.24.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.3.24.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.24.2 18-Sep-2004  skrll Sync with HEAD.
 1.3.24.1 03-Aug-2004  skrll Sync with HEAD
 1.3.8.2 11-Jun-2001  rearnsha Footbridge files have moved from arm32 to arm sub-tree.
 1.3.8.1 11-Jun-2001  rearnsha file pci_machdep.c was added on branch nathanw_sa on 2001-06-11 10:51:10 +0000
 1.4.16.1 21-Jun-2006  yamt sync with head.
 1.6.122.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.6.112.1 30-Oct-2012  yamt sync with head
 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-Mar-2009  dsl branches: 1.13.4; 1.13.10;
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.12 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.11 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.10 28-Apr-2008  martin branches: 1.10.8; 1.10.14;
Remove clause 3 and 4 from TNF licenses
 1.9 11-Dec-2005  christos branches: 1.9.74; 1.9.76; 1.9.78;
merge ktrace-lwp.
 1.8 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.7 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.6 15-Jul-2003  lukem __KERNEL_RCSID()
 1.5 01-Jan-2003  thorpej branches: 1.5.2;
Use aprint_normal() for cfprint routines.
 1.4 02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.3 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.2 20-Apr-2001  matt branches: 1.2.2; 1.2.4; 1.2.10;
More changes to get the netwinder to multiuser. Hack the initarm code
to reserve the first 2MB for the kernel. Use the netwinder specific
files. Add pci_attach_hook for init the pci devices. Add and alternate
id for the PCI ISA bridge.
 1.1 19-Apr-2001  matt Add the isa & pci machdep files.
 1.2.10.3 03-Jan-2003  thorpej Sync with HEAD.
 1.2.10.2 18-Oct-2002  nathanw Catch up to -current.
 1.2.10.1 20-Apr-2001  nathanw file pcib.c was added on branch nathanw_sa on 2002-10-18 02:39:05 +0000
 1.2.4.1 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.3 23-Apr-2001  bouyer Sync with HEAD.
 1.2.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.2.2.1 20-Apr-2001  bouyer file pcib.c was added on branch thorpej_scsipi on 2001-04-21 17:54:20 +0000
 1.5.2.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.2.3 18-Sep-2004  skrll Sync with HEAD.
 1.5.2.2 03-Sep-2004  skrll Sync with HEAD
 1.5.2.1 03-Aug-2004  skrll Sync with HEAD
 1.9.78.2 04-May-2009  yamt sync with head.
 1.9.78.1 16-May-2008  yamt sync with head.
 1.9.76.1 18-May-2008  yamt sync with head.
 1.9.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.10.14.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.10.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 04-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.78; 1.4.86; 1.4.92;
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 19-Apr-2001  matt branches: 1.1.2; 1.1.4; 1.1.10;
Add the isa & pci machdep files.
 1.1.10.2 18-Oct-2002  nathanw Catch up to -current.
 1.1.10.1 19-Apr-2001  nathanw file pciide_machdep.c was added on branch nathanw_sa on 2002-10-18 02:39:05 +0000
 1.1.4.1 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.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 19-Apr-2001  bouyer file pciide_machdep.c was added on branch thorpej_scsipi on 2001-04-21 17:54:21 +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.92.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.4.86.1 28-Apr-2009  skrll Sync with HEAD.
 1.4.78.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