Home | History | Annotate | only in /src/sys/arch/mvmeppc/include
History log of /src/sys/arch/mvmeppc/include
RevisionDateAuthorComments
 1.10 21-Dec-2015  christos Add mips fenv.h (From FreeBSD)
 1.9 23-Jul-2014  alnsn branches: 1.9.4;
Rename sljitarch.h to sljit_machdep.h.
 1.8 17-Nov-2013  alnsn branches: 1.8.2;
Enable sljit and bpfjit on powerpc.
 1.7 11-Dec-2005  christos branches: 1.7.112; 1.7.122; 1.7.128;
merge ktrace-lwp.
 1.6 20-Oct-2003  matt Reorganize the way powerpc port install machine specific headers.
Use <powerpc/oea/bat.h> exclusively and remove <machine/bat.h> and
<powerpc/bat.h>. Remove unneeded <machine/cpufunc.h>. To insure
1:1 correspondence of <powerpc/FOO.h> to <machine/FOO.h> include
"../../powerpc/include/Makefile" in "arch/FOO/include/Makefile".
Incororpate <byte_swap.h> into <bswap.h> and then byte_swap.h
 1.5 17-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 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 27-Feb-2002  scw branches: 1.2.2; 1.2.10; 1.2.14;
Get in sync with include files.
 1.1 27-Feb-2002  scw New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.2.14.3 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.2.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.14.1 27-Feb-2002  jdolecek file Makefile was added on branch kqueue on 2002-06-23 17:38:26 +0000
 1.2.10.1 31-Aug-2002  gehenna catch up with -current.
 1.2.2.4 11-Dec-2002  thorpej Sync with HEAD.
 1.2.2.3 13-Aug-2002  nathanw Catch up to -current.
 1.2.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.2.2.1 27-Feb-2002  nathanw file Makefile was added on branch nathanw_sa on 2002-02-28 04:10:56 +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.7.128.1 18-May-2014  rmind sync with head
 1.7.122.2 03-Dec-2017  jdolecek update from HEAD
 1.7.122.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.7.112.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.8.2.1 10-Aug-2014  tls Rebase.
 1.9.4.1 27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file ansi.h was added on branch kqueue on 2002-06-23 17:38:26 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file ansi.h was added on branch nathanw_sa on 2002-02-28 04:10:56 +0000
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file aout_machdep.h was added on branch kqueue on 2002-06-23 17:38:26 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file aout_machdep.h was added on branch nathanw_sa on 2002-02-28 04:10:56 +0000
 1.2 25-Feb-2006  wiz Fix some typos.
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14; 1.1.36; 1.1.48; 1.1.50; 1.1.52;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.52.1 22-Apr-2006  simonb Sync with head.
 1.1.50.1 09-Sep-2006  rpaulo sync with head
 1.1.48.1 01-Mar-2006  yamt sync with head.
 1.1.36.1 21-Jun-2006  yamt sync with head.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file asm.h was added on branch kqueue on 2002-06-23 17:38:27 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file asm.h was added on branch nathanw_sa on 2002-02-28 04:10:56 +0000
 1.3 05-Jun-2011  matt Remove <machine/atomic.h>; use <sys/atomic.h> instead.
Add <powerpc/cpuset.h> (for mpc85xx pmap).
Add some initial MP code for mpc85xx
Rework ipi code to be common across all ppcs
Change PPC to keep curlwp in %r13 while in the kernel.
Move astpending from cpu_info to mdlwp
Improve cpu_need_resched to be more MP friendly.
 1.2 11-Dec-2005  christos branches: 1.2.100; 1.2.106; 1.2.110;
merge ktrace-lwp.
 1.1 20-Oct-2003  matt branches: 1.1.4;
Reorganize the way powerpc port install machine specific headers.
Use <powerpc/oea/bat.h> exclusively and remove <machine/bat.h> and
<powerpc/bat.h>. Remove unneeded <machine/cpufunc.h>. To insure
1:1 correspondence of <powerpc/FOO.h> to <machine/FOO.h> include
"../../powerpc/include/Makefile" in "arch/FOO/include/Makefile".
Incororpate <byte_swap.h> into <bswap.h> and then byte_swap.h
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 20-Oct-2003  skrll file atomic.h was added on branch ktrace-lwp on 2004-08-03 10:38:16 +0000
 1.2.110.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.2.106.1 06-Jun-2011  jruoho Sync with HEAD.
 1.2.100.1 12-Jun-2011  rmind sync with head
 1.5 30-Jun-2011  matt Modify mapiodev to take a third argument indicating whether the space
should be prefetchable (true) or not (false).
 1.4 14-Mar-2009  dsl Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
 1.3 04-Mar-2007  christos branches: 1.3.44; 1.3.52; 1.3.58;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.2 05-Jul-2002  matt branches: 1.2.22; 1.2.60;
Peform a rototill over the powerpc-based ports.

Move the trap/vector initialization for MPC6xx ports to mpc6xx_machdep.c
Also move softnet, install_extintr, mapiodev, kvtop. Add common BAT
initialization code.

Add user Altivec support.

Fix calls to OF_call_method in macppc/macppc/machdep.c.

Use ci_fpuproc in cpu_info instead of separate fpuproc.

Add separate syscall.c and defined __HAVE_SYSCALL_INTERN.
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.10; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.3 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file autoconf.h was added on branch kqueue on 2002-06-23 17:38:27 +0000
 1.1.10.1 16-Jul-2002  gehenna catch up with -current.
 1.1.2.3 01-Aug-2002  nathanw Catch up to -current.
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file autoconf.h was added on branch nathanw_sa on 2002-02-28 04:10:57 +0000
 1.2.60.1 12-Mar-2007  rmind Sync with HEAD.
 1.2.22.1 03-Sep-2007  yamt sync with head.
 1.3.58.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.3.52.1 28-Apr-2009  skrll Sync with HEAD.
 1.3.44.1 04-May-2009  yamt sync with head.
 1.2 20-Oct-2003  matt Reorganize the way powerpc port install machine specific headers.
Use <powerpc/oea/bat.h> exclusively and remove <machine/bat.h> and
<powerpc/bat.h>. Remove unneeded <machine/cpufunc.h>. To insure
1:1 correspondence of <powerpc/FOO.h> to <machine/FOO.h> include
"../../powerpc/include/Makefile" in "arch/FOO/include/Makefile".
Incororpate <byte_swap.h> into <bswap.h> and then byte_swap.h
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14; 1.1.20;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.20.1 03-Aug-2004  skrll Sync with HEAD
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file bat.h was added on branch kqueue on 2002-06-23 17:38:27 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file bat.h was added on branch nathanw_sa on 2002-02-28 04:10:57 +0000
 1.3 11-Dec-2005  christos merge ktrace-lwp.
 1.2 28-Jul-2003  scw Add a 'packed' attribute to the bootinfo structure.
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14; 1.1.20;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.20.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.20.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.20.1 03-Aug-2004  skrll Sync with HEAD
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file bootinfo.h was added on branch kqueue on 2002-06-23 17:38:27 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file bootinfo.h was added on branch nathanw_sa on 2002-02-28 04:10:57 +0000
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file bswap.h was added on branch kqueue on 2002-06-23 17:38:27 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file bswap.h was added on branch nathanw_sa on 2002-02-28 04:10:57 +0000
 1.7 17-Jul-2011  dyoung Enable new-style <sys/bus.h> on several PowerPC ports supporting PCI
buses. Make non-inline implementations of bus_space(9) and bus_dma(9)
routines and move them to appropriate .c files.

This may leave amigappc in a bad state, sorry. Fortunately, it will be
easy to repair by imitating the bus.h -> bus_{defs,funcs}.h split in
some other PowerPC port.
 1.6 03-May-2008  martin Move to 2 clause TNF license
 1.5 17-Oct-2007  garbled branches: 1.5.16; 1.5.18; 1.5.20;
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 11-Dec-2005  christos branches: 1.4.30; 1.4.38; 1.4.48; 1.4.50; 1.4.52; 1.4.54;
merge ktrace-lwp.
 1.3 28-Jul-2003  scw branches: 1.3.16;
Make these build with recent tweaks to powerpc's bus_space(9) by moving
the inclusion of <powerpc/bus.h> to *after* the definitions of
PHYS_TO_BUS_MEM() and BUS_MEM_TO_PHYS().
 1.2 18-Mar-2003  matt branches: 1.2.2;
Switch/adapt to new bus space infrastructure.
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file bus.h was added on branch kqueue on 2002-06-23 17:38:27 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file bus.h was added on branch nathanw_sa on 2002-02-28 04:10:57 +0000
 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.1 27-Oct-2007  yamt sync with head.
 1.4.54.1 25-Oct-2007  bouyer Sync with HEAD.
 1.4.52.1 18-Oct-2007  yamt sync with head.
 1.4.50.1 06-Nov-2007  matt sync with HEAD
 1.4.48.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.4.38.2 10-May-2007  garbled More cleanup. mvmeppc and ibmnws are machines that have a PReP memory
map. Rather than have each port roll it's own code, use
oea/prep_machdep.c instead.
 1.4.38.1 09-May-2007  garbled Apply the complete renovation package to mvmeppc.
1) Convert to shared PIC code. For now, using i8259, however, I suspect
this machine really needs prepivr.
2) Convert to shared PCI
3) Convert to shared ISA
4) Clean up a few __P's and K&R declarations. Still a few to go probably.
 1.4.30.1 23-Oct-2007  ad Sync with head.
 1.5.20.1 16-May-2008  yamt sync with head.
 1.5.18.1 18-May-2008  yamt sync with head.
 1.5.16.1 02-Jun-2008  mjf Sync with HEAD.
 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.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file cdefs.h was added on branch kqueue on 2002-06-23 17:38:27 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file cdefs.h was added on branch nathanw_sa on 2002-02-28 04:10:57 +0000
 1.2 20-Jun-2011  matt Don't expose port-specific if _MODULE is defined.
Don't _MACHINE_CPU_H_, _<PORT>_CPU_H_
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14; 1.1.158;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.158.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file cpu.h was added on branch kqueue on 2002-06-23 17:38:27 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file cpu.h was added on branch nathanw_sa on 2002-02-28 04:10:58 +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 26-Apr-2011  joerg Remove Darwin, MACH and Mach-O support.
 1.1 08-Dec-2002  manu branches: 1.1.2; 1.1.136; 1.1.142;
A working fork/vfork implementation. Darwin fork differs from our fork by
two ways:
- the child gets its pid as retval[0] (userland stub will turn it into a 0),
retval[1] is 1 and it is 0 in the parent.
- in the child, the fork syscall is successful, hence we must skip the next
instruction.
 1.1.142.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.136.1 31-May-2011  rmind sync with head
 1.1.2.2 11-Dec-2002  thorpej Sync with HEAD.
 1.1.2.1 08-Dec-2002  thorpej file darwin_machdep.h was added on branch nathanw_sa on 2002-12-11 06:11:24 +0000
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file db_machdep.h was added on branch kqueue on 2002-06-23 17:38:28 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file db_machdep.h was added on branch nathanw_sa on 2002-02-28 04:10:58 +0000
 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 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.3 10-May-2003  thorpej branches: 1.3.2;
Remove redundant bounds_check_with_label() prototype.
 1.2 07-Mar-2002  matt branches: 1.2.10;
Change LABELOFFSET to 0 to be compatible most other MBR using ports.
 1.1 27-Feb-2002  scw branches: 1.1.2;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.2.3 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file disklabel.h was added on branch nathanw_sa on 2002-02-28 04:10:58 +0000
 1.2.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.10.1 07-Mar-2002  jdolecek file disklabel.h was added on branch kqueue on 2002-06-23 17:38:28 +0000
 1.3.2.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.3.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.3.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 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file elf_machdep.h was added on branch kqueue on 2002-06-23 17:38:28 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file elf_machdep.h was added on branch nathanw_sa on 2002-02-28 04:10:58 +0000
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file endian.h was added on branch kqueue on 2002-06-23 17:38:28 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file endian.h was added on branch nathanw_sa on 2002-02-28 04:10:58 +0000
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file endian_machdep.h was added on branch kqueue on 2002-06-23 17:38:28 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file endian_machdep.h was added on branch nathanw_sa on 2002-02-28 04:10:58 +0000
 1.1 20-Dec-2015  christos branches: 1.1.2; 1.1.18;
new powerpc fenv.h
 1.1.18.2 03-Dec-2017  jdolecek update from HEAD
 1.1.18.1 20-Dec-2015  jdolecek file fenv.h was added on branch tls-maxphys on 2017-12-03 11:36:31 +0000
 1.1.2.2 27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.1.2.1 20-Dec-2015  skrll file fenv.h was added on branch nick-nhusb on 2015-12-27 12:09:39 +0000
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file float.h was added on branch kqueue on 2002-06-23 17:38:28 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file float.h was added on branch nathanw_sa on 2002-02-28 04:10:58 +0000
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file fpu.h was added on branch kqueue on 2002-06-23 17:38:28 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file fpu.h was added on branch nathanw_sa on 2002-02-28 04:10:59 +0000
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file frame.h was added on branch kqueue on 2002-06-23 17:38:28 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file frame.h was added on branch nathanw_sa on 2002-02-28 04:10:59 +0000
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file ieee.h was added on branch kqueue on 2002-06-23 17:38:28 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file ieee.h was added on branch nathanw_sa on 2002-02-28 04:10:59 +0000
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file ieeefp.h was added on branch kqueue on 2002-06-23 17:38:28 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file ieeefp.h was added on branch nathanw_sa on 2002-02-28 04:10:59 +0000
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file int_const.h was added on branch kqueue on 2002-06-23 17:38:28 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file int_const.h was added on branch nathanw_sa on 2002-02-28 04:10:59 +0000
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file int_fmtio.h was added on branch kqueue on 2002-06-23 17:38:29 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file int_fmtio.h was added on branch nathanw_sa on 2002-02-28 04:10:59 +0000
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file int_limits.h was added on branch kqueue on 2002-06-23 17:38:29 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file int_limits.h was added on branch nathanw_sa on 2002-02-28 04:10:59 +0000
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file int_mwgwtypes.h was added on branch kqueue on 2002-06-23 17:38:29 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file int_mwgwtypes.h was added on branch nathanw_sa on 2002-02-28 04:11:00 +0000
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file int_types.h was added on branch kqueue on 2002-06-23 17:38:29 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file int_types.h was added on branch nathanw_sa on 2002-02-28 04:11:00 +0000
 1.15 17-Jun-2011  matt intr.h must not include cpu due to deadly embrace with SOFTINT_COUNT.
Cleanup intr.h so MD definitions can overload common definitions.
Rototill pic/intr.c. Virtual IRQs can now be reclaimed. separate virq
from hwirq from picirq. Redo intr mask calculations.
tested on pmppc and macppc (MP).
 1.14 24-Apr-2010  kiyohara branches: 1.14.6;
Support 64-bit imask for powerpc/pic.
 1.13 28-Apr-2008  martin branches: 1.13.20; 1.13.22;
Remove clause 3 and 4 from TNF licenses
 1.12 17-Oct-2007  garbled branches: 1.12.16; 1.12.18; 1.12.20;
Merge the ppcoea-renovation branch to HEAD.

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

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

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.11 16-Feb-2007  ad branches: 1.11.6; 1.11.14; 1.11.22; 1.11.24; 1.11.26; 1.11.28;
Remove spllowersoftclock() and CLKF_BASEPRI(), and always dispatch callouts
via a soft interrupt. In the near future, softclock will be run from process
context.
 1.10 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.9 16-Feb-2006  perry branches: 1.9.14; 1.9.16;
Change "inline" back to "__inline" in .h files -- C99 is still too
new, and some apps compile things in C89 mode. C89 keywords stay.

As per core@.
 1.8 24-Dec-2005  perry branches: 1.8.2; 1.8.4; 1.8.6;
__asm__ -> __asm
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile
 1.7 24-Dec-2005  perry Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.6 11-Dec-2005  christos merge ktrace-lwp.
 1.5 03-Sep-2003  matt branches: 1.5.16;
Move CLKF_BASEPRI to machine specific <intr.h> file since it depends on
the encoding of the spl for the port.
 1.4 16-Jun-2003  thorpej branches: 1.4.2;
Rename IPL_IMP -> IPL_VM.
 1.3 05-Jul-2002  matt Peform a rototill over the powerpc-based ports.

Move the trap/vector initialization for MPC6xx ports to mpc6xx_machdep.c
Also move softnet, install_extintr, mapiodev, kvtop. Add common BAT
initialization code.

Add user Altivec support.

Fix calls to OF_call_method in macppc/macppc/machdep.c.

Use ci_fpuproc in cpu_info instead of separate fpuproc.

Add separate syscall.c and defined __HAVE_SYSCALL_INTERN.
 1.2 28-Feb-2002  scw branches: 1.2.2; 1.2.6; 1.2.10; 1.2.14;
Oops, replace this with a (very) slightly modified version of prep's
intr.h instead of a remnant of my original hacking where it was based
on sandpoint's.
 1.1 27-Feb-2002  scw New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.2.14.3 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.2.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.14.1 28-Feb-2002  jdolecek file intr.h was added on branch kqueue on 2002-06-23 17:38:29 +0000
 1.2.10.1 16-Jul-2002  gehenna catch up with -current.
 1.2.6.1 17-Mar-2002  thorpej IPL_IMP -> IPL_VM
 1.2.2.4 01-Aug-2002  nathanw Catch up to -current.
 1.2.2.3 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.2.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.2.2.1 28-Feb-2002  nathanw file intr.h was added on branch nathanw_sa on 2002-02-28 04:11:00 +0000
 1.4.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.4.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.4.2.1 03-Aug-2004  skrll Sync with HEAD
 1.5.16.4 27-Oct-2007  yamt sync with head.
 1.5.16.3 26-Feb-2007  yamt sync with head.
 1.5.16.2 30-Dec-2006  yamt sync with head.
 1.5.16.1 21-Jun-2006  yamt sync with head.
 1.8.6.1 22-Apr-2006  simonb Sync with head.
 1.8.4.1 09-Sep-2006  rpaulo sync with head
 1.8.2.1 18-Feb-2006  yamt sync with head.
 1.9.16.1 02-Dec-2006  yamt implement splraiseipl/makeiplcookie for mvmeppc.
 1.9.14.1 12-Jan-2007  ad Sync with head.
 1.11.28.1 25-Oct-2007  bouyer Sync with HEAD.
 1.11.26.1 18-Oct-2007  yamt sync with head.
 1.11.24.1 06-Nov-2007  matt sync with HEAD
 1.11.22.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.11.14.1 09-May-2007  garbled Apply the complete renovation package to mvmeppc.
1) Convert to shared PIC code. For now, using i8259, however, I suspect
this machine really needs prepivr.
2) Convert to shared PCI
3) Convert to shared ISA
4) Clean up a few __P's and K&R declarations. Still a few to go probably.
 1.11.6.1 23-Oct-2007  ad Sync with head.
 1.12.20.2 11-Aug-2010  yamt sync with head.
 1.12.20.1 16-May-2008  yamt sync with head.
 1.12.18.1 18-May-2008  yamt sync with head.
 1.12.16.1 02-Jun-2008  mjf Sync with HEAD.
 1.13.22.1 30-May-2010  rmind sync with head
 1.13.20.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.14.6.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.2 15-Jul-2018  maxv Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14; 1.1.32; 1.1.210;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.210.1 10-Jun-2019  christos Sync with HEAD
 1.1.32.1 28-Jul-2018  pgoyette Sync with HEAD
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file ipkdb.h was added on branch kqueue on 2002-06-23 17:38:29 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file ipkdb.h was added on branch nathanw_sa on 2002-02-28 04:11:00 +0000
 1.9 12-Dec-2021  andvar s/Miscellanous/Miscellaneous/ in copypasta comments.
 1.8 18-Oct-2016  jdolecek add isa_intr_establish_xname() to MD isa headers so that it can be used
by MI drivers
 1.7 19-Aug-2009  dyoung branches: 1.7.22; 1.7.40; 1.7.44;
(Re-)define isa_detach_hook(), and define isa_dmadestroy(). Update
some isa_chipset_tag_t->ic_detach_hook() definitions.
 1.6 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.5 17-Oct-2007  garbled branches: 1.5.16; 1.5.18; 1.5.20;
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 11-Dec-2005  christos branches: 1.4.30; 1.4.38; 1.4.48; 1.4.50; 1.4.52; 1.4.54;
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 09-May-2003  fvdl branches: 1.2.2;
A few ISA sound drivers like to share dma channels, and hence deferred
isa_dmamap_create() calls to their open/close entrypoints. This worked
with some luck, but broke on i386 when _bus_dmamap_create started
to allocate bounce buffers upfront, since memory below 16M may well
not be available when the sound devices is opened for the Nth time.

To fix this, create a new simple interface, isa_drq_alloc/isa_drq_free,
wrappers around already existing bitmask macros. These are expected
to be used before an isa_dmamap_create call, and after an
isa_dmamap_destroy call, respectively. For the sb and ad1848 drivers,
they're deferred until open/close.

All isa_dmamap_create calls can now use BUS_DMA_ALLOCNOW and be done
at attach time.
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file isa_machdep.h was added on branch kqueue on 2002-06-23 17:38:29 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file isa_machdep.h was added on branch nathanw_sa on 2002-02-28 04:11:00 +0000
 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.1 27-Oct-2007  yamt sync with head.
 1.4.54.1 25-Oct-2007  bouyer Sync with HEAD.
 1.4.52.1 18-Oct-2007  yamt sync with head.
 1.4.50.1 06-Nov-2007  matt sync with HEAD
 1.4.48.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.4.38.2 10-May-2007  garbled More cleanup. mvmeppc and ibmnws are machines that have a PReP memory
map. Rather than have each port roll it's own code, use
oea/prep_machdep.c instead.
 1.4.38.1 09-May-2007  garbled Apply the complete renovation package to mvmeppc.
1) Convert to shared PIC code. For now, using i8259, however, I suspect
this machine really needs prepivr.
2) Convert to shared PCI
3) Convert to shared ISA
4) Clean up a few __P's and K&R declarations. Still a few to go probably.
 1.4.30.1 23-Oct-2007  ad Sync with head.
 1.5.20.2 19-Aug-2009  yamt sync with head.
 1.5.20.1 16-May-2008  yamt sync with head.
 1.5.18.1 18-May-2008  yamt sync with head.
 1.5.16.1 02-Jun-2008  mjf Sync with HEAD.
 1.7.44.1 04-Nov-2016  pgoyette Sync with HEAD
 1.7.40.1 05-Dec-2016  skrll Sync with HEAD
 1.7.22.1 03-Dec-2017  jdolecek update from HEAD
 1.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14; 1.1.122; 1.1.124; 1.1.126;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.126.1 16-May-2008  yamt sync with head.
 1.1.124.1 18-May-2008  yamt sync with head.
 1.1.122.1 02-Jun-2008  mjf Sync with HEAD.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file isapnp_machdep.h was added on branch kqueue on 2002-06-23 17:38:30 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file isapnp_machdep.h was added on branch nathanw_sa on 2002-02-28 04:11:00 +0000
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file kcore.h was added on branch kqueue on 2002-06-23 17:38:30 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file kcore.h was added on branch nathanw_sa on 2002-02-28 04:11:01 +0000
 1.3 16-Feb-2006  perry Change "inline" back to "__inline" in .h files -- C99 is still too
new, and some apps compile things in C89 mode. C89 keywords stay.

As per core@.
 1.2 24-Dec-2005  perry branches: 1.2.2; 1.2.4; 1.2.6;
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file kgdb.h was added on branch kqueue on 2002-06-23 17:38:30 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file kgdb.h was added on branch nathanw_sa on 2002-02-28 04:11:01 +0000
 1.2.6.1 22-Apr-2006  simonb Sync with head.
 1.2.4.1 09-Sep-2006  rpaulo sync with head
 1.2.2.1 18-Feb-2006  yamt sync with head.
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file limits.h was added on branch kqueue on 2002-06-23 17:38:30 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file limits.h was added on branch nathanw_sa on 2002-02-28 04:11:01 +0000
 1.4 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.3 28-Apr-2008  martin branches: 1.3.44; 1.3.60;
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 27-Feb-2002  scw branches: 1.1.2; 1.1.14; 1.1.36; 1.1.48;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.48.1 01-Feb-2006  yamt sync with head.
 1.1.36.1 21-Jun-2006  yamt sync with head.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file loadfile_machdep.h was added on branch kqueue on 2002-06-23 17:38:30 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file loadfile_machdep.h was added on branch nathanw_sa on 2002-02-28 04:11:01 +0000
 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.60.1 10-Aug-2014  tls Rebase.
 1.3.44.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file lock.h was added on branch kqueue on 2002-06-23 17:38:30 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file lock.h was added on branch nathanw_sa on 2002-02-28 04:11:01 +0000
 1.1 30-Nov-2024  christos branches: 1.1.4;
Create a new header lwp_private.h to contain _lwp_getprivate_fast,
_lwp_gettcb_fast, _lwp_settcb and remove them from mcontext.h, so that:
1. we don't need special hacks to hide them
2. we can include <lwp.h> where needed to get the necessary prototypes
without redefining them locally.
 1.1.4.2 02-Aug-2025  perseant Sync with HEAD
 1.1.4.1 30-Nov-2024  perseant file lwp_private.h was added on branch perseant-exfatfs on 2025-08-02 05:55:57 +0000
 1.2 26-Apr-2011  joerg Remove Darwin, MACH and Mach-O support.
 1.1 30-Oct-2002  matt branches: 1.1.2; 1.1.136; 1.1.142;
Add missing file.
 1.1.142.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.136.1 31-May-2011  rmind sync with head
 1.1.2.2 11-Nov-2002  nathanw Catch up to -current
 1.1.2.1 30-Oct-2002  nathanw file macho_machdep.h was added on branch nathanw_sa on 2002-11-11 22:01:37 +0000
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file math.h was added on branch kqueue on 2002-06-23 17:38:30 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file math.h was added on branch nathanw_sa on 2002-02-28 04:11:01 +0000
 1.2 17-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.1 06-Oct-2002  gmcgarry branches: 1.1.2;
file mcontext.h was initially added on branch nathanw_sa.
 1.1.2.1 06-Oct-2002  gmcgarry Pull in powerppc mcontext.h
 1.2 09-Feb-2007  ad branches: 1.2.4;
Merge newlock2 to head.
 1.1 22-Dec-2006  ad branches: 1.1.2;
file mutex.h was initially added on branch newlock2.
 1.1.2.1 22-Dec-2006  ad Pull in CPU specific stubs.
 1.2.4.2 26-Feb-2007  yamt sync with head.
 1.2.4.1 09-Feb-2007  yamt file mutex.h was added on branch yamt-lazymbuf on 2007-02-26 09:07:35 +0000
 1.4 20-Jun-2011  matt Cleanup powerpc param.h. If compiling a MODULE, ignore port-specific stuff.
Only include <machine/cpu.h> in <powerpc/param.h> at the end.
 1.3 09-Mar-2002  chs branches: 1.3.10; 1.3.154;
switch all mpc6xx powerpc ports to NEWPMAP by default.
the old pmap is still available with the OLDPMAP option.
 1.2 03-Mar-2002  scw Define NEWPMAP here if it is not already defined, for the benefit
of lkms.
 1.1 27-Feb-2002  scw branches: 1.1.2;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.2.3 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file param.h was added on branch nathanw_sa on 2002-02-28 04:11:01 +0000
 1.3.154.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.3.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.3.10.1 09-Mar-2002  jdolecek file param.h was added on branch kqueue on 2002-06-23 17:38:30 +0000
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file pcb.h was added on branch kqueue on 2002-06-23 17:38:31 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file pcb.h was added on branch nathanw_sa on 2002-02-28 04:11:02 +0000
 1.7 22-Jun-2011  matt Add support pci_intr_setattr.
Export non-inline version of pci api for modules (_MODULE is defined).
Fix definition of pc_conf_hook and pc_conf_interrupt.
Switch to using inlines instead of macros.
Switch ibm4xx to use <powerpc/pci_machdep.h>
 1.6 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.5 17-Oct-2007  garbled branches: 1.5.16; 1.5.18; 1.5.20;
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 11-Dec-2005  christos branches: 1.4.30; 1.4.38; 1.4.48; 1.4.50; 1.4.52; 1.4.54;
merge ktrace-lwp.
 1.3 29-Jul-2004  drochner branches: 1.3.12;
remove now unnecessary "pci_enumerate_bus" definitions
 1.2 15-May-2002  thorpej branches: 1.2.6; 1.2.12;
Let machine-dependent code specify how to enumerate the bus.
Currently, everyone uses pci_enumerate_bus_generic().
 1.1 27-Feb-2002  scw branches: 1.1.2;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.2.3 20-Jun-2002  nathanw Catch up to -current.
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file pci_machdep.h was added on branch nathanw_sa on 2002-02-28 04:11:02 +0000
 1.2.12.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.12.2 18-Sep-2004  skrll Sync with HEAD.
 1.2.12.1 03-Aug-2004  skrll Sync with HEAD
 1.2.6.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.6.1 15-May-2002  jdolecek file pci_machdep.h was added on branch kqueue on 2002-06-23 17:38:31 +0000
 1.3.12.1 27-Oct-2007  yamt sync with head.
 1.4.54.1 25-Oct-2007  bouyer Sync with HEAD.
 1.4.52.1 18-Oct-2007  yamt sync with head.
 1.4.50.1 06-Nov-2007  matt sync with HEAD
 1.4.48.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.4.38.1 09-May-2007  garbled Apply the complete renovation package to mvmeppc.
1) Convert to shared PIC code. For now, using i8259, however, I suspect
this machine really needs prepivr.
2) Convert to shared PCI
3) Convert to shared ISA
4) Clean up a few __P's and K&R declarations. Still a few to go probably.
 1.4.30.1 23-Oct-2007  ad Sync with head.
 1.5.20.1 16-May-2008  yamt sync with head.
 1.5.18.1 18-May-2008  yamt sync with head.
 1.5.16.1 02-Jun-2008  mjf Sync with HEAD.
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file pio.h was added on branch kqueue on 2002-06-23 17:38:31 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file pio.h was added on branch nathanw_sa on 2002-02-28 04:11:02 +0000
 1.4 18-Jun-2011  matt struct device * -> device_t
struct cfdata * -> cfdata_t
use device accessors, use device_private.
some softc/device_t splits (macppc needs a bunch more)
aprint*_dev used considerably more
 1.3 28-Apr-2008  martin branches: 1.3.32;
Remove clause 3 and 4 from TNF licenses
 1.2 17-Oct-2007  garbled branches: 1.2.16; 1.2.18; 1.2.20;
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.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14; 1.1.36; 1.1.78; 1.1.86; 1.1.96; 1.1.98; 1.1.100; 1.1.102;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.102.1 25-Oct-2007  bouyer Sync with HEAD.
 1.1.100.1 18-Oct-2007  yamt sync with head.
 1.1.98.1 06-Nov-2007  matt sync with HEAD
 1.1.96.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.1.86.1 09-May-2007  garbled Apply the complete renovation package to mvmeppc.
1) Convert to shared PIC code. For now, using i8259, however, I suspect
this machine really needs prepivr.
2) Convert to shared PCI
3) Convert to shared ISA
4) Clean up a few __P's and K&R declarations. Still a few to go probably.
 1.1.78.1 23-Oct-2007  ad Sync with head.
 1.1.36.1 27-Oct-2007  yamt sync with head.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file platform.h was added on branch kqueue on 2002-06-23 17:38:31 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file platform.h was added on branch nathanw_sa on 2002-02-28 04:11:03 +0000
 1.2.20.1 16-May-2008  yamt sync with head.
 1.2.18.1 18-May-2008  yamt sync with head.
 1.2.16.1 02-Jun-2008  mjf Sync with HEAD.
 1.3.32.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.2 03-Feb-2003  matt Rename PPC_MPC6XX to PPC_OEA (and any mpc6xx reference to oea).
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file pmap.h was added on branch kqueue on 2002-06-23 17:38:31 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file pmap.h was added on branch nathanw_sa on 2002-02-28 04:11:03 +0000
 1.2 12-Jul-2018  maxv Remove the kernel PMC code. Sent yesterday on tech-kern@.

This change:

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

* Removes the PMC code of ARM XSCALE.

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

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

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

* Removes the pmc_evid_t and pmc_ctr_t types.

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

pmc(9) is meant to be a general interface. Initially, the Intel XScale
counters are the only ones supported.
 1.1.204.1 10-Jun-2019  christos Sync with HEAD
 1.1.202.1 28-Jul-2018  pgoyette Sync with HEAD
 1.1.6.2 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.1.6.1 07-Aug-2002  jdolecek file pmc.h was added on branch kqueue on 2002-09-06 08:38:05 +0000
 1.1.4.2 31-Aug-2002  gehenna catch up with -current.
 1.1.4.1 07-Aug-2002  gehenna file pmc.h was added on branch gehenna-devsw on 2002-08-31 13:45:29 +0000
 1.1.2.2 13-Aug-2002  nathanw Catch up to -current.
 1.1.2.1 07-Aug-2002  nathanw file pmc.h was added on branch nathanw_sa on 2002-08-13 02:18:34 +0000
 1.4 14-Mar-2009  dsl Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
 1.3 11-Dec-2005  christos branches: 1.3.78; 1.3.86; 1.3.92;
merge ktrace-lwp.
 1.2 23-Oct-2004  thorpej Centralize the declaration of booted_device and booted_partition.
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14; 1.1.20;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.20.1 02-Nov-2004  skrll Sync with HEAD.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file powerpc.h was added on branch kqueue on 2002-06-23 17:38:31 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file powerpc.h was added on branch nathanw_sa on 2002-02-28 04:11:04 +0000
 1.3.92.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.3.86.1 28-Apr-2009  skrll Sync with HEAD.
 1.3.78.1 04-May-2009  yamt sync with head.
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file proc.h was added on branch kqueue on 2002-06-23 17:38:31 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file proc.h was added on branch nathanw_sa on 2002-02-28 04:11:04 +0000
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file profile.h was added on branch kqueue on 2002-06-23 17:38:32 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file profile.h was added on branch nathanw_sa on 2002-02-28 04:11:04 +0000
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file psl.h was added on branch kqueue on 2002-06-23 17:38:32 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file psl.h was added on branch nathanw_sa on 2002-02-28 04:11:04 +0000
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file pte.h was added on branch kqueue on 2002-06-23 17:38:32 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file pte.h was added on branch nathanw_sa on 2002-02-28 04:11:04 +0000
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file ptrace.h was added on branch kqueue on 2002-06-23 17:38:32 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file ptrace.h was added on branch nathanw_sa on 2002-02-28 04:11:04 +0000
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file reg.h was added on branch kqueue on 2002-06-23 17:38:32 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file reg.h was added on branch nathanw_sa on 2002-02-28 04:11:05 +0000
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file reloc.h was added on branch kqueue on 2002-06-23 17:38:32 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file reloc.h was added on branch nathanw_sa on 2002-02-28 04:11:05 +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 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file rnd.h was added on branch kqueue on 2002-06-23 17:38:32 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file rnd.h was added on branch nathanw_sa on 2002-02-28 04:11:05 +0000
 1.2 09-Feb-2007  ad branches: 1.2.4;
Merge newlock2 to head.
 1.1 22-Dec-2006  ad branches: 1.1.2;
file rwlock.h was initially added on branch newlock2.
 1.1.2.1 22-Dec-2006  ad Pull in CPU specific stubs.
 1.2.4.2 26-Feb-2007  yamt sync with head.
 1.2.4.1 09-Feb-2007  yamt file rwlock.h was added on branch yamt-lazymbuf on 2007-02-26 09:07:35 +0000
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file setjmp.h was added on branch kqueue on 2002-06-23 17:38:33 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file setjmp.h was added on branch nathanw_sa on 2002-02-28 04:11:05 +0000
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file signal.h was added on branch kqueue on 2002-06-23 17:38:33 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file signal.h was added on branch nathanw_sa on 2002-02-28 04:11:05 +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:15 +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:03 +0000
 1.2 23-Jul-2014  alnsn Rename sljitarch.h to sljit_machdep.h.
 1.1 17-Nov-2013  alnsn branches: 1.1.2; 1.1.4; 1.1.6;
Enable sljit and bpfjit on powerpc.
 1.1.6.2 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.6.1 17-Nov-2013  yamt file sljitarch.h was added on branch yamt-pagecache on 2014-05-22 11:39:59 +0000
 1.1.4.2 18-May-2014  rmind sync with head
 1.1.4.1 17-Nov-2013  rmind file sljitarch.h was added on branch rmind-smpnet on 2014-05-18 17:45:19 +0000
 1.1.2.1 10-Aug-2014  tls Rebase.
 1.5 02-Mar-2010  matt Add missing <powerpc/FOO/spr.h> to a few files missed on the first pass.
Don't export <machine/spr.h> to userland, only <powerpc/spr.h>
 1.4 11-Dec-2005  christos branches: 1.4.78; 1.4.92; 1.4.98;
merge ktrace-lwp.
 1.3 17-Feb-2005  briggs branches: 1.3.2;
Install spr.h
 1.2 02-Mar-2004  kleink branches: 1.2.2; 1.2.4;
Pull in SPRs via <powerpc/spr.h> in this single instance, and dispose of
<machine/spr.h> again.
 1.1 30-Dec-2003  manu Fix PowerPC ports build with KGDB.
 1.2.4.1 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.2.2.1 29-Apr-2005  kent sync with -current
 1.3.2.2 17-Feb-2005  skrll Sync with HEAD.
 1.3.2.1 17-Feb-2005  skrll file spr.h was added on branch ktrace-lwp on 2005-02-17 07:10:36 +0000
 1.4.98.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.4.92.1 24-Oct-2010  jym Sync with HEAD
 1.4.78.1 11-Mar-2010  yamt sync with 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 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file stdarg.h was added on branch kqueue on 2002-06-23 17:38:33 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file stdarg.h was added on branch nathanw_sa on 2002-02-28 04:11:05 +0000
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file trap.h was added on branch kqueue on 2002-06-23 17:38:33 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file trap.h was added on branch nathanw_sa on 2002-02-28 04:11:05 +0000
 1.10 01-Apr-2021  simonb Define __HAVE_LEGACY_INTRCNT to indicate this port uses legacy intrcnt
interrupt accounting.
 1.9 01-Apr-2021  simonb Whitespace: #define<tab>
 1.8 17-Jul-2011  dyoung branches: 1.8.66; 1.8.68;
Enable new-style <sys/bus.h> on several PowerPC ports supporting PCI
buses. Make non-inline implementations of bus_space(9) and bus_dma(9)
routines and move them to appropriate .c files.

This may leave amigappc in a bad state, sorry. Fortunately, it will be
easy to repair by imitating the bus.h -> bus_{defs,funcs}.h split in
some other PowerPC port.
 1.7 17-Jul-2010  tsutsui Remove obsolete __HAVE_GENERIC_SOFT_INTERRUPTS,
which is mandatory since 2007/07:
http://mail-index.NetBSD.org/source-changes/2007/07/14/0039.html
 1.6 20-Jan-2008  joerg branches: 1.6.10; 1.6.30; 1.6.32;
Now that __HAVE_TIMECOUNTER and __HAVE_GENERIC_TODR are invariants,
remove the conditionals and the code associated with the undef case.
 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 17-Sep-2006  gdamore branches: 1.4.10; 1.4.18; 1.4.28; 1.4.30; 1.4.32; 1.4.34;
Use MI todr framework. Untested, but considered extremely
low risk.
 1.3 03-Sep-2006  bjh21 branches: 1.3.2;
Nothing in the kernel now tests __HAVE_NWSCONS, so stop defining it everywhere.
 1.2 22-Sep-2002  simonb branches: 1.2.22; 1.2.36; 1.2.40;
Use "#define\t" instead of "#define ".
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file types.h was added on branch kqueue on 2002-06-23 17:38:33 +0000
 1.1.2.3 18-Oct-2002  nathanw Catch up to -current.
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file types.h was added on branch nathanw_sa on 2002-02-28 04:11:06 +0000
 1.2.40.1 14-Sep-2006  yamt sync with head.
 1.2.36.1 09-Sep-2006  rpaulo sync with head
 1.2.22.3 21-Jan-2008  yamt sync with head
 1.2.22.2 27-Oct-2007  yamt sync with head.
 1.2.22.1 30-Dec-2006  yamt sync with head.
 1.3.2.1 18-Nov-2006  ad Sync with head.
 1.4.34.1 25-Oct-2007  bouyer Sync with HEAD.
 1.4.32.1 18-Oct-2007  yamt sync with head.
 1.4.30.2 23-Mar-2008  matt sync with HEAD
 1.4.30.1 06-Nov-2007  matt sync with HEAD
 1.4.28.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.4.18.1 09-May-2007  garbled Apply the complete renovation package to mvmeppc.
1) Convert to shared PIC code. For now, using i8259, however, I suspect
this machine really needs prepivr.
2) Convert to shared PCI
3) Convert to shared ISA
4) Clean up a few __P's and K&R declarations. Still a few to go probably.
 1.4.10.1 23-Oct-2007  ad Sync with head.
 1.5.8.1 23-Jan-2008  bouyer Sync with HEAD.
 1.5.2.1 18-Feb-2008  mjf Sync with HEAD.
 1.6.32.1 05-Mar-2011  rmind sync with head
 1.6.30.1 17-Aug-2010  uebayasi Sync with HEAD.
 1.6.10.1 11-Aug-2010  yamt sync with head.
 1.8.68.1 03-Apr-2021  thorpej Sync with HEAD.
 1.8.66.1 03-Apr-2021  thorpej Sync with 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 27-Feb-2002  scw branches: 1.1.2; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file varargs.h was added on branch kqueue on 2002-06-23 17:38:33 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file varargs.h was added on branch nathanw_sa on 2002-02-28 04:11:06 +0000
 1.4 20-Jun-2011  matt Don't export USER_SR if _MODULE is defined.
Add a common <powerpc/vmparam.h> like we have for <powerpc/pmap.h>
 1.3 03-Feb-2003  matt branches: 1.3.140;
Rename PPC_MPC6XX to PPC_OEA (and any mpc6xx reference to oea).
 1.2 09-Jul-2002  scw Redefine USER_SR to avoid clashing with MVMEPPC_PHYS_BASE_MEM in bat[12].
Thanks to Matt Thomas for pointing out the problem.
 1.1 27-Feb-2002  scw branches: 1.1.2; 1.1.10; 1.1.14;
New port: NetBSD/mvmeppc

Based mostly on NetBSD/prep at this time since the earlier mvme160x
boards are pretty much PReP compliant. Later boards in the range
diverge somewhat from the reference platform, hence the separate port.

Still needs *lots* of bashing into shape, but at this time it will
boot to multi-user over ethernet on an MVME1603-051.
 1.1.14.3 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 27-Feb-2002  jdolecek file vmparam.h was added on branch kqueue on 2002-06-23 17:38:34 +0000
 1.1.10.1 16-Jul-2002  gehenna catch up with -current.
 1.1.2.3 01-Aug-2002  nathanw Catch up to -current.
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file vmparam.h was added on branch nathanw_sa on 2002-02-28 04:11:06 +0000
 1.3.140.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 08-May-2004  kleink branches: 1.1.2;
Factor out W{CHAR,INT}_{MAX,MIN} into their own header file.
 1.1.2.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.2.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.2.2 03-Aug-2004  skrll Sync with HEAD
 1.1.2.1 08-May-2004  skrll file wchar_limits.h was added on branch ktrace-lwp on 2004-08-03 10:38:16 +0000

RSS XML Feed