Home | History | Annotate | only in /src/sys/arch/sandpoint/include
History log of /src/sys/arch/sandpoint/include
RevisionDateAuthorComments
 1.20 21-Dec-2015  christos Add mips fenv.h (From FreeBSD)
 1.19 23-Jul-2014  alnsn branches: 1.19.4;
Rename sljitarch.h to sljit_machdep.h.
 1.18 17-Nov-2013  alnsn branches: 1.18.2;
Enable sljit and bpfjit on powerpc.
 1.17 11-Dec-2005  christos branches: 1.17.112; 1.17.122; 1.17.128;
merge ktrace-lwp.
 1.16 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.15 19-Oct-2003  matt Remove unused header.
Don't install kernel-only headers.
 1.14 18-Jan-2003  thorpej branches: 1.14.2;
Merge the nathanw_sa branch.
 1.13 26-Nov-2002  lukem Remove KDIR=, since SYS_INCLUDE=symlinks and KDIR are not supported any more.
 1.12 06-Sep-2002  gehenna Merge the gehenna-devsw branch into the trunk.

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

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

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

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

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

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

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

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

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
 1.11 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.10 12-Apr-2002  briggs branches: 1.10.2;
Don't need to install spkr.h
 1.9 10-Jun-2001  briggs branches: 1.9.2; 1.9.8;
Adapt to new PowerPC pmap.
Use more common PowerPC code including bus_dma and unified bus_space.
 1.8 03-May-2001  soren PPC machine type tags haven't been used for a while.
 1.7 16-Apr-2001  briggs Remove extra whitespace after \.
 1.6 15-Apr-2001  kleink Add definitions of C99 integer format conversion macros.
XXX Fastest minimum-width integer types haven't been decided upon yet.
 1.5 15-Apr-2001  kleink Add definitions of C99 specified-width integer type limits.
XXX Fastest minimum-width integer types haven't been decided upon yet.
 1.4 14-Apr-2001  kleink Add definitions of C99 integer constant macros.
Tidy Makefiles up a little.
 1.3 14-Apr-2001  kleink Add definitions of C99 minimum-width and greatest-width integer types.
XXX Fastest minimum-width integer types haven't been decided upon yet.
 1.2 13-Feb-2001  briggs branches: 1.2.2;
Install int_types.h, too.
 1.1 04-Feb-2001  briggs branches: 1.1.2;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.2.4 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.3 12-Mar-2001  bouyer Sync with HEAD.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file Makefile was added on branch thorpej_scsipi on 2001-02-11 19:11:41 +0000
 1.2.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.9.8.6 11-Dec-2002  thorpej Sync with HEAD.
 1.9.8.5 17-Sep-2002  nathanw Catch up to -current.
 1.9.8.4 13-Aug-2002  nathanw Catch up to -current.
 1.9.8.3 17-Apr-2002  nathanw Catch up to -current.
 1.9.8.2 05-Nov-2001  briggs Initial SA support for ppc. Test-booted on sandpoint, macppc, & walnut.
mcontext and cpu_getmcontext()/cpu_setmcontext() from Klaus Klein
<kleink@netbsd.org>.
 1.9.8.1 10-Jun-2001  briggs file Makefile was added on branch nathanw_sa on 2001-11-05 19:46:21 +0000
 1.9.2.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.9.2.2 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.9.2.1 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.10.2.2 31-Aug-2002  gehenna catch up with -current.
 1.10.2.1 19-May-2002  gehenna Remove port-dependent conf.h.
 1.14.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.14.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.14.2.1 03-Aug-2004  skrll Sync with HEAD
 1.17.128.1 18-May-2014  rmind sync with head
 1.17.122.2 03-Dec-2017  jdolecek update from HEAD
 1.17.122.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.17.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.18.2.1 10-Aug-2014  tls Rebase.
 1.19.4.1 27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.1 04-Feb-2001  briggs branches: 1.1.2;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file ansi.h was added on branch thorpej_scsipi on 2001-02-11 19:11:42 +0000
 1.1 04-Feb-2001  briggs branches: 1.1.2;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file aout_machdep.h was added on branch thorpej_scsipi on 2001-02-11 19:11:42 +0000
 1.1 04-Feb-2001  briggs branches: 1.1.2;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file asm.h was added on branch thorpej_scsipi on 2001-02-11 19:11:43 +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:39:55 +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.1 17-Dec-2011  phx branches: 1.1.4; 1.1.6;
Added NOR flash driver, using nor(4) and flash(4).
 1.1.6.2 17-Apr-2012  yamt sync with head
 1.1.6.1 17-Dec-2011  yamt file autoconf.h was added on branch yamt-pagecache on 2012-04-17 00:06:49 +0000
 1.1.4.2 18-Feb-2012  mrg merge to -current.
 1.1.4.1 17-Dec-2011  mrg file autoconf.h was added on branch jmcneill-usbmp on 2012-02-18 07:33:02 +0000
 1.2 10-Jun-2001  briggs Adapt to new PowerPC pmap.
Use more common PowerPC code including bus_dma and unified bus_space.
 1.1 04-Feb-2001  briggs branches: 1.1.2;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file bat.h was added on branch thorpej_scsipi on 2001-02-11 19:11:43 +0000
 1.9 30-Sep-2015  phx Pass a name and flags precisely describing the current model and its
features via a new bootinfo node (currently Synology only). This allows
for example the configuration of model-specific temperature I2C sensors
and fan control.
Support for the Synology DS207 and DS209 drive LEDs and wait until the
2nd drive is completely powered up.
 1.8 11-Jan-2011  nisimura branches: 1.8.18; 1.8.34; 1.8.36;
add btinfo_modulelist for MODULAR component loading.
 1.7 20-May-2010  phx Netboot generates a BTINFO_PRODFAMILY boot-info which specifies the family
name of the board. The kernel uses this information to make a new sysctl
entry called machdep.prodfamily.
 1.6 18-May-2010  phx Recognize a network boot device by its PCI tag, even when it is not directly
attached to a PCI bus, but to a controller chip (e.g. sk(4) on skc(4)).
Extended BTINFO_NET to usa a PCI tag as well, now since it works.
 1.5 16-May-2010  phx Make netboot generate a BTINFO_NET bootinfo node for the Synology sk(4) NIC.
It will pass the MAC address, which is read from Flash ROM, into the kernel.
The kernel creates a "mac-address" device-property, which is used by sk(4),
when given, before reading the MAC from its EEPROM.
 1.4 17-Oct-2007  garbled branches: 1.4.20; 1.4.40; 1.4.42;
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 24-Mar-2004  drochner branches: 1.2.16;
remove license clauses 3 and 4 from my cpoyright notices
 1.1 04-Feb-2001  briggs branches: 1.1.2; 1.1.26;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.26.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.26.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.26.1 03-Aug-2004  skrll Sync with HEAD
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file bootinfo.h was added on branch thorpej_scsipi on 2001-02-11 19:11:44 +0000
 1.2.16.1 27-Oct-2007  yamt sync with head.
 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.2 25-May-2007  nisimura - __HAVE_DEVICE_REGISTER.
- allow bootinfo to pass cookie value to determine rootdev. It's
a PCI tag encoded value (bus:dev:func) when netboot case.
- nuke some defunct comments whose origin can be traced back to the
age of VAX bus hose plumbering.
- should re-visit when diskboot is being made.
 1.3.38.1 08-May-2007  nisimura - have (restore, indeed) bootinfo capability with some extensions.
Would bring true ELF symbol table loading, machdep HW paramters,
console designation, and rootdev selection by device_register().
Compatiblity for non bootinfo-ware loader, like DINK32, is
maintained.
- prepare to have MPC8245 buildin serial console support.
- abandon NVGA > 0 configuration.
 1.3.30.1 23-Oct-2007  ad Sync with head.
 1.4.42.2 05-Mar-2011  rmind sync with head
 1.4.42.1 30-May-2010  rmind sync with head
 1.4.40.1 17-Aug-2010  uebayasi Sync with HEAD.
 1.4.20.1 11-Aug-2010  yamt sync with head.
 1.8.36.1 27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.8.34.1 16-Jan-2016  snj Pull up following revision(s) (requested by phx in ticket #1059):
sys/arch/sandpoint/include/bootinfo.h: revision 1.9
sys/arch/sandpoint/stand/altboot/brdsetup.c: revisions 1.36, 1.37
sys/arch/sandpoint/stand/altboot/dsk.c: revision 1.18
sys/arch/sandpoint/stand/altboot/globals.h: revisions 1.20, 1.21
sys/arch/sandpoint/stand/altboot/main.c: revision 1.27
sys/arch/sandpoint/stand/altboot/siisata.c: revision 1.6
sys/arch/sandpoint/stand/altboot/version: revision 1.8
The disk's unittag is not equal to the channel, so we need an additional
unitchan entry to make lba_read() work in all cases.
The libsa-printf() does not seem to support 64-bit output, so cast the
block number to unsigned when printing an error message.
--
Pass a name and flags precisely describing the current model and its
features via a new bootinfo node (currently Synology only). This allows
for example the configuration of model-specific temperature I2C sensors
and fan control.
Support for the Synology DS207 and DS209 drive LEDs and wait until the
2nd drive is completely powered up.
--
fix a board type check logic error that affected Linkstation and Kurobox (HG).
They were mistakenly recognized kurot4 type and ended up with kernel boot
failure.
 1.8.18.1 03-Dec-2017  jdolecek update from HEAD
 1.1 04-Feb-2001  briggs branches: 1.1.2;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file bswap.h was added on branch thorpej_scsipi on 2001-02-11 19:11:44 +0000
 1.9 17-Dec-2011  phx Added NOR flash driver, using nor(4) and flash(4).
 1.8 17-Oct-2007  garbled branches: 1.8.54; 1.8.58;
Merge the ppcoea-renovation branch to HEAD.

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

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

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.7 11-Dec-2005  christos branches: 1.7.30; 1.7.38; 1.7.48; 1.7.50; 1.7.52; 1.7.54;
merge ktrace-lwp.
 1.6 28-Jul-2003  scw branches: 1.6.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.5 18-Mar-2003  matt branches: 1.5.2;
Switch/adapt to new bus space infrastructure.
 1.4 06-Mar-2003  matt Adapt to powerpc/bus.h changes.
 1.3 10-Jun-2001  briggs branches: 1.3.8;
Adapt to new PowerPC pmap.
Use more common PowerPC code including bus_dma and unified bus_space.
 1.2 07-Mar-2001  thorpej Add the BUS_DMA_STREAMING flag.
 1.1 04-Feb-2001  briggs branches: 1.1.2; 1.1.4;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.4.2 21-Jun-2001  nathanw Catch up to -current.
 1.1.4.1 09-Apr-2001  nathanw Catch up with -current.
 1.1.2.3 12-Mar-2001  bouyer Sync with HEAD.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file bus.h was added on branch thorpej_scsipi on 2001-02-11 19:11:44 +0000
 1.3.8.2 10-Jun-2001  briggs Adapt to new PowerPC pmap.
Use more common PowerPC code including bus_dma and unified bus_space.
 1.3.8.1 10-Jun-2001  briggs file bus.h was added on branch nathanw_sa on 2001-06-10 03:16:31 +0000
 1.5.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.5.2.1 03-Aug-2004  skrll Sync with HEAD
 1.6.16.1 27-Oct-2007  yamt sync with head.
 1.7.54.1 25-Oct-2007  bouyer Sync with HEAD.
 1.7.52.1 18-Oct-2007  yamt sync with head.
 1.7.50.1 06-Nov-2007  matt sync with HEAD
 1.7.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.7.38.2 23-May-2007  nisimura - pci_machdep.c tries to fixup PCI stuff by identifying the target with
some heuristics.
- have eumb device nodes for bus.h and mainbus.c and machdep.c.
 1.7.38.1 04-May-2007  nisimura NetBSD/sandpoint steps forward to ppcoea-renovation.
- __HAVE_GENERIC_SOFT_INTERRUPTS
- __HAVE_TIMEOUTER
- adapt powerpc/pic cascadable PIC dispatching scheme.
- import bus.h, intr.h and isa_machdep.h from prep.
- make openpicreg.h EPIC register locator somehow flexible.
 1.7.30.1 23-Oct-2007  ad Sync with head.
 1.8.58.1 18-Feb-2012  mrg merge to -current.
 1.8.54.1 17-Apr-2012  yamt 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.3 14-Jan-2012  phx New device nhpow(4) to support the onboard GPIO pins on a NH230/231 board for
buttons, powerdown, reset, LEDs and fan control. It attaches gpio(4) for
its 8 pins on demand.
 1.2 17-Dec-2011  phx Added NOR flash driver, using nor(4) and flash(4).
 1.1 01-Jul-2011  dyoung branches: 1.1.2; 1.1.6;
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.6.1 18-Feb-2012  mrg merge to -current.
 1.1.2.1 17-Apr-2012  yamt sync with head
 1.1 04-Feb-2001  briggs branches: 1.1.2;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file cdefs.h was added on branch thorpej_scsipi on 2001-02-11 19:11:44 +0000
 1.5 06-Sep-2002  gehenna Merge the gehenna-devsw branch into the trunk.

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

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

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

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

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

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

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

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

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
 1.4 19-Apr-2002  wiz branches: 1.4.2;
Remove unneeded cdev_decl(pms).
 1.3 27-Feb-2002  christos - define other DEV_ constants that the local port uses.
- delete cdev_decl(mm) since <sys/conf.h> does it.
 1.2 21-Mar-2001  lukem branches: 1.2.2; 1.2.8;
now that duplicated stuff has been moved to sys/conf.h, remove unnecessary
defs for: lpt, joy, pc
 1.1 04-Feb-2001  briggs branches: 1.1.2; 1.1.4;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.4.1 09-Apr-2001  nathanw Catch up with -current.
 1.1.2.3 27-Mar-2001  bouyer Sync with HEAD.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file conf.h was added on branch thorpej_scsipi on 2001-02-11 19:11:45 +0000
 1.2.8.4 17-Sep-2002  nathanw Catch up to -current.
 1.2.8.3 20-Jun-2002  nathanw Catch up to -current.
 1.2.8.2 28-Feb-2002  nathanw Catch up to -current.
 1.2.8.1 21-Mar-2001  nathanw file conf.h was added on branch nathanw_sa on 2002-02-28 04:11:32 +0000
 1.2.2.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.2.2.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.2.1 16-Mar-2002  jdolecek Catch up with -current.
 1.4.2.1 19-May-2002  gehenna Remove port-dependent conf.h.
 1.4 20-Jun-2011  matt Don't expose port-specific if _MODULE is defined.
Don't _MACHINE_CPU_H_, _<PORT>_CPU_H_
 1.3 26-Aug-2001  matt branches: 1.3.6; 1.3.160;
Make all powerpc ports use a common Makefile.powerpc (except walnut)
Enforce -Wmissing-prototypes -Wstrict-prototypes for all ppc ports.
Split out macppc cpu support and make common to mpc6xx ports. Make
other mpc6xx ports use it. Add evcnts for mpc6xx traps.
 1.2 30-May-2001  mrg branches: 1.2.2;
use _KERNEL_OPT
 1.1 04-Feb-2001  briggs branches: 1.1.2; 1.1.4;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file cpu.h was added on branch thorpej_scsipi on 2001-02-11 19:11:45 +0000
 1.2.2.1 13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.3.160.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.3.6.2 26-Aug-2001  matt Make all powerpc ports use a common Makefile.powerpc (except walnut)
Enforce -Wmissing-prototypes -Wstrict-prototypes for all ppc ports.
Split out macppc cpu support and make common to mpc6xx ports. Make
other mpc6xx ports use it. Add evcnts for mpc6xx traps.
 1.3.6.1 26-Aug-2001  matt file cpu.h was added on branch nathanw_sa on 2001-08-26 02:47:39 +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 19-Oct-2003  matt Remove unused header.
Don't install kernel-only headers.
 1.1 04-Feb-2001  briggs branches: 1.1.2; 1.1.26;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.26.1 03-Aug-2004  skrll Sync with HEAD
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file cpufunc.h was added on branch thorpej_scsipi on 2001-02-11 19:11:45 +0000
 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:49 +0000
 1.1 04-Feb-2001  briggs branches: 1.1.2;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file db_machdep.h was added on branch thorpej_scsipi on 2001-02-11 19:11:45 +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-Dec-2001  briggs 16 partitions -- agree with files.sandpoint
 1.1 04-Feb-2001  briggs branches: 1.1.2; 1.1.6; 1.1.10;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.10.1 08-Jan-2002  nathanw Catch up to -current.
 1.1.6.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file disklabel.h was added on branch thorpej_scsipi on 2001-02-11 19:11:46 +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 04-Feb-2001  briggs branches: 1.1.2;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file elf_machdep.h was added on branch thorpej_scsipi on 2001-02-11 19:11:46 +0000
 1.1 04-Feb-2001  briggs branches: 1.1.2;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file endian.h was added on branch thorpej_scsipi on 2001-02-11 19:11:46 +0000
 1.1 04-Feb-2001  briggs branches: 1.1.2;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file endian_machdep.h was added on branch thorpej_scsipi on 2001-02-11 19:11:46 +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:40 +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:41 +0000
 1.1 04-Feb-2001  briggs branches: 1.1.2;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file float.h was added on branch thorpej_scsipi on 2001-02-11 19:11:47 +0000
 1.1 04-Feb-2001  briggs branches: 1.1.2;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file fpu.h was added on branch thorpej_scsipi on 2001-02-11 19:11:47 +0000
 1.1 04-Feb-2001  briggs branches: 1.1.2;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file frame.h was added on branch thorpej_scsipi on 2001-02-11 19:11:47 +0000
 1.1 04-Feb-2001  briggs branches: 1.1.2;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file ieee.h was added on branch thorpej_scsipi on 2001-02-11 19:11:47 +0000
 1.1 04-Feb-2001  briggs branches: 1.1.2;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file ieeefp.h was added on branch thorpej_scsipi on 2001-02-11 19:11:48 +0000
 1.1 14-Apr-2001  kleink branches: 1.1.2; 1.1.4; 1.1.12;
Add definitions of C99 integer constant macros.
 1.1.12.2 14-Apr-2001  kleink Add definitions of C99 integer constant macros.
 1.1.12.1 14-Apr-2001  kleink file int_const.h was added on branch nathanw_sa on 2001-04-14 22:38:43 +0000
 1.1.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 14-Apr-2001  bouyer file int_const.h was added on branch thorpej_scsipi on 2001-04-21 17:54:35 +0000
 1.1 15-Apr-2001  kleink branches: 1.1.2; 1.1.4; 1.1.12;
Add definitions of C99 integer format conversion macros.
XXX Fastest minimum-width integer types haven't been decided upon yet.
 1.1.12.2 15-Apr-2001  kleink Add definitions of C99 integer format conversion macros.
XXX Fastest minimum-width integer types haven't been decided upon yet.
 1.1.12.1 15-Apr-2001  kleink file int_fmtio.h was added on branch nathanw_sa on 2001-04-15 17:13:17 +0000
 1.1.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 15-Apr-2001  bouyer file int_fmtio.h was added on branch thorpej_scsipi on 2001-04-21 17:54:35 +0000
 1.1 15-Apr-2001  kleink branches: 1.1.2; 1.1.4; 1.1.12;
Add definitions of C99 specified-width integer type limits.
XXX Fastest minimum-width integer types haven't been decided upon yet.
 1.1.12.2 15-Apr-2001  kleink Add definitions of C99 specified-width integer type limits.
XXX Fastest minimum-width integer types haven't been decided upon yet.
 1.1.12.1 15-Apr-2001  kleink file int_limits.h was added on branch nathanw_sa on 2001-04-15 15:29:12 +0000
 1.1.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 15-Apr-2001  bouyer file int_limits.h was added on branch thorpej_scsipi on 2001-04-21 17:54:35 +0000
 1.1 14-Apr-2001  kleink branches: 1.1.2; 1.1.4; 1.1.12;
Add definitions of C99 minimum-width and greatest-width integer types.
XXX Fastest minimum-width integer types haven't been decided upon yet.
 1.1.12.2 14-Apr-2001  kleink Add definitions of C99 minimum-width and greatest-width integer types.
XXX Fastest minimum-width integer types haven't been decided upon yet.
 1.1.12.1 14-Apr-2001  kleink file int_mwgwtypes.h was added on branch nathanw_sa on 2001-04-14 12:20:01 +0000
 1.1.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 14-Apr-2001  bouyer file int_mwgwtypes.h was added on branch thorpej_scsipi on 2001-04-21 17:54:35 +0000
 1.1 04-Feb-2001  briggs branches: 1.1.2;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file int_types.h was added on branch thorpej_scsipi on 2001-02-11 19:11:48 +0000
 1.19 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.18 13-Nov-2010  uebayasi branches: 1.18.6;
sys/device.h is not suitable for such low-level definitions.
 1.17 24-Apr-2010  kiyohara Support 64-bit imask for powerpc/pic.
 1.16 28-Apr-2008  martin branches: 1.16.20; 1.16.22;
Remove clause 3 and 4 from TNF licenses
 1.15 11-Dec-2007  nisimura branches: 1.15.8; 1.15.10; 1.15.12;
- have machine/cpu.h and sys/device.h references here.
 1.14 27-Oct-2007  nisimura branches: 1.14.4; 1.14.6; 1.14.8;
- copy intr.h from prep and make mods.
- ANSI-fy pci_machdep.c
 1.13 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.12 16-Feb-2007  ad branches: 1.12.6; 1.12.14; 1.12.22; 1.12.24; 1.12.26; 1.12.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.11 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.10 16-Feb-2006  perry branches: 1.10.14; 1.10.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.9 24-Dec-2005  perry branches: 1.9.2; 1.9.4; 1.9.6;
__asm__ -> __asm
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile
 1.8 24-Dec-2005  perry Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.7 11-Dec-2005  christos merge ktrace-lwp.
 1.6 03-Sep-2003  matt branches: 1.6.16;
Move CLKF_BASEPRI to machine specific <intr.h> file since it depends on
the encoding of the spl for the port.
 1.5 16-Jun-2003  thorpej branches: 1.5.2;
Rename IPL_IMP -> IPL_VM.
 1.4 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.3 30-Aug-2001  briggs branches: 1.3.6; 1.3.10; 1.3.14;
- Change default time frequency to 100MHz from 66MHz.
- Support the serial mode interrupts (with a kernel configuration option)
on the Sandpoint X3.
- Initialize cpu_timebase.
- Enable tulip driver.
 1.2 13-Apr-2001  thorpej branches: 1.2.2;
Remove the use of splimp() from the NetBSD kernel. splnet()
and only splnet() is allowed for the protection of data structures
used by network devices.
 1.1 04-Feb-2001  briggs branches: 1.1.2; 1.1.4;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.1.2.3 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file intr.h was added on branch thorpej_scsipi on 2001-02-11 19:11:48 +0000
 1.2.2.2 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.2.2.1 13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.3.14.1 17-Jul-2002  gehenna catch up with -current.
 1.3.10.1 17-Mar-2002  thorpej IPL_IMP -> IPL_VM
 1.3.6.2 01-Aug-2002  nathanw Catch up to -current.
 1.3.6.1 30-Aug-2001  nathanw file intr.h was added on branch nathanw_sa on 2002-08-01 02:43:16 +0000
 1.5.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.5.2.1 03-Aug-2004  skrll Sync with HEAD
 1.6.16.5 21-Jan-2008  yamt sync with head
 1.6.16.4 27-Oct-2007  yamt sync with head.
 1.6.16.3 26-Feb-2007  yamt sync with head.
 1.6.16.2 30-Dec-2006  yamt sync with head.
 1.6.16.1 21-Jun-2006  yamt sync with head.
 1.9.6.1 22-Apr-2006  simonb Sync with head.
 1.9.4.1 09-Sep-2006  rpaulo sync with head
 1.9.2.1 18-Feb-2006  yamt sync with head.
 1.10.16.2 04-Nov-2006  yamt add IPL_STATCLOCK, IPL_SCHED, IPL_LOCK.
 1.10.16.1 04-Nov-2006  yamt implement splraiseipl/makeiplcookie for sandpoint.
 1.10.14.1 12-Jan-2007  ad Sync with head.
 1.12.28.2 13-Nov-2007  bouyer Sync with HEAD
 1.12.28.1 25-Oct-2007  bouyer Sync with HEAD.
 1.12.26.1 18-Oct-2007  yamt sync with head.
 1.12.24.2 09-Jan-2008  matt sync with HEAD
 1.12.24.1 06-Nov-2007  matt sync with HEAD
 1.12.22.2 28-Oct-2007  joerg Sync with HEAD.
 1.12.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.12.14.3 08-May-2007  garbled Make powerpc/intr.h more common than it previously was. Having done
that, delete all the duplicate entries from the 4 ports that have
converted to shared pic code. Also, commit a minor change to sandpoint
that I forgot to commit earlier (delete an unused variable)
 1.12.14.2 04-May-2007  nisimura - place a comment in machdep.c to tell interrupt number scheme.
- make EPIC register locator valid both for direct and serial mode irq.
- fix a typo (?) in openpicreg.h for OPENPIC_SERIAL_MODE case.
 1.12.14.1 04-May-2007  nisimura NetBSD/sandpoint steps forward to ppcoea-renovation.
- __HAVE_GENERIC_SOFT_INTERRUPTS
- __HAVE_TIMEOUTER
- adapt powerpc/pic cascadable PIC dispatching scheme.
- import bus.h, intr.h and isa_machdep.h from prep.
- make openpicreg.h EPIC register locator somehow flexible.
 1.12.6.2 03-Dec-2007  ad Sync with HEAD.
 1.12.6.1 23-Oct-2007  ad Sync with head.
 1.14.8.1 13-Dec-2007  bouyer Sync with HEAD
 1.14.6.1 11-Dec-2007  yamt sync with head.
 1.14.4.1 26-Dec-2007  ad Sync with head.
 1.15.12.2 11-Aug-2010  yamt sync with head.
 1.15.12.1 16-May-2008  yamt sync with head.
 1.15.10.1 18-May-2008  yamt sync with head.
 1.15.8.1 02-Jun-2008  mjf Sync with HEAD.
 1.16.22.2 05-Mar-2011  rmind sync with head
 1.16.22.1 30-May-2010  rmind sync with head
 1.16.20.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.18.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 04-Feb-2001  briggs branches: 1.1.2; 1.1.38; 1.1.216;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.216.1 10-Jun-2019  christos Sync with HEAD
 1.1.38.1 28-Jul-2018  pgoyette Sync with HEAD
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file ipkdb.h was added on branch thorpej_scsipi on 2001-02-11 19:11:48 +0000
 1.10 18-Oct-2016  jdolecek add isa_intr_establish_xname() to MD isa headers so that it can be used
by MI drivers
 1.9 19-Aug-2009  dyoung branches: 1.9.22; 1.9.40; 1.9.44;
isa_detach_hook() needs two arguments, the first an isa_chipset_tag_t.
 1.8 19-Aug-2009  dyoung Define isa_detach_hook().
 1.7 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.6 17-Oct-2007  garbled branches: 1.6.16; 1.6.18; 1.6.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.5 11-Dec-2005  christos branches: 1.5.30; 1.5.38; 1.5.48; 1.5.50; 1.5.52; 1.5.54;
merge ktrace-lwp.
 1.4 07-Aug-2003  agc branches: 1.4.16;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.3 09-May-2003  fvdl branches: 1.3.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.2 10-Jun-2001  briggs branches: 1.2.8;
Adapt to new PowerPC pmap.
Use more common PowerPC code including bus_dma and unified bus_space.
 1.1 04-Feb-2001  briggs branches: 1.1.2; 1.1.4;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file isa_machdep.h was added on branch thorpej_scsipi on 2001-02-11 19:11:49 +0000
 1.2.8.2 10-Jun-2001  briggs Adapt to new PowerPC pmap.
Use more common PowerPC code including bus_dma and unified bus_space.
 1.2.8.1 10-Jun-2001  briggs file isa_machdep.h was added on branch nathanw_sa on 2001-06-10 03:16:31 +0000
 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.4.16.1 27-Oct-2007  yamt sync with head.
 1.5.54.1 25-Oct-2007  bouyer Sync with HEAD.
 1.5.52.1 18-Oct-2007  yamt sync with head.
 1.5.50.1 06-Nov-2007  matt sync with HEAD
 1.5.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.5.38.2 07-May-2007  garbled Adapt sandpoint to the changes made to the shared powerpc isa_machdep stuff.
 1.5.38.1 04-May-2007  nisimura NetBSD/sandpoint steps forward to ppcoea-renovation.
- __HAVE_GENERIC_SOFT_INTERRUPTS
- __HAVE_TIMEOUTER
- adapt powerpc/pic cascadable PIC dispatching scheme.
- import bus.h, intr.h and isa_machdep.h from prep.
- make openpicreg.h EPIC register locator somehow flexible.
 1.5.30.1 23-Oct-2007  ad Sync with head.
 1.6.20.2 19-Aug-2009  yamt sync with head.
 1.6.20.1 16-May-2008  yamt sync with head.
 1.6.18.1 18-May-2008  yamt sync with head.
 1.6.16.1 02-Jun-2008  mjf Sync with HEAD.
 1.9.44.1 04-Nov-2016  pgoyette Sync with HEAD
 1.9.40.1 05-Dec-2016  skrll Sync with HEAD
 1.9.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 04-Feb-2001  briggs branches: 1.1.2; 1.1.128; 1.1.130; 1.1.132;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.132.1 16-May-2008  yamt sync with head.
 1.1.130.1 18-May-2008  yamt sync with head.
 1.1.128.1 02-Jun-2008  mjf Sync with HEAD.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file isapnp_machdep.h was added on branch thorpej_scsipi on 2001-02-11 19:11:49 +0000
 1.1 04-Feb-2001  briggs branches: 1.1.2;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file kcore.h was added on branch thorpej_scsipi on 2001-02-11 19:11:50 +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 04-Feb-2001  briggs branches: 1.1.2;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file kgdb.h was added on branch thorpej_scsipi on 2001-02-11 19:11:50 +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 04-Feb-2001  briggs branches: 1.1.2;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file limits.h was added on branch thorpej_scsipi on 2001-02-11 19:11:51 +0000
 1.5 06-Aug-2014  joerg Consistently define WARN in a way that passes format string checks, i.e.
always uses the same number of arguments as given in the format string.
 1.4 28-Apr-2008  martin branches: 1.4.44; 1.4.60;
Remove clause 3 and 4 from TNF licenses
 1.3 25-Jan-2006  christos branches: 1.3.72; 1.3.74; 1.3.76;
free -> dealloc
unsigned -> size_t for alloc/dealloc
 1.2 31-Oct-2001  thorpej branches: 1.2.2; 1.2.34; 1.2.46;
Split elf32 vs. elf64 handling in loadfile(), including support for
each separately and explicitly. BOOT_ELF is now BOOT_ELF32 and
BOOT_ELF64, and ELFSIZE should no longer be defined in loadfile_machdep.h.
 1.1 04-Feb-2001  briggs branches: 1.1.2; 1.1.6; 1.1.8;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.8.1 12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.1.6.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file loadfile_machdep.h was added on branch thorpej_scsipi on 2001-02-11 19:11:51 +0000
 1.2.46.1 01-Feb-2006  yamt sync with head.
 1.2.34.1 21-Jun-2006  yamt sync with head.
 1.2.2.2 31-Oct-2001  thorpej Split elf32 vs. elf64 handling in loadfile(), including support for
each separately and explicitly. BOOT_ELF is now BOOT_ELF32 and
BOOT_ELF64, and ELFSIZE should no longer be defined in loadfile_machdep.h.
 1.2.2.1 31-Oct-2001  thorpej file loadfile_machdep.h was added on branch nathanw_sa on 2001-10-31 17:20:49 +0000
 1.3.76.1 16-May-2008  yamt sync with head.
 1.3.74.1 18-May-2008  yamt sync with head.
 1.3.72.1 02-Jun-2008  mjf Sync with HEAD.
 1.4.60.1 10-Aug-2014  tls Rebase.
 1.4.44.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1 04-Feb-2001  briggs branches: 1.1.2;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file lock.h was added on branch thorpej_scsipi on 2001-02-11 19:11:51 +0000
 1.1 30-Nov-2024  christos branches: 1.1.4;
Create a new header lwp_private.h to contain _lwp_getprivate_fast,
_lwp_gettcb_fast, _lwp_settcb and remove them from mcontext.h, so that:
1. we don't need special hacks to hide them
2. we can include <lwp.h> where needed to get the necessary prototypes
without redefining them locally.
 1.1.4.2 02-Aug-2025  perseant Sync with HEAD
 1.1.4.1 30-Nov-2024  perseant file lwp_private.h was added on branch perseant-exfatfs on 2025-08-02 05:56:06 +0000
 1.2 03-May-2001  soren PPC machine type tags haven't been used for a while.
 1.1 04-Feb-2001  briggs branches: 1.1.2;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file machine_type.h was added on branch thorpej_scsipi on 2001-02-11 19:11:52 +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:03:09 +0000
 1.1 04-Feb-2001  briggs branches: 1.1.2;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file math.h was added on branch thorpej_scsipi on 2001-02-11 19:11:52 +0000
 1.2 18-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.1 05-Nov-2001  briggs branches: 1.1.2;
file mcontext.h was initially added on branch nathanw_sa.
 1.1.2.1 05-Nov-2001  briggs Initial SA support for ppc. Test-booted on sandpoint, macppc, & walnut.
mcontext and cpu_getmcontext()/cpu_setmcontext() from Klaus Klein
<kleink@netbsd.org>.
 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.2 28-Jan-2007  ad powerpc changes.
 1.1.2.1 22-Dec-2006  ad Pull in CPU specific stubs.
 1.2.4.2 26-Feb-2007  yamt sync with head.
 1.2.4.1 09-Feb-2007  yamt file mutex.h was added on branch yamt-lazymbuf on 2007-02-26 09:08:00 +0000
 1.5 19-Aug-2009  nisimura - use options PIC_MPCSOC to replace PIC_OPENPIC.
 1.4 17-Oct-2007  garbled branches: 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 30-Aug-2001  briggs branches: 1.3.6; 1.3.38; 1.3.80; 1.3.88; 1.3.98; 1.3.100; 1.3.102; 1.3.104;
- Change default time frequency to 100MHz from 66MHz.
- Support the serial mode interrupts (with a kernel configuration option)
on the Sandpoint X3.
- Initialize cpu_timebase.
- Enable tulip driver.
 1.2 05-Feb-2001  briggs branches: 1.2.2; 1.2.6;
Tsubai has convinced me that openpic_init() should remain machine-dependant
as the details might differ between archs, and passing the various options
leads to some clutter.
 1.1 04-Feb-2001  briggs Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.2.6.1 13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.2.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.2.2.1 05-Feb-2001  bouyer file openpicreg.h was added on branch thorpej_scsipi on 2001-02-11 19:11:53 +0000
 1.3.104.1 25-Oct-2007  bouyer Sync with HEAD.
 1.3.102.1 18-Oct-2007  yamt sync with head.
 1.3.100.1 06-Nov-2007  matt sync with HEAD
 1.3.98.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.88.3 04-May-2007  nisimura - make machine/openpicreg.h free from brd specific IRQ assignment.
Need to invent the concise way to specify brd definitions.
- compensate the change above by adding lines to pci/pci_machdep.c
- intr_establish() needs +16 offset to register PCI interrupts.
 1.3.88.2 04-May-2007  nisimura - place a comment in machdep.c to tell interrupt number scheme.
- make EPIC register locator valid both for direct and serial mode irq.
- fix a typo (?) in openpicreg.h for OPENPIC_SERIAL_MODE case.
 1.3.88.1 04-May-2007  nisimura NetBSD/sandpoint steps forward to ppcoea-renovation.
- __HAVE_GENERIC_SOFT_INTERRUPTS
- __HAVE_TIMEOUTER
- adapt powerpc/pic cascadable PIC dispatching scheme.
- import bus.h, intr.h and isa_machdep.h from prep.
- make openpicreg.h EPIC register locator somehow flexible.
 1.3.80.1 23-Oct-2007  ad Sync with head.
 1.3.38.1 27-Oct-2007  yamt sync with head.
 1.3.6.2 30-Aug-2001  briggs - Change default time frequency to 100MHz from 66MHz.
- Support the serial mode interrupts (with a kernel configuration option)
on the Sandpoint X3.
- Initialize cpu_timebase.
- Enable tulip driver.
 1.3.6.1 30-Aug-2001  briggs file openpicreg.h was added on branch nathanw_sa on 2001-08-30 02:08:44 +0000
 1.4.20.1 19-Aug-2009  yamt sync with head.
 1.5 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.4 21-Jun-2001  briggs branches: 1.4.8; 1.4.162;
Build with and without option NEWPMAP.
 1.3 10-Jun-2001  briggs Adapt to new PowerPC pmap.
Use more common PowerPC code including bus_dma and unified bus_space.
 1.2 30-May-2001  mrg use _KERNEL_OPT
 1.1 04-Feb-2001  briggs branches: 1.1.2; 1.1.4;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file param.h was added on branch thorpej_scsipi on 2001-02-11 19:11:53 +0000
 1.4.162.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.4.8.2 21-Jun-2001  briggs Build with and without option NEWPMAP.
 1.4.8.1 21-Jun-2001  briggs file param.h was added on branch nathanw_sa on 2001-06-21 16:30:06 +0000
 1.1 04-Feb-2001  briggs branches: 1.1.2;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file pcb.h was added on branch thorpej_scsipi on 2001-02-11 19:11:54 +0000
 1.10 19-Oct-2016  nonaka Added MSI/MSI-X and interrupt_distribute(9) support for powerpc.
 1.9 29-Mar-2014  christos branches: 1.9.6; 1.9.10;
make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.
 1.8 18-Jun-2011  matt branches: 1.8.2; 1.8.12; 1.8.16;
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.7 04-Apr-2011  dyoung branches: 1.7.2;
Neither pci_dma64_available(), pci_probe_device(), pci_mapreg_map(9),
pci_find_rom(), pci_intr_map(9), pci_enumerate_bus(), nor the match
predicate passed to pciide_compat_intr_establish() should ever modify
their pci_attach_args argument, so make their pci_attach_args arguments
const and deal with the fallout throughout the kernel.

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

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

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

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

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

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

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

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

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

### evbmips-el GDIUM

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

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

### ia64 GENERIC

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

### sgimips GENERIC32_IP3x

crmfb.o: In function `crmfb_attach':
crmfb.c:(.text+0x2304): undefined reference to `ddc_read_edid'
crmfb.c:(.text+0x2304): relocation truncated to fit: R_MIPS_26 against `ddc_read_edid'
crmfb.c:(.text+0x234c): undefined reference to `edid_parse'
crmfb.c:(.text+0x234c): relocation truncated to fit: R_MIPS_26 against `edid_parse'
crmfb.c:(.text+0x2354): undefined reference to `edid_print'
crmfb.c:(.text+0x2354): relocation truncated to fit: R_MIPS_26 against `edid_print'
 1.6 17-Oct-2007  garbled branches: 1.6.42; 1.6.48;
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.5 11-Dec-2005  christos branches: 1.5.30; 1.5.38; 1.5.48; 1.5.50; 1.5.52; 1.5.54;
merge ktrace-lwp.
 1.4 29-Jul-2004  drochner branches: 1.4.12;
remove now unnecessary "pci_enumerate_bus" definitions
 1.3 15-May-2002  thorpej branches: 1.3.10;
Let machine-dependent code specify how to enumerate the bus.
Currently, everyone uses pci_enumerate_bus_generic().
 1.2 10-Jun-2001  briggs branches: 1.2.2; 1.2.8;
Adapt to new PowerPC pmap.
Use more common PowerPC code including bus_dma and unified bus_space.
 1.1 04-Feb-2001  briggs branches: 1.1.2; 1.1.4;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file pci_machdep.h was added on branch thorpej_scsipi on 2001-02-11 19:11:55 +0000
 1.2.8.2 20-Jun-2002  nathanw Catch up to -current.
 1.2.8.1 10-Jun-2001  nathanw file pci_machdep.h was added on branch nathanw_sa on 2002-06-20 03:40:44 +0000
 1.2.2.1 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.3.10.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.10.2 18-Sep-2004  skrll Sync with HEAD.
 1.3.10.1 03-Aug-2004  skrll Sync with HEAD
 1.4.12.1 27-Oct-2007  yamt sync with head.
 1.5.54.1 25-Oct-2007  bouyer Sync with HEAD.
 1.5.52.1 18-Oct-2007  yamt sync with head.
 1.5.50.1 06-Nov-2007  matt sync with HEAD
 1.5.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.5.38.1 11-Jun-2007  nisimura - __HAVE_PCIIDE_MACHDEP_COMPAT_INTR_ESTABLISH.
- add pciide_machdep.c for compatibility mode IDE controller.
 1.5.30.1 23-Oct-2007  ad Sync with head.
 1.6.48.1 06-Jun-2011  jruoho Sync with HEAD.
 1.6.42.1 21-Apr-2011  rmind sync with head
 1.7.2.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.8.16.1 18-May-2014  rmind sync with head
 1.8.12.2 03-Dec-2017  jdolecek update from HEAD
 1.8.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 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.9.10.1 04-Nov-2016  pgoyette Sync with HEAD
 1.9.6.1 05-Dec-2016  skrll Sync with HEAD
 1.2 05-Feb-2001  briggs branches: 1.2.2;
Share a single pio.h instead of having 4 nearly-identical copies.
 1.1 04-Feb-2001  briggs Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.2.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.2.2.1 05-Feb-2001  bouyer file pio.h was added on branch thorpej_scsipi on 2001-02-11 19:11:55 +0000
 1.7 14-Feb-2008  he Don't include <powerpc/oea/pmap.h>, use <powerpc/pmap.h> instead.
Discussed with garbled@, fixes build problem for LKMs.
 1.6 03-Feb-2003  matt branches: 1.6.18; 1.6.80; 1.6.86;
Rename PPC_MPC6XX to PPC_OEA (and any mpc6xx reference to oea).
 1.5 03-Feb-2003  matt More cleanup for OLDPMAP.
 1.4 09-Mar-2002  chs switch all mpc6xx powerpc ports to NEWPMAP by default.
the old pmap is still available with the OLDPMAP option.
 1.3 21-Jun-2001  briggs branches: 1.3.2; 1.3.8;
Build with and without option NEWPMAP.
 1.2 10-Jun-2001  briggs Adapt to new PowerPC pmap.
Use more common PowerPC code including bus_dma and unified bus_space.
 1.1 04-Feb-2001  briggs branches: 1.1.2; 1.1.4;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file pmap.h was added on branch thorpej_scsipi on 2001-02-11 19:11:55 +0000
 1.3.8.2 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.3.8.1 21-Jun-2001  nathanw file pmap.h was added on branch nathanw_sa on 2002-04-01 07:42:15 +0000
 1.3.2.1 16-Mar-2002  jdolecek Catch up with -current.
 1.6.86.1 18-Feb-2008  mjf Sync with HEAD.
 1.6.80.1 23-Mar-2008  matt sync with HEAD
 1.6.18.1 27-Feb-2008  yamt sync with head.
 1.2 12-Jul-2018  maxv Remove the kernel PMC code. Sent yesterday on tech-kern@.

This change:

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

* Removes the PMC code of ARM XSCALE.

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

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

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

* Removes the pmc_evid_t and pmc_ctr_t types.

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

pmc(9) is meant to be a general interface. Initially, the Intel XScale
counters are the only ones supported.
 1.1.204.1 10-Jun-2019  christos Sync with HEAD
 1.1.202.1 28-Jul-2018  pgoyette Sync with HEAD
 1.1.6.2 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.1.6.1 07-Aug-2002  jdolecek file pmc.h was added on branch kqueue on 2002-09-06 08:39:39 +0000
 1.1.4.2 31-Aug-2002  gehenna catch up with -current.
 1.1.4.1 07-Aug-2002  gehenna file pmc.h was added on branch gehenna-devsw on 2002-08-31 13:45:51 +0000
 1.1.2.2 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:48 +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 04-Feb-2001  briggs branches: 1.1.2; 1.1.26;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.26.1 02-Nov-2004  skrll Sync with HEAD.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file powerpc.h was added on branch thorpej_scsipi on 2001-02-11 19:11:56 +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 04-Feb-2001  briggs branches: 1.1.2;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file proc.h was added on branch thorpej_scsipi on 2001-02-11 19:11:56 +0000
 1.1 04-Feb-2001  briggs branches: 1.1.2;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file profile.h was added on branch thorpej_scsipi on 2001-02-11 19:11:56 +0000
 1.1 04-Feb-2001  briggs branches: 1.1.2;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file psl.h was added on branch thorpej_scsipi on 2001-02-11 19:11:57 +0000
 1.3 21-Jun-2001  briggs branches: 1.3.8;
Bring back pte.h for non-NEWPMAP builds.
 1.2 10-Jun-2001  briggs Adapt to new PowerPC pmap.
Use more common PowerPC code including bus_dma and unified bus_space.
 1.1 04-Feb-2001  briggs branches: 1.1.2;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file pte.h was added on branch thorpej_scsipi on 2001-02-11 19:11:57 +0000
 1.3.8.2 21-Jun-2001  briggs Bring back pte.h for non-NEWPMAP builds.
 1.3.8.1 21-Jun-2001  briggs file pte.h was added on branch nathanw_sa on 2001-06-21 16:28:52 +0000
 1.1 04-Feb-2001  briggs branches: 1.1.2;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file ptrace.h was added on branch thorpej_scsipi on 2001-02-11 19:11:57 +0000
 1.1 04-Feb-2001  briggs branches: 1.1.2;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file reg.h was added on branch thorpej_scsipi on 2001-02-11 19:11:57 +0000
 1.1 04-Feb-2001  briggs branches: 1.1.2;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file reloc.h was added on branch thorpej_scsipi on 2001-02-11 19:11:58 +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 04-Feb-2001  briggs branches: 1.1.2;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file rnd.h was added on branch thorpej_scsipi on 2001-02-11 19:11:58 +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.2 28-Jan-2007  ad powerpc changes.
 1.1.2.1 22-Dec-2006  ad Pull in CPU specific stubs.
 1.2.4.2 26-Feb-2007  yamt sync with head.
 1.2.4.1 09-Feb-2007  yamt file rwlock.h was added on branch yamt-lazymbuf on 2007-02-26 09:08:00 +0000
 1.1 04-Feb-2001  briggs branches: 1.1.2;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file setjmp.h was added on branch thorpej_scsipi on 2001-02-11 19:11:58 +0000
 1.1 04-Feb-2001  briggs branches: 1.1.2;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file signal.h was added on branch thorpej_scsipi on 2001-02-11 19:11:58 +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:21 +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:06 +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:40:06 +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:23 +0000
 1.1.2.1 10-Aug-2014  tls Rebase.
 1.1 04-Feb-2001  briggs branches: 1.1.2;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file spkr.h was added on branch thorpej_scsipi on 2001-02-11 19:11:59 +0000
 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:37 +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 04-Feb-2001  briggs branches: 1.1.2;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file stdarg.h was added on branch thorpej_scsipi on 2001-02-11 19:11:59 +0000
 1.1 04-Feb-2001  briggs branches: 1.1.2;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file trap.h was added on branch thorpej_scsipi on 2001-02-11 19:11:59 +0000
 1.10 15-Apr-2021  rin sandpoint has its own module_init_md(). So, do not compile in
that function in powerpc_machdep.c.
 1.9 01-Apr-2021  simonb Whitespace: #define<tab>
 1.8 17-Jul-2011  dyoung branches: 1.8.66; 1.8.68;
Switch more PowerPC ports having PCI support to new-style <sys/bus.h>.
 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 15-Sep-2006  gdamore branches: 1.4.10; 1.4.18; 1.4.28; 1.4.30; 1.4.32; 1.4.34;
Convert sandpoint to GENERIC todr, including breaking of the clock handling
out into its own driver. (NB: mcclock should really, really be an MI driver
to avoid this kind of pasteware, but it is "nontrivial" to cope with the
fact that some machines have different ideas of mcclock.)
 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 28-Feb-2002  simonb branches: 1.2.32; 1.2.46; 1.2.50;
Use "#define<tab>".
 1.1 04-Feb-2001  briggs branches: 1.1.2; 1.1.6; 1.1.10;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.10.1 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.1.6.1 16-Mar-2002  jdolecek Catch up with -current.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file types.h was added on branch thorpej_scsipi on 2001-02-11 19:11:59 +0000
 1.2.50.1 14-Sep-2006  yamt sync with head.
 1.2.46.1 09-Sep-2006  rpaulo sync with head
 1.2.32.3 21-Jan-2008  yamt sync with head
 1.2.32.2 27-Oct-2007  yamt sync with head.
 1.2.32.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.2 25-May-2007  nisimura - __HAVE_DEVICE_REGISTER.
- allow bootinfo to pass cookie value to determine rootdev. It's
a PCI tag encoded value (bus:dev:func) when netboot case.
- nuke some defunct comments whose origin can be traced back to the
age of VAX bus hose plumbering.
- should re-visit when diskboot is being made.
 1.4.18.1 04-May-2007  nisimura NetBSD/sandpoint steps forward to ppcoea-renovation.
- __HAVE_GENERIC_SOFT_INTERRUPTS
- __HAVE_TIMEOUTER
- adapt powerpc/pic cascadable PIC dispatching scheme.
- import bus.h, intr.h and isa_machdep.h from prep.
- make openpicreg.h EPIC register locator somehow flexible.
 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.2 17-Apr-2021  thorpej 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 04-Feb-2001  briggs branches: 1.1.2;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file varargs.h was added on branch thorpej_scsipi on 2001-02-11 19:12:00 +0000
 1.12 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.11 03-Feb-2003  matt branches: 1.11.140;
Rename PPC_MPC6XX to PPC_OEA (and any mpc6xx reference to oea).
 1.10 02-Feb-2003  matt Remove OLDPMAP support.
 1.9 10-Dec-2002  thorpej Use __LDPGSZ (which must be == USRTEXT) as the text address for a.out
executables, and eliminate the USRTEXT constant, which was only used
by the a.out exec code.
 1.8 09-Mar-2002  chs switch all mpc6xx powerpc ports to NEWPMAP by default.
the old pmap is still available with the OLDPMAP option.
 1.7 15-Nov-2001  soren MAXSLP is defined to be a machine-independent scheduling parameter,
so move it into sys/param.h.
 1.6 21-Jun-2001  briggs branches: 1.6.2; 1.6.8;
Build with and without option NEWPMAP.
 1.5 10-Jun-2001  briggs Adapt to new PowerPC pmap.
Use more common PowerPC code including bus_dma and unified bus_space.
 1.4 01-May-2001  thorpej Per discussion w/ chuck and chuck, restructure the md page stuff
to use a structure called "vm_page_md", and use __HAVE_VM_PAGE_MD
and __HAVE_PMAP_PHYSSEG.
 1.3 29-Apr-2001  thorpej Add a VM_MDPAGE_MEMBERS macro that defines pmap-specific data for
each vm_page structure. Add a VM_MDPAGE_INIT() macro to init this
data when pages are initialized by UVM. These macros are mandatory,
but ports may #define them to nothing if they are not needed/used.

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

Use all this stuff to eliminate a lot of extra work in the Alpha
pmap module (it's smaller and faster now). Changes to other pmap
modules will follow.
 1.2 06-Mar-2001  briggs Update the defaults of MAXTSIZ, DFLDSIZ, MAXDSIZ, DFLSSIZ to those used
in macppc.
 1.1 04-Feb-2001  briggs branches: 1.1.2; 1.1.4;
Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module. See the README for more information.
 1.1.4.2 21-Jun-2001  nathanw Catch up to -current.
 1.1.4.1 09-Apr-2001  nathanw Catch up with -current.
 1.1.2.3 12-Mar-2001  bouyer Sync with HEAD.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 04-Feb-2001  bouyer file vmparam.h was added on branch thorpej_scsipi on 2001-02-11 19:12:00 +0000
 1.6.8.4 11-Dec-2002  thorpej Sync with HEAD.
 1.6.8.3 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.6.8.2 08-Jan-2002  nathanw Catch up to -current.
 1.6.8.1 21-Jun-2001  nathanw file vmparam.h was added on branch nathanw_sa on 2002-01-08 00:27:23 +0000
 1.6.2.2 16-Mar-2002  jdolecek Catch up with -current.
 1.6.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.11.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:39:55 +0000

RSS XML Feed