Home | History | Annotate | Download | only in pmppc
History log of /src/sys/arch/evbppc/pmppc/machdep.c
RevisionDateAuthorComments
 1.16  05-Mar-2024  thorpej Move the at-shutdown call to resettodr() from cpu_reboot() to kern_reboot().

It's a small step, but it's a step.
 1.15  20-Dec-2023  thorpej Remove unnecessary <sys/malloc.h>.
 1.14  15-Jul-2018  maxv Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos
 1.13  22-Dec-2016  cherry branches: 1.13.14; 1.13.16;
switch all ports to use uvm_init.c:uvm_md_init()

uvm_setpagesize() is now subsumed within this funciton.
 1.12  01-Mar-2013  joerg branches: 1.12.14; 1.12.18;
Retire OSI network stack. OK core@
 1.11  20-Jun-2011  matt branches: 1.11.2; 1.11.12;
Cleanup includes. (<net/netisr.h> is handled by softints, not MD anymore,
so this can be nuked).
 1.10  20-Dec-2010  matt branches: 1.10.6;
Move counting of faults, traps, intrs, soft[intr]s, syscalls, and nswtch
from uvmexp to per-cpu cpu_data and move them to 64bits. Remove unneeded
includes of <uvm/uvm_extern.h> and/or <uvm/uvm.h>.
 1.9  11-Dec-2010  matt Don't init cpu_initclocks too early since that results in decrementer
exceptions before the exceptions have been setup.
 1.8  21-Nov-2009  rmind branches: 1.8.4;
Use lwp_getpcb() on mips, powerpc and sh3, clean from struct user usage.
 1.7  18-Mar-2009  cegger Ansify function definitions w/o arguments. Generated with sed.
 1.6  30-Nov-2008  martin branches: 1.6.4;
As discussed on tech-kern: mutex_init is too heavyweight for early bootstrap
phases, so move the initialization of the ksyms mutex back into main via
a function called ksyms_init. Rename the existing (but quite different)
ksyms_init* variations into ksyms_addsyms_elf() and ksyms_addsyms_explicit()
and adapt machdep code accordingly.
 1.5  12-Nov-2008  ad Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.4  11-Nov-2008  dyoung It is not appropriate to call pmf_system_shutdown(9) from
doshutdownhooks(9): shutdown hooks registered by shutdownhook_establish(9)
expect to be called with interrupts disabled, but shutdown hooks
registered with pmf_device_register1(9) expect to be called with
interrupts enabled. So I have made two changes:

1 Do not call pmf_system_shutdown() from doshutdownhooks(). Instead,
change every call to doshutdownhooks() to a call to doshutdownhooks()
followed by a call to pmf_system_shutdown(). No functional change
is intended by this change.

2 Make i386 re-enable interrupts briefly while it calls
pmf_system_shutdown(). I leave it to others either to fix the
other ports, or to factor out some MI shutdown code, as joerg@
suggests, and fix that. Note that a functional change *is* intended
by this change.

I hope that this patch will stop us from flip-flopping between
calling doshutdownhooks() and pmf_system_shutdown() sometimes with
and sometimes without interrupts enabled.
 1.3  28-Apr-2008  martin branches: 1.3.6; 1.3.8; 1.3.18;
Remove clause 3 and 4 from TNF licenses
 1.2  17-Oct-2007  garbled branches: 1.2.2; 1.2.4; 1.2.8; 1.2.22; 1.2.24; 1.2.26;
Merge the ppcoea-renovation branch to HEAD.

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

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

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.1  08-May-2007  garbled branches: 1.1.2; 1.1.6; 1.1.8;
file machdep.c was initially added on branch ppcoea-renovation.
 1.1.8.1  18-Oct-2007  yamt sync with head.
 1.1.6.1  02-Nov-2007  joerg More diff reduce to HEAD due to botched up merging.
 1.1.2.4  16-Oct-2007  garbled if 0 out a rather strange looking initialization of struct cpu_info to
make PMPPC compile again.
 1.1.2.3  10-May-2007  garbled HAVE_GENERIC_SOFTINTRS is no longer optional. Delete ifndef'd code from
oea_machdep.c, and move softintr__init() to oea_startup(). Remove
softintr__init from every port's cpu_startup().
 1.1.2.2  10-May-2007  garbled More cleanup:
1) Remove lcsplx, strayintr, and foosoft from all the converted ports.
None of this stuff is needed anymore.
2) because lcsplx is just "return spllower", just call spllower from
locore_subr.S instead.
3) Every port (except macppc) had a pretty similar cpu_configure(), so
take the common parts out and make a genppc_cpu_configure() in an attempt
to stop using imask[] outside of intr.c
 1.1.2.1  08-May-2007  garbled Move pmppc over to evbppc. (previous location sys/arch/pmppc)
 1.2.26.3  11-Mar-2010  yamt sync with head
 1.2.26.2  04-May-2009  yamt sync with head.
 1.2.26.1  16-May-2008  yamt sync with head.
 1.2.24.1  18-May-2008  yamt sync with head.
 1.2.22.2  17-Jan-2009  mjf Sync with HEAD.
 1.2.22.1  02-Jun-2008  mjf Sync with HEAD.
 1.2.8.2  06-Nov-2007  matt sync with HEAD
 1.2.8.1  17-Oct-2007  matt file machdep.c was added on branch matt-armv6 on 2007-11-06 23:16:19 +0000
 1.2.4.2  27-Oct-2007  yamt sync with head.
 1.2.4.1  17-Oct-2007  yamt file machdep.c was added on branch yamt-lazymbuf on 2007-10-27 11:25:57 +0000
 1.2.2.2  23-Oct-2007  ad Sync with head.
 1.2.2.1  17-Oct-2007  ad file machdep.c was added on branch vmlocking on 2007-10-23 20:35:46 +0000
 1.3.18.2  18-Feb-2011  matt Add a call to cpu_model_init() after bss is cleared.
 1.3.18.1  07-Jan-2011  matt cpu_initclocks should not be done this early.
 1.3.8.2  28-Apr-2009  skrll Sync with HEAD.
 1.3.8.1  19-Jan-2009  skrll Sync with HEAD.
 1.3.6.1  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.6.4.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.8.4.1  05-Mar-2011  rmind sync with head
 1.10.6.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.11.12.2  03-Dec-2017  jdolecek update from HEAD
 1.11.12.1  23-Jun-2013  tls resync from head
 1.11.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.12.18.1  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.12.14.1  05-Feb-2017  skrll Sync with HEAD
 1.13.16.1  10-Jun-2019  christos Sync with HEAD
 1.13.14.1  28-Jul-2018  pgoyette Sync with HEAD

RSS XML Feed