Home | History | Annotate | only in /src/sys/arch/ibmnws/include
History log of /src/sys/arch/ibmnws/include
RevisionDateAuthorComments
 1.7 21-Dec-2015  christos Add mips fenv.h (From FreeBSD)
 1.6 23-Jul-2014  alnsn branches: 1.6.4;
Rename sljitarch.h to sljit_machdep.h.
 1.5 17-Nov-2013  alnsn branches: 1.5.2;
Enable sljit and bpfjit on powerpc.
 1.4 11-Dec-2005  christos branches: 1.4.112; 1.4.122; 1.4.128;
merge ktrace-lwp.
 1.3 24-Oct-2003  matt branches: 1.3.4;
Don't install bus.h
 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 19-Oct-2003  matt Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.3.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.3.4.2 03-Aug-2004  skrll Sync with HEAD
 1.3.4.1 24-Oct-2003  skrll file Makefile was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.4.128.1 18-May-2014  rmind sync with head
 1.4.122.2 03-Dec-2017  jdolecek update from HEAD
 1.4.122.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.4.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.5.2.1 10-Aug-2014  tls Rebase.
 1.6.4.1 27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file ansi.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file aout_machdep.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file asm.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +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:36:26 +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.6 30-Jun-2011  matt Modify mapiodev to take a third argument indicating whether the space
should be prefetchable (true) or not (false).
 1.5 04-Mar-2007  christos Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.4 09-May-2006  rjs branches: 1.4.14;
Remove __P.
 1.3 11-Dec-2005  christos branches: 1.3.4; 1.3.6; 1.3.8; 1.3.10; 1.3.12;
merge ktrace-lwp.
 1.2 03-Jun-2005  rjs branches: 1.2.2;
Add a const.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.5 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 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 19-Oct-2003  skrll file autoconf.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2.2.2 03-Sep-2007  yamt sync with head.
 1.2.2.1 21-Jun-2006  yamt sync with head.
 1.3.12.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.3.10.1 11-May-2006  elad sync with head
 1.3.8.1 24-May-2006  yamt sync with head.
 1.3.6.1 01-Jun-2006  kardel Sync with head.
 1.3.4.1 09-Sep-2006  rpaulo sync with head
 1.4.14.1 12-Mar-2007  rmind 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 19-Oct-2003  matt Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file bswap.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.3 17-Oct-2007  garbled Merge the ppcoea-renovation branch to HEAD.

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

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

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.2 11-Dec-2005  christos branches: 1.2.30; 1.2.38; 1.2.48; 1.2.50; 1.2.52; 1.2.54;
merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4; 1.1.18;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.18.1 27-Oct-2007  yamt sync with head.
 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 19-Oct-2003  skrll file bus.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2.54.1 25-Oct-2007  bouyer Sync with HEAD.
 1.2.52.1 18-Oct-2007  yamt sync with head.
 1.2.50.1 06-Nov-2007  matt sync with HEAD
 1.2.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.2.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.2.38.1 08-May-2007  rjs Switch over to new pci, isa and interrupt code.
 1.2.30.1 23-Oct-2007  ad 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.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file cdefs.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.3 20-Jun-2011  matt Don't expose port-specific if _MODULE is defined.
Don't _MACHINE_CPU_H_, _<PORT>_CPU_H_
 1.2 11-Dec-2005  christos branches: 1.2.110;
merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file cpu.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2.110.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file cpu_counter.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 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 19-Oct-2003  matt Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.3 26-Apr-2011  joerg Remove Darwin, MACH and Mach-O support.
 1.2 11-Dec-2005  christos branches: 1.2.100; 1.2.106;
merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file darwin_machdep.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2.106.1 06-Jun-2011  jruoho Sync with HEAD.
 1.2.100.1 31-May-2011  rmind sync with head
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file db_machdep.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.6 16-May-2013  christos Complete the dosparts -> mbrparts conversion. Only x86k new uses dosparts
because it also uses struct dos_partition.
 1.5 30-Aug-2011  bouyer branches: 1.5.2; 1.5.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.4 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.3 11-Dec-2005  christos branches: 1.3.78;
merge ktrace-lwp.
 1.2 12-Jun-2005  dyoung Make disklabel(8) and fdisk(8) into "host tools " last step: build
and install ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-disklabel,
${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-fdisk by "reaching over" to
the sources in ${NETBSDSRCDIR}/sbin/{disklabel fdisk}/.

To avoid clashes with a build-host's header files, especially on
*BSD, the host-tools versions of fdisk and disklabel search for
#includes such as disklabel.h, disklabel_acorn.h, disklabel_gpt.h,
and bootinfo.h in a new #includes namespace, nbinclude/. That is,
they #include <nbinclude/sys/disklabel.h>, <nbinclude/machine/disklabel.h>,
<nbinclude/sparc64/disklabel.h>, instead of <sys/disklabel.h> and
such. I have also updated the system headers to #include from
nbinclude/-space when HAVE_NBTOOL_CONFIG_H is #defined.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.5 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 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 19-Oct-2003  skrll file disklabel.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.3.78.1 11-Mar-2010  yamt sync with head
 1.5.12.1 23-Jun-2013  tls resync from head
 1.5.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.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file elf_machdep.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file endian.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file endian_machdep.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +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:21 +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:37 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file float.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file fpu.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file frame.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file ieee.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file ieeefp.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file int_const.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file int_fmtio.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file int_limits.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file int_mwgwtypes.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file int_types.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +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 13-Nov-2010  uebayasi branches: 1.14.6;
sys/device.h is not suitable for such low-level definitions.
 1.13 24-Apr-2010  kiyohara Support 64-bit imask for powerpc/pic.
 1.12 28-Apr-2008  martin branches: 1.12.20; 1.12.22;
Remove clause 3 and 4 from TNF licenses
 1.11 17-Oct-2007  garbled branches: 1.11.16; 1.11.18; 1.11.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.10 14-Jul-2007  ad branches: 1.10.8; 1.10.10; 1.10.12; 1.10.14;
Generic soft interrupts are mandatory.
 1.9 16-Feb-2007  ad branches: 1.9.6; 1.9.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.8 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.7 17-Jun-2006  rjs branches: 1.7.4; 1.7.6;
Rename IPL_IMP to IPL_VM, needed for CardBus support.
 1.6 09-May-2006  rjs branches: 1.6.2; 1.6.4;
Update with softintr, evcnt and cpu_info changes from prep.
 1.5 16-Feb-2006  perry branches: 1.5.2; 1.5.4; 1.5.6;
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.4 24-Dec-2005  perry branches: 1.4.2; 1.4.4; 1.4.6;
__asm__ -> __asm
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile
 1.3 24-Dec-2005  perry Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4; 1.1.18;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.18.5 27-Oct-2007  yamt sync with head.
 1.1.18.4 03-Sep-2007  yamt sync with head.
 1.1.18.3 26-Feb-2007  yamt sync with head.
 1.1.18.2 30-Dec-2006  yamt sync with head.
 1.1.18.1 21-Jun-2006  yamt sync with head.
 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 19-Oct-2003  skrll file intr.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.4.6.2 01-Jun-2006  kardel Sync with head.
 1.4.6.1 22-Apr-2006  simonb Sync with head.
 1.4.4.1 09-Sep-2006  rpaulo sync with head
 1.4.2.1 18-Feb-2006  yamt sync with head.
 1.5.6.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.5.4.1 11-May-2006  elad sync with head
 1.5.2.2 26-Jun-2006  yamt sync with head.
 1.5.2.1 24-May-2006  yamt sync with head.
 1.6.4.1 13-Jul-2006  gdamore Merge from HEAD.
 1.6.2.1 19-Jun-2006  chap Sync with head.
 1.7.6.2 04-Nov-2006  yamt correct type of makeiplcookie.
 1.7.6.1 04-Nov-2006  yamt implement splraiseipl/makeiplcookie.
 1.7.4.1 12-Jan-2007  ad Sync with head.
 1.9.14.3 03-Oct-2007  garbled Sync with HEAD
 1.9.14.2 08-May-2007  rjs Use shared powerpc intr.h.
 1.9.14.1 08-May-2007  rjs Switch over to new pci, isa and interrupt code.
 1.9.6.2 23-Oct-2007  ad Sync with head.
 1.9.6.1 15-Jul-2007  ad Sync with head.
 1.10.14.1 25-Oct-2007  bouyer Sync with HEAD.
 1.10.12.1 18-Oct-2007  yamt sync with head.
 1.10.10.1 06-Nov-2007  matt sync with HEAD
 1.10.8.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.20.2 11-Aug-2010  yamt sync with head.
 1.11.20.1 16-May-2008  yamt sync with head.
 1.11.18.1 18-May-2008  yamt sync with head.
 1.11.16.1 02-Jun-2008  mjf Sync with HEAD.
 1.12.22.2 05-Mar-2011  rmind sync with head
 1.12.22.1 30-May-2010  rmind sync with head
 1.12.20.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.14.6.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.3 15-Jul-2018  maxv Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos
 1.2 11-Dec-2005  christos branches: 1.2.164; 1.2.166;
merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file ipkdb.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2.166.1 10-Jun-2019  christos Sync with HEAD
 1.2.164.1 28-Jul-2018  pgoyette Sync with HEAD
 1.8 12-Dec-2021  andvar s/Miscellanous/Miscellaneous/ in copypasta comments.
 1.7 18-Oct-2016  jdolecek add isa_intr_establish_xname() to MD isa headers so that it can be used
by MI drivers
 1.6 19-Aug-2009  dyoung branches: 1.6.22; 1.6.40; 1.6.44;
isa_detach_hook() needs two arguments, the first an isa_chipset_tag_t.
 1.5 19-Aug-2009  dyoung Define isa_detach_hook().
 1.4 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.3 17-Oct-2007  garbled branches: 1.3.16; 1.3.18; 1.3.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.2 11-Dec-2005  christos branches: 1.2.30; 1.2.38; 1.2.48; 1.2.50; 1.2.52; 1.2.54;
merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4; 1.1.18;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.18.1 27-Oct-2007  yamt sync with head.
 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 19-Oct-2003  skrll file isa_machdep.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2.54.1 25-Oct-2007  bouyer Sync with HEAD.
 1.2.52.1 18-Oct-2007  yamt sync with head.
 1.2.50.1 06-Nov-2007  matt sync with HEAD
 1.2.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.2.38.1 08-May-2007  rjs Switch over to new pci, isa and interrupt code.
 1.2.30.1 23-Oct-2007  ad Sync with head.
 1.3.20.2 19-Aug-2009  yamt sync with head.
 1.3.20.1 16-May-2008  yamt sync with head.
 1.3.18.1 18-May-2008  yamt sync with head.
 1.3.16.1 02-Jun-2008  mjf Sync with HEAD.
 1.6.44.1 04-Nov-2016  pgoyette Sync with HEAD
 1.6.40.1 05-Dec-2016  skrll Sync with HEAD
 1.6.22.1 03-Dec-2017  jdolecek update from HEAD
 1.3 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.2 11-Dec-2005  christos branches: 1.2.74; 1.2.76; 1.2.78;
merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file isapnp_machdep.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2.78.1 16-May-2008  yamt sync with head.
 1.2.76.1 18-May-2008  yamt sync with head.
 1.2.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file kcore.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.4 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.3 24-Dec-2005  perry branches: 1.3.2; 1.3.4; 1.3.6;
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file kgdb.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.3.6.1 22-Apr-2006  simonb Sync with head.
 1.3.4.1 09-Sep-2006  rpaulo sync with head
 1.3.2.1 18-Feb-2006  yamt sync with head.
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file limits.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file lock.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +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:46 +0000
 1.1 29-Jul-2008  rjs branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8; 1.1.20;
Add missing file.
 1.1.20.2 04-May-2009  yamt sync with head.
 1.1.20.1 29-Jul-2008  yamt file mach_machdep.h was added on branch yamt-nfs-mp on 2009-05-04 08:11:22 +0000
 1.1.8.2 19-Oct-2008  haad Sync with HEAD.
 1.1.8.1 29-Jul-2008  haad file mach_machdep.h was added on branch haad-dm on 2008-10-19 22:15:50 +0000
 1.1.6.2 28-Sep-2008  mjf Sync with HEAD.
 1.1.6.1 29-Jul-2008  mjf file mach_machdep.h was added on branch mjf-devfs2 on 2008-09-28 10:40:01 +0000
 1.1.4.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.1.4.1 29-Jul-2008  wrstuden file mach_machdep.h was added on branch wrstuden-revivesa on 2008-09-18 04:33:28 +0000
 1.1.2.2 31-Jul-2008  simonb Sync with head.
 1.1.2.1 29-Jul-2008  simonb file mach_machdep.h was added on branch simonb-wapbl on 2008-07-31 04:51:01 +0000
 1.3 26-Apr-2011  joerg Remove Darwin, MACH and Mach-O support.
 1.2 11-Dec-2005  christos branches: 1.2.100; 1.2.106;
merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file macho_machdep.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2.106.1 06-Jun-2011  jruoho Sync with HEAD.
 1.2.100.1 31-May-2011  rmind sync with head
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file math.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file mcontext.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +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:07:07 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file openpicreg.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.3 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.2 11-Dec-2005  christos branches: 1.2.110;
merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file param.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2.110.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file pcb.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.8 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.7 13-Dec-2010  matt Change definition of pc_bus_maxdevs to get a void * instead a pci_chipset_tag_t
to match its use in pci_bus_maxdevs. This makes it the same as pci_conf_read
and pci_conf_write.
Change all struct device * to device_t.
[Obviously nothing ever used the first argument to pc_bus_maxdevs since it
could have never worked because it wasn't being passed a pci_chipset_tag_t.]
 1.6 14-Jun-2008  mjf branches: 1.6.18; 1.6.22;
Automatically detect the amount of installed RAM by reading the memory
bank registers from the PCI host bridge. Previously the RAM size was
hardcoded to 64MB.

Also fill out ibm82660reg.h with more definitions from the PowerPC to
PCI Bridge and Memory Controller User's Manual.

Many thanks to Tim Rightnour for helping with this patch.
 1.5 28-Apr-2008  martin branches: 1.5.2; 1.5.4;
Remove clause 3 and 4 from TNF licenses
 1.4 17-Oct-2007  garbled branches: 1.4.16; 1.4.18; 1.4.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.3 11-Dec-2005  christos branches: 1.3.30; 1.3.38; 1.3.48; 1.3.50; 1.3.52; 1.3.54;
merge ktrace-lwp.
 1.2 29-Jul-2004  drochner branches: 1.2.2; 1.2.14;
remove now unnecessary "pci_enumerate_bus" definitions
 1.1 19-Oct-2003  matt Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.2.14.1 27-Oct-2007  yamt sync with head.
 1.2.2.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.2.3 18-Sep-2004  skrll Sync with HEAD.
 1.2.2.2 03-Aug-2004  skrll Sync with HEAD
 1.2.2.1 29-Jul-2004  skrll file pci_machdep.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.3.54.1 25-Oct-2007  bouyer Sync with HEAD.
 1.3.52.1 18-Oct-2007  yamt sync with head.
 1.3.50.1 06-Nov-2007  matt sync with HEAD
 1.3.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.3.38.1 08-May-2007  rjs Switch over to new pci, isa and interrupt code.
 1.3.30.1 23-Oct-2007  ad Sync with head.
 1.4.20.2 04-May-2009  yamt sync with head.
 1.4.20.1 16-May-2008  yamt sync with head.
 1.4.18.2 17-Jun-2008  yamt sync with head.
 1.4.18.1 18-May-2008  yamt sync with head.
 1.4.16.2 29-Jun-2008  mjf Sync with HEAD.
 1.4.16.1 02-Jun-2008  mjf Sync with HEAD.
 1.5.4.1 18-Jun-2008  simonb Sync with head.
 1.5.2.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.6.22.1 07-Jan-2011  matt Change bus_maxdevs to be passed pc->pc_conf_v instead pc (e.g. like the
rest of the conf calls).
 1.6.18.1 05-Mar-2011  rmind sync with head
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file pio.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file pmap.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.3 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.2 11-Dec-2005  christos branches: 1.2.164; 1.2.166;
merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file pmc.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2.166.1 10-Jun-2019  christos Sync with HEAD
 1.2.164.1 28-Jul-2018  pgoyette Sync with HEAD
 1.2 01-Dec-2012  mbalmer Fix misspelling of acceptible (it's only acceptable with an 'a', not an 'i').
 1.1 19-Oct-2003  matt branches: 1.1.4; 1.1.142; 1.1.152;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.152.1 25-Feb-2013  tls resync with head
 1.1.142.1 16-Jan-2013  yamt sync with (a bit old) head
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file pnp.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.4 09-May-2006  rjs Remove __P.
 1.3 11-Dec-2005  christos branches: 1.3.4; 1.3.6; 1.3.8; 1.3.10; 1.3.12;
merge ktrace-lwp.
 1.2 23-Oct-2004  thorpej branches: 1.2.12;
Centralize the declaration of booted_device and booted_partition.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.5 02-Nov-2004  skrll Sync with HEAD.
 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 19-Oct-2003  skrll file powerpc.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2.12.1 21-Jun-2006  yamt sync with head.
 1.3.12.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.3.10.1 11-May-2006  elad sync with head
 1.3.8.1 24-May-2006  yamt sync with head.
 1.3.6.1 01-Jun-2006  kardel Sync with head.
 1.3.4.1 09-Sep-2006  rpaulo sync with head
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file proc.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file profile.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file psl.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file pte.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file ptrace.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file reg.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file reloc.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +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:07 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file setjmp.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file signal.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +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:09 +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:00 +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:54 +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:14 +0000
 1.1.2.1 10-Aug-2014  tls Rebase.
 1.3 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.2 11-Dec-2005  christos branches: 1.2.78; 1.2.92; 1.2.98;
merge ktrace-lwp.
 1.1 17-Feb-2005  briggs branches: 1.1.2; 1.1.8; 1.1.10;
Install spr.h
 1.1.10.2 29-Apr-2005  kent sync with -current
 1.1.10.1 17-Feb-2005  kent file spr.h was added on branch kent-audio2 on 2005-04-29 11:28:14 +0000
 1.1.8.2 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.1.8.1 17-Feb-2005  yamt file spr.h was added on branch yamt-km on 2005-03-19 08:33:04 +0000
 1.1.2.2 17-Feb-2005  skrll Sync with HEAD.
 1.1.2.1 17-Feb-2005  skrll file spr.h was added on branch ktrace-lwp on 2005-02-17 07:10:36 +0000
 1.2.98.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.2.92.1 24-Oct-2010  jym Sync with HEAD
 1.2.78.1 11-Mar-2010  yamt sync with head
 1.3 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.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file stdarg.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file trap.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.11 17-Jul-2011  dyoung Switch more PowerPC ports having PCI support to new-style <sys/bus.h>.
 1.10 20-Jan-2008  joerg Now that __HAVE_TIMECOUNTER and __HAVE_GENERIC_TODR are invariants,
remove the conditionals and the code associated with the undef case.
 1.9 17-Oct-2007  garbled branches: 1.9.2; 1.9.8;
Merge the ppcoea-renovation branch to HEAD.

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

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

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.8 14-Jul-2007  ad branches: 1.8.10;
Generic soft interrupts are mandatory.
 1.7 31-Oct-2006  thorpej branches: 1.7.8; 1.7.16;
In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.
 1.6 07-Sep-2006  rjs branches: 1.6.2;
Switch to MI todr. Mostly copied from prep.
 1.5 03-Sep-2006  bjh21 branches: 1.5.2;
Nothing in the kernel now tests __HAVE_NWSCONS, so stop defining it everywhere.
 1.4 11-Aug-2006  rjs Add timecounter support. Copied from prep.
 1.3 09-May-2006  rjs Enable generic soft interrupts.
 1.2 11-Dec-2005  christos branches: 1.2.4; 1.2.6; 1.2.8; 1.2.10; 1.2.12;
merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4; 1.1.18;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.18.4 21-Jan-2008  yamt sync with head
 1.1.18.3 03-Sep-2007  yamt sync with head.
 1.1.18.2 30-Dec-2006  yamt sync with head.
 1.1.18.1 21-Jun-2006  yamt sync with head.
 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 19-Oct-2003  skrll file types.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2.12.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.2.10.1 11-May-2006  elad sync with head
 1.2.8.3 14-Sep-2006  yamt sync with head.
 1.2.8.2 03-Sep-2006  yamt sync with head.
 1.2.8.1 24-May-2006  yamt sync with head.
 1.2.6.1 01-Jun-2006  kardel Sync with head.
 1.2.4.1 09-Sep-2006  rpaulo sync with head
 1.5.2.1 18-Nov-2006  ad Sync with head.
 1.6.2.1 10-Dec-2006  yamt sync with head.
 1.7.16.1 03-Oct-2007  garbled Sync with HEAD
 1.7.8.1 15-Jul-2007  ad Sync with head.
 1.8.10.2 23-Mar-2008  matt sync with HEAD
 1.8.10.1 06-Nov-2007  matt sync with HEAD
 1.9.8.1 23-Jan-2008  bouyer Sync with HEAD.
 1.9.2.1 18-Feb-2008  mjf Sync with HEAD.
 1.3 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.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file varargs.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.3 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.2 11-Dec-2005  christos branches: 1.2.110;
merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 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 19-Oct-2003  skrll file vmparam.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2.110.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:36:26 +0000

RSS XML Feed