Home | History | Annotate | only in /src/sys/arch/sbmips/include
History log of /src/sys/arch/sbmips/include
RevisionDateAuthorComments
 1.18 30-Nov-2024  christos Create a new header lwp_private.h to contain _lwp_getprivate_fast,
_lwp_gettcb_fast, _lwp_settcb and remove them from mcontext.h, so that:
1. we don't need special hacks to hide them
2. we can include <lwp.h> where needed to get the necessary prototypes
without redefining them locally.
 1.17 12-Jul-2018  maxv branches: 1.17.36;
Remove the kernel PMC code. Sent yesterday on tech-kern@.

This change:

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

* Removes the PMC code of ARM XSCALE.

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

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

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

* Removes the pmc_evid_t and pmc_ctr_t types.

* Removes all the associated man pages. The sets are marked as obsolete.
 1.16 21-Dec-2015  christos branches: 1.16.16; 1.16.18;
Add mips fenv.h (From FreeBSD)
 1.15 23-Jul-2014  alnsn branches: 1.15.4;
Rename sljitarch.h to sljit_machdep.h.
 1.14 25-Nov-2012  alnsn branches: 1.14.10;
Add sljitarch.h to all mips machines.
 1.13 17-Jul-2011  dyoung branches: 1.13.2; 1.13.12;
Do not install bus.h.
 1.12 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.11 12-Aug-2009  matt Nuke a.out support for MIPS.
 1.10 18-Feb-2007  ad branches: 1.10.46;
+ mutex.h
 1.9 17-Feb-2007  he Install the new rwlock.h file.
 1.8 26-Jul-2006  drochner branches: 1.8.10;
don't install <machine/db_machdep.h>, this is kernel only
 1.7 11-Dec-2005  christos branches: 1.7.4; 1.7.8;
merge ktrace-lwp.
 1.6 08-May-2004  kleink branches: 1.6.12;
Factor out W{CHAR,INT}_{MAX,MIN} into their own header file.
 1.5 18-Jan-2003  thorpej branches: 1.5.2;
Merge the nathanw_sa branch.
 1.4 26-Nov-2002  lukem Remove KDIR=, since SYS_INCLUDE=symlinks and KDIR are not supported any more.
 1.3 07-Aug-2002  briggs branches: 1.3.2;
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.2 18-Apr-2002  kleink branches: 1.2.2; 1.2.6;
Alpha-sort/cosmetics.
 1.1 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.2.6.3 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.2.6.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.6.1 18-Apr-2002  jdolecek file Makefile was added on branch kqueue on 2002-06-23 17:40:05 +0000
 1.2.2.1 31-Aug-2002  gehenna catch up with -current.
 1.3.2.3 11-Dec-2002  thorpej Sync with HEAD.
 1.3.2.2 13-Aug-2002  simonb Add generic MIPS mcontext.h.
 1.3.2.1 07-Aug-2002  simonb file Makefile was added on branch nathanw_sa on 2002-08-13 03:34:40 +0000
 1.5.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.5.2.1 03-Aug-2004  skrll Sync with HEAD
 1.6.12.2 26-Feb-2007  yamt sync with head.
 1.6.12.1 30-Dec-2006  yamt sync with head.
 1.7.8.1 11-Aug-2006  yamt sync with head
 1.7.4.1 09-Sep-2006  rpaulo sync with head
 1.8.10.1 27-Feb-2007  yamt - sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
 1.10.46.1 19-Aug-2009  yamt sync with head.
 1.13.12.3 03-Dec-2017  jdolecek update from HEAD
 1.13.12.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.13.12.1 25-Feb-2013  tls resync with head
 1.13.2.1 16-Jan-2013  yamt sync with (a bit old) head
 1.14.10.1 10-Aug-2014  tls Rebase.
 1.15.4.1 27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.16.18.1 10-Jun-2019  christos Sync with HEAD
 1.16.16.1 28-Jul-2018  pgoyette Sync with HEAD
 1.17.36.1 02-Aug-2025  perseant Sync with HEAD
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file ansi.h was added on branch nathanw_sa on 2002-03-06 02:13:40 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file ansi.h was added on branch kqueue on 2002-06-23 17:40:05 +0000
 1.2 12-Aug-2009  matt Nuke a.out support for MIPS.
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12; 1.1.124; 1.1.138;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.138.1 24-Oct-2010  jym Sync with HEAD
 1.1.124.1 19-Aug-2009  yamt sync with head.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file aout_machdep.h was added on branch nathanw_sa on 2002-03-06 02:13:41 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file aout_machdep.h was added on branch kqueue on 2002-06-23 17:40:05 +0000
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file asm.h was added on branch nathanw_sa on 2002-03-06 02:13:41 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file asm.h was added on branch kqueue on 2002-06-23 17:40:06 +0000
 1.4 14-Dec-2009  matt Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.3 22-Mar-2003  simonb branches: 1.3.108; 1.3.126;
Fix a grammatical nit.
 1.2 07-Feb-2003  cgd Update to consistently use Broadcom GPL-compatible license on all SiByte code.
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file autoconf.h was added on branch nathanw_sa on 2002-03-06 02:13:41 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file autoconf.h was added on branch kqueue on 2002-06-23 17:40:06 +0000
 1.3.126.1 08-Dec-2009  cyber - fix to allow 64bit kernels to properly talk to the firmware
- allow visibiliy of additional RAM
 1.3.108.1 11-Mar-2010  yamt sync with head
 1.2 12-Aug-2009  matt Nuke a.out support for MIPS.
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12; 1.1.124; 1.1.138;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.138.1 24-Oct-2010  jym Sync with HEAD
 1.1.124.1 19-Aug-2009  yamt sync with head.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file bsd-aout.h was added on branch nathanw_sa on 2002-03-06 02:13:41 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file bsd-aout.h was added on branch kqueue on 2002-06-23 17:40:06 +0000
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file bswap.h was added on branch nathanw_sa on 2002-03-06 02:13:41 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file bswap.h was added on branch kqueue on 2002-06-23 17:40:06 +0000
 1.4 17-Jul-2011  dyoung Switch to new-style <sys/bus.h>.
 1.3 20-Feb-2011  matt Merge from matt-nb5-mips64.
Add pci support.
new interrupt code.
Adapt to new world order for MIPS
 1.2 13-Jun-2010  simonb branches: 1.2.2; 1.2.4; 1.2.6;
Add a very basic <machine/bus.h> which nows seems to be mandatory in MI
code even if a port doesn't use it.

Based on code in private email from Havard Eidnes. Thanks Havard!
 1.1 14-Jan-2010  matt branches: 1.1.2; 1.1.4; 1.1.6;
file bus.h was initially added on branch matt-nb5-mips64.
 1.1.6.2 05-Mar-2011  rmind sync with head
 1.1.6.1 03-Jul-2010  rmind sync with head
 1.1.4.1 17-Aug-2010  uebayasi Sync with HEAD.
 1.1.2.2 21-Jan-2010  matt add some whitespace
 1.1.2.1 14-Jan-2010  matt Deal with various changes with avail_end and avail_start, etc.
 1.2.6.1 05-Mar-2011  bouyer Sync with HEAD
 1.2.4.1 06-Jun-2011  jruoho Sync with HEAD.
 1.2.2.2 11-Aug-2010  yamt sync with head.
 1.2.2.1 13-Jun-2010  yamt file bus.h was added on branch yamt-nfs-mp on 2010-08-11 22:52:41 +0000
 1.1 01-Jul-2011  dyoung Per discussion at
<http://mail-index.netbsd.org/tech-kern/2010/04/02/msg007941.html>,
divide each machine's bus.h into bus_defs.h (constants & data types)
and bus_funcs.h (macro implementations of bus_space(9) routines and MD
prototypes).

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

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

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

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

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

These #include files are not referenced by any (committed) Makefiles or
header files, yet. Changes to Makefiles, to <sys/bus.h>, and to some
more machine-dependent files will dribble in before I throw the switch.
 1.2 01-Jun-2002  simonb branches: 1.2.2; 1.2.4;
Stop using the _MIPS_BSD_API_LP32_64CLEAN ABI. This causes a few problems
and it's easier/better to wait for true N32/N64.
 1.1 06-Mar-2002  simonb branches: 1.1.6; 1.1.8;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.8.1 10-Sep-2002  lukem Pull up revision 1.2 (requested by simonb in ticket #781):
Stop using the _MIPS_BSD_API_LP32_64CLEAN ABI. This causes a few problems
and it's easier/better to wait for true N32/N64.

[note from releng: this fixes ABI compatibility with other mipseb platforms]
 1.1.6.1 15-Jul-2002  gehenna catch up with -current.
 1.2.4.2 01-Jun-2002  simonb Stop using the _MIPS_BSD_API_LP32_64CLEAN ABI. This causes a few problems
and it's easier/better to wait for true N32/N64.
 1.2.4.1 01-Jun-2002  simonb file cdefs.h was added on branch nathanw_sa on 2002-06-01 14:29:33 +0000
 1.2.2.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.2.1 01-Jun-2002  jdolecek file cdefs.h was added on branch kqueue on 2002-06-23 17:40:07 +0000
 1.2 06-Sep-2002  gehenna Merge the gehenna-devsw branch into the trunk.

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

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

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

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

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

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

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

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

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
 1.1 06-Mar-2002  simonb branches: 1.1.6; 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 17-Sep-2002  nathanw Catch up to -current.
 1.1.12.1 06-Mar-2002  nathanw file conf.h was added on branch nathanw_sa on 2002-09-17 21:17:17 +0000
 1.1.10.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file conf.h was added on branch kqueue on 2002-06-23 17:40:07 +0000
 1.1.6.1 19-May-2002  gehenna Remove port-dependent conf.h.
 1.2 20-Feb-2011  matt Merge from matt-nb5-mips64.
Add pci support.
new interrupt code.
Adapt to new world order for MIPS
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12; 1.1.142; 1.1.152;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.152.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.142.2 11-Mar-2010  matt Move cpu_softc to <machine/cpuvar.h>
#include <machine/cpuvar.h> appropriately
Change cpu_softc prefix from cpu_ to sb1cpu_
 1.1.142.1 11-Mar-2010  matt Use a cpu_softc to keep per-cpu things like interrupts, intr masks, etc.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file cpu.h was added on branch nathanw_sa on 2002-03-06 02:13:42 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file cpu.h was added on branch kqueue on 2002-06-23 17:40:07 +0000
 1.1 05-Feb-2003  nakayama Replace machine/rnd.h with more appropriate name to share it
with cycle counter based microtime in kern/kern_microtime.c.
 1.2 20-Feb-2011  matt Merge from matt-nb5-mips64.
Add pci support.
new interrupt code.
Adapt to new world order for MIPS
 1.1 11-Mar-2010  matt branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8;
file cpuvar.h was initially added on branch matt-nb5-mips64.
 1.1.8.1 05-Mar-2011  bouyer Sync with HEAD
 1.1.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.4.1 05-Mar-2011  rmind sync with head
 1.1.2.2 29-Dec-2010  matt Add some per-cpu interrupts counters to cpuvar.
 1.1.2.1 11-Mar-2010  matt Move cpu_softc to <machine/cpuvar.h>
#include <machine/cpuvar.h> appropriately
Change cpu_softc prefix from cpu_ to sb1cpu_
 1.2 09-Jul-2011  matt Default to DB_ELF_SYMBOLS and DB_ELFSIZE 32
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file db_machdep.h was added on branch nathanw_sa on 2002-03-06 02:13:42 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file db_machdep.h was added on branch kqueue on 2002-06-23 17:40:07 +0000
 1.10 16-May-2013  christos Complete the dosparts -> mbrparts conversion. Only x86k new uses dosparts
because it also uses struct dos_partition.
 1.9 16-May-2013  christos Complete the dosparts -> mbrparts conversion. Only x86k new uses dosparts
because it also uses struct dos_partition.
 1.8 30-Aug-2011  bouyer branches: 1.8.2; 1.8.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.7 23-Nov-2009  pooka If cpu_disklabel includes struct dkbad, define __HAVE_DISKLABEL_DKBAD.
This allows use of subr_disk_mbr on all archs. Default to it for
the rump disk component. No functional change for regular kernels.
(The other option would've been to include dkbad in disklabels
everywhere, but arguably this approach has less possible side-effects,
especially given that wedges and related magic will take over the
world any second now).
 1.6 11-Dec-2005  christos branches: 1.6.78;
merge ktrace-lwp.
 1.5 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.4 25-Oct-2003  simonb Use "cfe_bb_*" instead of "bb_*" to avoid conflicts with <sys/disklabel.h>.
XXX: Most of this file should probably move to <sys/disklabel.h>.
 1.3 08-Oct-2003  lukem Overhaul MBR handling (part 1):

<sys/bootblock.h>:
* Added definitions for the Master Boot Record (MBR) used by
a variety of systems (primarily i386), including the format
of the BIOS Parameter Block (BPB).
This information was cribbed from a variety of sources
including <sys/disklabel_mbr.h> which this is a superset of.

As part of this, some data structure elements and #defines
were renamed to be more "namespace friendly" and consistent
with other bootblocks and MBR documentation.
Update all uses of the old names to the new names.

<sys/disklabel_mbr.h>:
* Deprecated in favor of <sys/bootblock.h> (the latter is more
"host tool" friendly).

amd64 & i386:
* Renamed /usr/mdec/bootxx_dosfs to /usr/mdec/bootxx_msdos, to
be consistent with the naming convention of the msdosfs tools.

* Removed /usr/mdec/bootxx_ufs, as it's equivalent to bootxx_ffsv1
and it's confusing to have two functionally equivalent bootblocks,
especially given that "ufs" has multiple meanings (it could be
a synonym for "ffs", or the group of ffs/lfs/ext2fs file systems).

* Rework pbr.S (the first sector of bootxx_*):
+ Ensure that BPB (bytes 11..89) and the partition table
(bytes 446..509) do not contain code.
+ Add support for booting from FAT partitions if BOOT_FROM_FAT
is defined. (Only set for bootxx_msdos).
+ Remove "dummy" partition 3; if people want to installboot(8)
these to the start of the disk they can use fdisk(8) to
create a real MBR partition table...
+ Compile with TERSE_ERROR so it fits because of the above.
Whilst this is less user friendly, I feel it's important
to have a valid partition table and BPB in the MBR/PBR.

* Renamed /usr/mdec/biosboot to /usr/mdec/boot, to be consistent
with other platforms.

* Enable SUPPORT_DOSFS in /usr/mdec/boot (stage2), so that
we can boot off FAT partitions.

* Crank version of /usr/mdec/boot to 3.1, and fix some of the other
entries in the version file.

installboot(8) (i386):
* Read the existing MBR of the filesystem and retain the BIOS
Parameter Block (BPB) in bytes 11..89 and the MBR partition
table in bytes 446..509. (Previously installboot(8) would
trash those two sections of the MBR.)

mbrlabel(8):
* Use sys/lib/libkern/xlat_mbr_fstype.c instead of homegrown code
to map the MBR partition type to the NetBSD disklabel type.


Test built "make release" for i386, and new bootblocks verified to work
(even off FAT!).
 1.2 07-Feb-2003  cgd branches: 1.2.2;
Update to consistently use Broadcom GPL-compatible license on all SiByte code.
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file disklabel.h was added on branch nathanw_sa on 2002-03-06 02:13:42 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file disklabel.h was added on branch kqueue on 2002-06-23 17:40:08 +0000
 1.2.2.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.2.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.2.2.1 03-Aug-2004  skrll Sync with HEAD
 1.6.78.1 11-Mar-2010  yamt sync with head
 1.8.12.1 23-Jun-2013  tls resync from head
 1.8.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.1 11-Mar-2002  simonb branches: 1.1.8; 1.1.10;
Need this to build the system - libc nlist assumes all mips have ecoff.
 1.1.10.2 11-Mar-2002  simonb Need this to build the system - libc nlist assumes all mips have ecoff.
 1.1.10.1 11-Mar-2002  simonb file ecoff_machdep.h was added on branch nathanw_sa on 2002-03-11 02:33:38 +0000
 1.1.8.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.8.1 11-Mar-2002  jdolecek file ecoff_machdep.h was added on branch kqueue on 2002-06-23 17:40:08 +0000
 1.3 14-Dec-2009  matt Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.2 25-Nov-2006  riz branches: 1.2.20; 1.2.56; 1.2.74;
Don't worry about the ELF32_MACHDEP_ENDIANNESS macro when compiling
a host tool - it's never used there.
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12; 1.1.34; 1.1.64; 1.1.66;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.66.1 10-Dec-2006  yamt sync with head.
 1.1.64.1 12-Jan-2007  ad Sync with head.
 1.1.34.1 30-Dec-2006  yamt sync with head.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file elf_machdep.h was added on branch nathanw_sa on 2002-03-06 02:13:43 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file elf_machdep.h was added on branch kqueue on 2002-06-23 17:40:08 +0000
 1.2.74.1 22-Aug-2009  matt Move ELF{32,64}_MACHDEP_ENDIANNESS to <mips/elf_machdep.h>
 1.2.56.1 11-Mar-2010  yamt sync with head
 1.2.20.1 07-Aug-2007  matt Sync with HEAD.
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file endian.h was added on branch nathanw_sa on 2002-03-06 02:13:43 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file endian.h was added on branch kqueue on 2002-06-23 17:40:09 +0000
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file endian_machdep.h was added on branch nathanw_sa on 2002-03-06 02:13:43 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file endian_machdep.h was added on branch kqueue on 2002-06-23 17:40:09 +0000
 1.1 21-Dec-2015  christos branches: 1.1.2; 1.1.18;
Add mips fenv.h (From FreeBSD)
 1.1.18.2 03-Dec-2017  jdolecek update from HEAD
 1.1.18.1 21-Dec-2015  jdolecek file fenv.h was added on branch tls-maxphys on 2017-12-03 11:36:40 +0000
 1.1.2.2 27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.1.2.1 21-Dec-2015  skrll file fenv.h was added on branch nick-nhusb on 2015-12-27 12:09:41 +0000
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file float.h was added on branch nathanw_sa on 2002-03-06 02:13:43 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file float.h was added on branch kqueue on 2002-06-23 17:40:09 +0000
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file ieee.h was added on branch nathanw_sa on 2002-03-06 02:13:44 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file ieee.h was added on branch kqueue on 2002-06-23 17:40:09 +0000
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file ieeefp.h was added on branch nathanw_sa on 2002-03-06 02:13:44 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file ieeefp.h was added on branch kqueue on 2002-06-23 17:40:10 +0000
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file int_const.h was added on branch nathanw_sa on 2002-03-06 02:13:44 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file int_const.h was added on branch kqueue on 2002-06-23 17:40:10 +0000
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file int_fmtio.h was added on branch nathanw_sa on 2002-03-06 02:13:44 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file int_fmtio.h was added on branch kqueue on 2002-06-23 17:40:10 +0000
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file int_limits.h was added on branch nathanw_sa on 2002-03-06 02:13:44 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file int_limits.h was added on branch kqueue on 2002-06-23 17:40:11 +0000
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file int_mwgwtypes.h was added on branch nathanw_sa on 2002-03-06 02:13:45 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file int_mwgwtypes.h was added on branch kqueue on 2002-06-23 17:40:11 +0000
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file int_types.h was added on branch nathanw_sa on 2002-03-06 02:13:45 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file int_types.h was added on branch kqueue on 2002-06-23 17:40:11 +0000
 1.10 20-Feb-2011  matt Merge from matt-nb5-mips64.
Add pci support.
new interrupt code.
Adapt to new world order for MIPS
 1.9 03-Dec-2007  ad branches: 1.9.36; 1.9.40; 1.9.46; 1.9.48;
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.8 17-Oct-2007  garbled branches: 1.8.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.7 17-Jun-2007  tsutsui branches: 1.7.8; 1.7.10;
Move declaretions of _spl*() and _{clr,set}softintr() functions
(which are in mips/locore.S) into <mips/locore.h>
from various MD files.
 1.6 16-Feb-2007  ad branches: 1.6.6; 1.6.8; 1.6.14;
Remove spllowersoftclock() and CLKF_BASEPRI(), and always dispatch callouts
via a soft interrupt. In the near future, softclock will be run from process
context.
 1.5 21-Dec-2006  yamt merge yamt-splraiseipl branch.

- finish implementing splraiseipl (and makeiplcookie).
http://mail-index.NetBSD.org/tech-kern/2006/07/01/0000.html
- complete workqueue(9) and fix its ipl problem, which is reported
to cause audio skipping.
- fix netbt (at least compilation problems) for some ports.
- fix PR/33218.
 1.4 11-Nov-2005  simonb branches: 1.4.22; 1.4.24;
Switch to the MIPS generic soft interrupt code instead of using
port-specific code.
 1.3 25-Oct-2003  simonb branches: 1.3.16;
Switch from intrcnt interrupt account to event counters.
 1.2 07-Feb-2003  cgd branches: 1.2.2;
Update to consistently use Broadcom GPL-compatible license on all SiByte code.
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file intr.h was added on branch nathanw_sa on 2002-03-06 02:13:45 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file intr.h was added on branch kqueue on 2002-06-23 17:40:11 +0000
 1.2.2.4 11-Dec-2005  christos Sync with head.
 1.2.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.2.2.1 03-Aug-2004  skrll Sync with HEAD
 1.3.16.5 07-Dec-2007  yamt sync with head
 1.3.16.4 03-Sep-2007  yamt sync with head.
 1.3.16.3 26-Feb-2007  yamt sync with head.
 1.3.16.2 30-Dec-2006  yamt sync with head.
 1.3.16.1 21-Jun-2006  yamt sync with head.
 1.4.24.3 24-Sep-2006  yamt remove a duplicated IPL_SERIAL.
 1.4.24.2 24-Sep-2006  yamt fix typos.
 1.4.24.1 23-Sep-2006  yamt implement splraiseipl for sbmips.
 1.4.22.1 12-Jan-2007  ad Sync with head.
 1.6.14.1 26-Jun-2007  garbled Sync with HEAD.
 1.6.8.1 11-Jul-2007  mjf Sync with head.
 1.6.6.2 03-Dec-2007  ad Sync with HEAD.
 1.6.6.1 15-Jul-2007  ad Sync with head.
 1.7.10.2 09-Jan-2008  matt sync with HEAD
 1.7.10.1 06-Nov-2007  matt sync with HEAD
 1.7.8.1 09-Dec-2007  jmcneill Sync with HEAD.
 1.8.2.1 08-Dec-2007  mjf Sync with HEAD.
 1.9.48.1 05-Mar-2011  bouyer Sync with HEAD
 1.9.46.1 06-Jun-2011  jruoho Sync with HEAD.
 1.9.40.1 05-Mar-2011  rmind sync with head
 1.9.36.1 23-Feb-2010  matt Instead of a read-only ipl_sr_bits, define a ipl_sr_map struct and fill that
in the interrupt init routine. There's a default ipl_sr_map will operate
correctly, but isn't performant.
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file kcore.h was added on branch nathanw_sa on 2002-03-06 02:13:45 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file kcore.h was added on branch kqueue on 2002-06-23 17:40:12 +0000
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file kdbparam.h was added on branch nathanw_sa on 2002-03-06 02:13:45 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file kdbparam.h was added on branch kqueue on 2002-06-23 17:40:12 +0000
 1.3 07-Feb-2003  cgd Update to consistently use Broadcom GPL-compatible license on all SiByte code.
 1.2 17-Mar-2002  simonb branches: 1.2.8; 1.2.10;
Fix up some white-space bogons.
 1.1 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.2.10.2 17-Mar-2002  simonb Fix up some white-space bogons.
 1.2.10.1 17-Mar-2002  simonb file leds.h was added on branch nathanw_sa on 2002-03-17 06:28:57 +0000
 1.2.8.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.8.1 17-Mar-2002  jdolecek file leds.h was added on branch kqueue on 2002-06-23 17:40:12 +0000
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file limits.h was added on branch nathanw_sa on 2002-03-06 02:13:46 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file limits.h was added on branch kqueue on 2002-06-23 17:40:13 +0000
 1.5 06-Aug-2014  joerg Consistently define WARN in a way that passes format string checks, i.e.
always uses the same number of arguments as given in the format string.
 1.4 14-Dec-2009  matt branches: 1.4.22; 1.4.36;
Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.3 28-Apr-2008  martin branches: 1.3.18;
Remove clause 3 and 4 from TNF licenses
 1.2 25-Jan-2006  christos branches: 1.2.72; 1.2.74; 1.2.76;
free -> dealloc
unsigned -> size_t for alloc/dealloc
 1.1 09-Nov-2002  cgd branches: 1.1.2; 1.1.24; 1.1.36;
loadfile_machdep.h implementation, needed by boot blocks.
copied verbatim from NetBSD/prep.
 1.1.36.1 01-Feb-2006  yamt sync with head.
 1.1.24.1 21-Jun-2006  yamt sync with head.
 1.1.2.2 11-Nov-2002  nathanw Catch up to -current
 1.1.2.1 09-Nov-2002  nathanw file loadfile_machdep.h was added on branch nathanw_sa on 2002-11-11 22:03:14 +0000
 1.2.76.2 11-Mar-2010  yamt sync with head
 1.2.76.1 16-May-2008  yamt sync with head.
 1.2.74.1 18-May-2008  yamt sync with head.
 1.2.72.1 02-Jun-2008  mjf Sync with HEAD.
 1.3.18.1 23-Aug-2009  matt Enable ELF64
 1.4.36.1 10-Aug-2014  tls Rebase.
 1.4.22.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file lock.h was added on branch nathanw_sa on 2002-03-06 02:13:46 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file lock.h was added on branch kqueue on 2002-06-23 17:40:13 +0000
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file locore.h was added on branch nathanw_sa on 2002-03-06 02:13:46 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file locore.h was added on branch kqueue on 2002-06-23 17:40:13 +0000
 1.1 30-Nov-2024  christos branches: 1.1.4;
Create a new header lwp_private.h to contain _lwp_getprivate_fast,
_lwp_gettcb_fast, _lwp_settcb and remove them from mcontext.h, so that:
1. we don't need special hacks to hide them
2. we can include <lwp.h> where needed to get the necessary prototypes
without redefining them locally.
 1.1.4.2 02-Aug-2025  perseant Sync with HEAD
 1.1.4.1 30-Nov-2024  perseant file lwp_private.h was added on branch perseant-exfatfs on 2025-08-02 05:56:06 +0000
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file math.h was added on branch nathanw_sa on 2002-03-06 02:13:46 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file math.h was added on branch kqueue on 2002-06-23 17:40:14 +0000
 1.2 18-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.1 13-Aug-2002  simonb branches: 1.1.2;
file mcontext.h was initially added on branch nathanw_sa.
 1.1.2.1 13-Aug-2002  simonb Add generic MIPS mcontext.h.
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file mips_opcode.h was added on branch nathanw_sa on 2002-03-06 02:13:46 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file mips_opcode.h was added on branch kqueue on 2002-06-23 17:40:14 +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 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:08:00 +0000
 1.2 14-Dec-2009  matt branches: 1.2.4;
Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.1 15-Sep-2009  matt branches: 1.1.2;
file netbsd32_machdep.h was initially added on branch matt-nb5-mips64.
 1.1.2.1 15-Sep-2009  matt Add netbsd32_machdep.h for algor64 and sbmips64
 1.2.4.2 11-Mar-2010  yamt sync with head
 1.2.4.1 14-Dec-2009  yamt file netbsd32_machdep.h was added on branch yamt-nfs-mp on 2010-03-11 15:02:53 +0000
 1.11 07-Jan-2019  jdolecek move DEV_BSIZE, DEV_BSHIFT out of MD param.h, they are same on all ports

also move BLKDEV_IOSIZE, MAXPHYS, but allow override since some ports
have different value (powerpc uses NBPG for BLKDEV_IOSIZE, sun2/sun3
have lower MAXPHYS)
 1.10 18-Mar-2011  tsutsui branches: 1.10.54; 1.10.56;
- include <mips/mips_param.h> after MACHINE is defined
- remove redundant comment
 1.9 06-Mar-2011  he Now that MACHINE is defined in user-land in either
mips/include/mips_param.h or powerpc/include/param.h, stop
trying to re-define it in the port-specific param.h files
when _KERNEL isn't defined.
 1.8 08-Feb-2011  rmind Remove clause 3 (UCB advertising clause) from the University of Utah
copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks!
Also, merge UCB and Utah copyright texts back into one, as they
originally were.

Extra verification by snj@.
 1.7 14-Dec-2009  matt branches: 1.7.4; 1.7.6; 1.7.8;
Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.6 13-Aug-2009  matt Move MID_MACHINE to <mips/mips_param.h> and use local values so we don't
need to include exec_aout.h
 1.5 08-Jan-2008  simonb branches: 1.5.10; 1.5.28;
Add timecounter support for sbmips machines and Broadcom SiByte CPUs.
Based on patch from joerg@, with tweaks by me to work with sbmips
non-use of the CP0 count/compare registers for clock interrupts.
 1.4 11-Dec-2005  christos branches: 1.4.50; 1.4.56; 1.4.64;
merge ktrace-lwp.
 1.3 07-Aug-2003  agc branches: 1.3.16;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.2 11-Jul-2002  simonb branches: 1.2.2; 1.2.8;
Remove unused MCLOFSET define.
 1.1 06-Mar-2002  simonb branches: 1.1.6; 1.1.10;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.10.3 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file param.h was added on branch kqueue on 2002-06-23 17:40:14 +0000
 1.1.6.1 17-Jul-2002  gehenna ctach up with -current.
 1.2.8.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.8.2 18-Sep-2004  skrll Sync with HEAD.
 1.2.8.1 03-Aug-2004  skrll Sync with HEAD
 1.2.2.2 11-Jul-2002  simonb Remove unused MCLOFSET define.
 1.2.2.1 11-Jul-2002  simonb file param.h was added on branch nathanw_sa on 2002-07-11 13:36:46 +0000
 1.3.16.1 21-Jan-2008  yamt sync with head
 1.4.64.1 08-Jan-2008  bouyer Sync with HEAD
 1.4.56.1 18-Feb-2008  mjf Sync with HEAD.
 1.4.50.1 09-Jan-2008  matt sync with HEAD
 1.5.28.1 22-Aug-2009  matt Move MACHINE_ARCH definition to <mips/mips_param.h>
Move mbuf related defines to <mips/mips_param.h>
 1.5.10.2 11-Mar-2010  yamt sync with head
 1.5.10.1 19-Aug-2009  yamt sync with head.
 1.7.8.1 17-Feb-2011  bouyer Sync with HEAD
 1.7.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.7.4.2 21-Apr-2011  rmind sync with head
 1.7.4.1 05-Mar-2011  rmind sync with head
 1.10.56.1 10-Jun-2019  christos Sync with HEAD
 1.10.54.1 18-Jan-2019  pgoyette Synch with HEAD
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file pcb.h was added on branch nathanw_sa on 2002-03-06 02:13:47 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file pcb.h was added on branch kqueue on 2002-06-23 17:40:15 +0000
 1.2 20-Feb-2011  matt Merge from matt-nb5-mips64.
Add pci support.
new interrupt code.
Adapt to new world order for MIPS
 1.1 21-Jan-2010  matt branches: 1.1.2; 1.1.6; 1.1.8; 1.1.10;
file pci_machdep.h was initially added on branch matt-nb5-mips64.
 1.1.10.1 05-Mar-2011  bouyer Sync with HEAD
 1.1.8.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.6.1 05-Mar-2011  rmind sync with head
 1.1.2.2 21-Jan-2010  matt Add rest of pci framework functions.
Disable pciide compat intr establish for sbmips
 1.1.2.1 21-Jan-2010  matt Needed for pci support.
 1.2 22-Feb-2007  thorpej TRUE -> true, FALSE -> false
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12; 1.1.34; 1.1.72;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.72.1 27-Feb-2007  yamt - sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
 1.1.34.1 26-Feb-2007  yamt sync with head.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file pmap.h was added on branch nathanw_sa on 2002-03-06 02:13:47 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file pmap.h was added on branch kqueue on 2002-06-23 17:40:15 +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:39:42 +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:51 +0000
 1.1.2.2 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.1.2.1 07-Aug-2002  briggs file pmc.h was added on branch nathanw_sa on 2002-08-07 05:15:58 +0000
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file proc.h was added on branch nathanw_sa on 2002-03-06 02:13:47 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file proc.h was added on branch kqueue on 2002-06-23 17:40:15 +0000
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file profile.h was added on branch nathanw_sa on 2002-03-06 02:13:47 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file profile.h was added on branch kqueue on 2002-06-23 17:40:15 +0000
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file psl.h was added on branch nathanw_sa on 2002-03-06 02:13:47 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file psl.h was added on branch kqueue on 2002-06-23 17:40:16 +0000
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file pte.h was added on branch nathanw_sa on 2002-03-06 02:13:48 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file pte.h was added on branch kqueue on 2002-06-23 17:40:16 +0000
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file ptrace.h was added on branch nathanw_sa on 2002-03-06 02:13:48 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file ptrace.h was added on branch kqueue on 2002-06-23 17:40:16 +0000
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file reg.h was added on branch nathanw_sa on 2002-03-06 02:13:48 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file reg.h was added on branch kqueue on 2002-06-23 17:40:16 +0000
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file regdef.h was added on branch nathanw_sa on 2002-03-06 02:13:48 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file regdef.h was added on branch kqueue on 2002-06-23 17:40:17 +0000
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file regnum.h was added on branch nathanw_sa on 2002-03-06 02:13:48 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file regnum.h was added on branch kqueue on 2002-06-23 17:40:17 +0000
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file reloc.h was added on branch nathanw_sa on 2002-03-06 02:13:48 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file reloc.h was added on branch kqueue on 2002-06-23 17:40:17 +0000
 1.2 05-Feb-2003  nakayama Replace machine/rnd.h with more appropriate name to share it
with cycle counter based microtime in kern/kern_microtime.c.
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file rnd.h was added on branch nathanw_sa on 2002-03-06 02:13:49 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file rnd.h was added on branch kqueue on 2002-06-23 17:40: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:08:01 +0000
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file setjmp.h was added on branch nathanw_sa on 2002-03-06 02:13:49 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file setjmp.h was added on branch kqueue on 2002-06-23 17:40:18 +0000
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file signal.h was added on branch nathanw_sa on 2002-03-06 02:13:49 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file signal.h was added on branch kqueue on 2002-06-23 17:40:19 +0000
 1.1 23-Jul-2014  alnsn branches: 1.1.2; 1.1.6;
Rename sljitarch.h to sljit_machdep.h.
 1.1.6.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.6.1 23-Jul-2014  tls file sljit_machdep.h was added on branch tls-maxphys on 2014-08-20 00:03:22 +0000
 1.1.2.2 10-Aug-2014  tls Rebase.
 1.1.2.1 23-Jul-2014  tls file sljit_machdep.h was added on branch tls-earlyentropy on 2014-08-10 06:54:07 +0000
 1.2 23-Jul-2014  alnsn Rename sljitarch.h to sljit_machdep.h.
 1.1 25-Nov-2012  alnsn branches: 1.1.2; 1.1.6; 1.1.14;
Add sljitarch.h to all mips machines.
 1.1.14.1 10-Aug-2014  tls Rebase.
 1.1.6.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.6.2 25-Feb-2013  tls resync with head
 1.1.6.1 25-Nov-2012  tls file sljitarch.h was added on branch tls-maxphys on 2013-02-25 00:28:55 +0000
 1.1.2.2 16-Jan-2013  yamt sync with (a bit old) head
 1.1.2.1 25-Nov-2012  yamt file sljitarch.h was added on branch yamt-pagecache on 2013-01-16 05:33:03 +0000
 1.2 17-Jul-2011  joerg Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file stdarg.h was added on branch nathanw_sa on 2002-03-06 02:13:50 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file stdarg.h was added on branch kqueue on 2002-06-23 17:40:19 +0000
 1.2 12-Nov-2002  simonb Add support for the ST M41T81 RTC found on pass 2 swarm boards.
XXX: Much of this should live in arch/sbmips instead of arch/mips/sibyte.
XXX: These should be replaced with MI SMBus drivers one day.
 1.1 17-Mar-2002  simonb branches: 1.1.8; 1.1.10;
An include file describing some address map info, GPIO pin assignments
and SMBus addesses for the swarm eval board.
 1.1.10.2 11-Dec-2002  thorpej Sync with HEAD.
 1.1.10.1 17-Mar-2002  thorpej file swarm.h was added on branch nathanw_sa on 2002-12-11 06:11:51 +0000
 1.1.8.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.8.1 17-Mar-2002  jdolecek file swarm.h was added on branch kqueue on 2002-06-23 17:40:19 +0000
 1.10 25-Sep-2023  riastradh sbmips/systemsw.h: sys/stdbool.h for bool.

XXX sys/types.h should bring this in too, but that doesn't happen in
the crash(8) build, perhaps because sys/types.h only includes
sys/stdbool.h under _KERNEL or _STANDALONE but not _KMEMUSER -- maybe
we should fix that but this is a lower-risk change for now to fix a
build problem.

Found by Jan-Benedict Glaw.
 1.9 20-Feb-2011  matt Merge from matt-nb5-mips64.
Add pci support.
new interrupt code.
Adapt to new world order for MIPS
 1.8 14-Dec-2009  matt branches: 1.8.4; 1.8.6; 1.8.8;
Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.7 08-Jan-2008  simonb branches: 1.7.10; 1.7.28;
Add timecounter support for sbmips machines and Broadcom SiByte CPUs.
Based on patch from joerg@, with tweaks by me to work with sbmips
non-use of the CP0 count/compare registers for clock interrupts.
 1.6 14-Sep-2006  gdamore branches: 1.6.30; 1.6.36; 1.6.44;
Convert sbmips to generic TODR. ok simonb@.
 1.5 11-Nov-2005  simonb branches: 1.5.10; 1.5.22;
Switch to the MIPS generic soft interrupt code instead of using
port-specific code.
 1.4 07-Feb-2003  cgd branches: 1.4.2; 1.4.18;
Update to consistently use Broadcom GPL-compatible license on all SiByte code.
 1.3 01-Jun-2002  simonb branches: 1.3.2; 1.3.4;
Add statclock and todr function arguments to the systemsw.
Add a system_set_todrfns() function.
 1.2 06-Mar-2002  simonb branches: 1.2.6;
Add a "clkread" function to the systemsw.
 1.1 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.2.6.1 15-Jul-2002  gehenna catch up with -current.
 1.3.4.2 01-Jun-2002  simonb Add statclock and todr function arguments to the systemsw.
Add a system_set_todrfns() function.
 1.3.4.1 01-Jun-2002  simonb file systemsw.h was added on branch nathanw_sa on 2002-06-01 14:38:28 +0000
 1.3.2.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.3.2.1 01-Jun-2002  jdolecek file systemsw.h was added on branch kqueue on 2002-06-23 17:40:20 +0000
 1.4.18.3 21-Jan-2008  yamt sync with head
 1.4.18.2 30-Dec-2006  yamt sync with head.
 1.4.18.1 21-Jun-2006  yamt sync with head.
 1.4.2.1 11-Dec-2005  christos Sync with head.
 1.5.22.1 18-Nov-2006  ad Sync with head.
 1.5.10.1 14-Sep-2006  yamt sync with head.
 1.6.44.1 08-Jan-2008  bouyer Sync with HEAD
 1.6.36.1 18-Feb-2008  mjf Sync with HEAD.
 1.6.30.1 09-Jan-2008  matt sync with HEAD
 1.7.28.6 10-Jun-2010  cliff seperate initializing spl is from initizlizing the PIC:
setting ipl_sr_map is moved from sb1250_icu_init to sb1250_ipl_map_init.
 1.7.28.5 11-Mar-2010  matt Use a cpu_softc to keep per-cpu things like interrupts, intr masks, etc.
 1.7.28.4 01-Mar-2010  matt Add MP interrupts, IPIs, and secondary CPU spinup.
(compile tested only).
 1.7.28.3 23-Feb-2010  matt Instead of a read-only ipl_sr_bits, define a ipl_sr_map struct and fill that
in the interrupt init routine. There's a default ipl_sr_map will operate
correctly, but isn't performant.
 1.7.28.2 21-Jan-2010  matt Minor type cleanup.
 1.7.28.1 23-Nov-2009  matt Use vaddr_t instead uint32_t for storing a pc since the latter won't work in
a LP64 kernel.
 1.7.10.1 11-Mar-2010  yamt sync with head
 1.8.8.1 05-Mar-2011  bouyer Sync with HEAD
 1.8.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.8.4.1 05-Mar-2011  rmind sync with head
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file trap.h was added on branch nathanw_sa on 2002-03-06 02:13:50 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file trap.h was added on branch kqueue on 2002-06-23 17:40:20 +0000
 1.10 26-Jan-2017  christos provide __HAVE_COMPAT_NETBSD32 and fix multiple include protection consistently.
 1.9 17-Jul-2011  dyoung branches: 1.9.12; 1.9.30; 1.9.34; 1.9.38;
Switch to new-style <sys/bus.h>.
 1.8 20-Feb-2011  matt Merge from matt-nb5-mips64.
Add pci support.
new interrupt code.
Adapt to new world order for MIPS
 1.7 20-Jan-2008  joerg branches: 1.7.28; 1.7.32; 1.7.38; 1.7.40;
Now that __HAVE_TIMECOUNTER and __HAVE_GENERIC_TODR are invariants,
remove the conditionals and the code associated with the undef case.
 1.6 08-Jan-2008  simonb Add timecounter support for sbmips machines and Broadcom SiByte CPUs.
Based on patch from joerg@, with tweaks by me to work with sbmips
non-use of the CP0 count/compare registers for clock interrupts.
 1.5 17-Oct-2007  garbled branches: 1.5.2; 1.5.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.4 14-Jul-2007  ad branches: 1.4.10;
Generic soft interrupts are mandatory.
 1.3 14-Sep-2006  gdamore branches: 1.3.10; 1.3.18;
Convert sbmips to generic TODR. ok simonb@.
 1.2 11-Nov-2005  simonb branches: 1.2.10; 1.2.22;
Switch to the MIPS generic soft interrupt code instead of using
port-specific code.
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12; 1.1.18; 1.1.34;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.34.4 21-Jan-2008  yamt sync with head
 1.1.34.3 03-Sep-2007  yamt sync with head.
 1.1.34.2 30-Dec-2006  yamt sync with head.
 1.1.34.1 21-Jun-2006  yamt sync with head.
 1.1.18.1 11-Dec-2005  christos Sync with head.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file types.h was added on branch nathanw_sa on 2002-03-06 02:13:50 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file types.h was added on branch kqueue on 2002-06-23 17:40:20 +0000
 1.2.22.1 18-Nov-2006  ad Sync with head.
 1.2.10.1 14-Sep-2006  yamt sync with head.
 1.3.18.1 03-Oct-2007  garbled Sync with HEAD
 1.3.10.1 15-Jul-2007  ad Sync with head.
 1.4.10.3 23-Mar-2008  matt sync with HEAD
 1.4.10.2 09-Jan-2008  matt sync with HEAD
 1.4.10.1 06-Nov-2007  matt sync with HEAD
 1.5.8.2 23-Jan-2008  bouyer Sync with HEAD.
 1.5.8.1 08-Jan-2008  bouyer Sync with HEAD
 1.5.2.1 18-Feb-2008  mjf Sync with HEAD.
 1.7.40.1 05-Mar-2011  bouyer Sync with HEAD
 1.7.38.1 06-Jun-2011  jruoho Sync with HEAD.
 1.7.32.1 05-Mar-2011  rmind sync with head
 1.7.28.1 21-Jan-2010  matt sbmips needs 64bit paddr_t
 1.9.38.1 21-Apr-2017  bouyer Sync with HEAD
 1.9.34.1 20-Mar-2017  pgoyette Sync with HEAD
 1.9.30.1 05-Feb-2017  skrll Sync with HEAD
 1.9.12.1 03-Dec-2017  jdolecek update from HEAD
 1.2 17-Jul-2011  joerg Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file varargs.h was added on branch nathanw_sa on 2002-03-06 02:13:51 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file varargs.h was added on branch kqueue on 2002-06-23 17:40:20 +0000
 1.3 20-Feb-2011  matt Merge from matt-nb5-mips64.
Add pci support.
new interrupt code.
Adapt to new world order for MIPS
 1.2 14-Dec-2009  matt branches: 1.2.4; 1.2.6; 1.2.8;
Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.1 06-Mar-2002  simonb branches: 1.1.10; 1.1.12; 1.1.124; 1.1.142;
A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.142.2 21-Jan-2010  matt Define the FIRST512 and FIRST4G vm freelists
 1.1.142.1 11-Dec-2009  matt Use the default set of VM_FREELISTs in <mips/vmparam.h> but allow them to
be overridden (for pmax).
 1.1.124.1 11-Mar-2010  yamt sync with head
 1.1.12.2 06-Mar-2002  simonb A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm"). Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial. Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.1 06-Mar-2002  simonb file vmparam.h was added on branch nathanw_sa on 2002-03-06 02:13:51 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 06-Mar-2002  jdolecek file vmparam.h was added on branch kqueue on 2002-06-23 17:40:21 +0000
 1.2.8.1 05-Mar-2011  bouyer Sync with HEAD
 1.2.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.2.4.1 05-Mar-2011  rmind sync with head
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 08-May-2004  kleink branches: 1.1.2;
Factor out W{CHAR,INT}_{MAX,MIN} into their own header file.
 1.1.2.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.2.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.2.2 03-Aug-2004  skrll Sync with HEAD
 1.1.2.1 08-May-2004  skrll file wchar_limits.h was added on branch ktrace-lwp on 2004-08-03 10:39:56 +0000
 1.2 11-Dec-2005  christos branches: 1.2.18;
merge ktrace-lwp.
 1.1 05-Nov-2005  tsutsui branches: 1.1.2;
Add empty <machine/wired_map.h> for the MI mips/wired_map.c.
 1.1.2.2 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.1.2.1 05-Nov-2005  skrll file wired_map.h was added on branch ktrace-lwp on 2005-11-10 13:58:33 +0000
 1.2.18.2 21-Jun-2006  yamt sync with head.
 1.2.18.1 11-Dec-2005  yamt file wired_map.h was added on branch yamt-lazymbuf on 2006-06-21 14:55:23 +0000

RSS XML Feed