Home | History | Annotate | Download | only in ev64260
History log of /src/sys/arch/evbppc/ev64260/machdep.c
RevisionDateAuthorComments
 1.35  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.34  04-Mar-2021  thorpej Don't forget to 0-terminate the BAT mapping list passed to oea_batinit()!
 1.33  15-Jul-2018  maxv branches: 1.33.12;
Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos
 1.32  22-Dec-2016  cherry branches: 1.32.14; 1.32.16;
switch all ports to use uvm_init.c:uvm_md_init()

uvm_setpagesize() is now subsumed within this funciton.
 1.31  25-Feb-2014  martin branches: 1.31.6; 1.31.10;
Remove an unused variable
 1.30  01-Mar-2013  joerg branches: 1.30.6;
Retire OSI network stack. OK core@
 1.29  20-Jun-2011  matt branches: 1.29.2; 1.29.12;
Cleanup includes. (<net/netisr.h> is handled by softints, not MD anymore,
so this can be nuked).
 1.28  20-Dec-2010  matt branches: 1.28.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.27  28-Apr-2010  kiyohara Clean up gt and peripherals.
This change tested compile only.
 1.26  26-Nov-2009  matt branches: 1.26.2; 1.26.4;
Kill proc0paddr. Use lwp0.l_addr instead.
 1.25  14-Mar-2009  dsl ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
 1.24  13-Feb-2009  apb Use "defopt MODULAR" in sys/conf/files, and #include "opt_modular.h"
in all kernel sources that use the MODULAR option.
Proposed in tech-kern on 18 Jan 2009.
 1.23  30-Nov-2008  martin branches: 1.23.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.22  12-Nov-2008  ad Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.21  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.20  17-Oct-2007  garbled branches: 1.20.16; 1.20.20; 1.20.26; 1.20.28;
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.19  24-Dec-2005  perry branches: 1.19.30; 1.19.38; 1.19.48; 1.19.50; 1.19.52; 1.19.54;
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.18  11-Dec-2005  christos merge ktrace-lwp.
 1.17  03-Jun-2005  scw branches: 1.17.2;
Appease -Wshadow
 1.16  13-Mar-2004  matt Fix some gcc3 uninitialized variables.
 1.15  14-Feb-2004  bjh21 Add a new MI attribute, pckbc_machdep_cnattach, and change pckbc_cnattach()
to only call pckbc_machdep_cnattach() if this is present. This allows
pckbc_machdep_cnattach() to be omitted entirely on most ports, where it only
returns ENXIO anyway.

The devices with this attribute at the moment are pc(4) on i386 and bebox, and
pckbc on sparc, where pckbc_machdep_cnattach() mysteriously returns 0 rather
than ENXIO.
 1.14  09-Feb-2004  bjh21 Remove pcconskbd(4) support code since this port doesn't have pcconskbd(4)
and the code was conditional on a macro that was never defined anyway.
 1.13  15-Jul-2003  lukem __KERNEL_RCSID()
 1.12  14-Jun-2003  thorpej branches: 1.12.2;
Also pass a type argument to comcnattach() and com_kgdb_attach().
comspeed() (and thus cominit()) may need this information.
 1.11  26-Apr-2003  ragge Call ksyms_init() instead of ddb_init() in case of
NKSYMS || defined(DDB) || defined(LKM)
 1.10  02-Apr-2003  thorpej Use PAGE_SIZE rather than NBPG.
 1.9  27-Mar-2003  matt Add options to allow overriding of PCI0 & PCI1 MEM and I/O start and sizes.
 1.8  24-Mar-2003  matt Make PCI interrupts -> GPP mapping configured via config file.
Add bus_spaces for all possile obios. Add gt_halt to make
sure the discovery is not doing dma as soon as possible.
Read the SDRAM register to figure out how much physical RAM
is available.
 1.7  18-Mar-2003  matt Enable iobats for the PCI memory space(s).
 1.6  18-Mar-2003  matt Switch to gtmpsccnattach. Fix a few bugs in bus_space initialization.
 1.5  17-Mar-2003  matt remove "kludge" com console.
Simplify timebase initialization.
 1.4  16-Mar-2003  matt EV64260 now gets to single user prompt using COM1 (2nd uart) as console
with PPCBOOT as firmware. XXX PCI devices are not found.
 1.3  07-Mar-2003  matt Remove some constant (use value in bus_space_tags).
 1.2  06-Mar-2003  matt Relocate Discovery first thing in initppc (if not at expected address).
This implies that if PMON tells us where the GT is, we write that address
in gtbase.
 1.1  05-Mar-2003  matt Add preliminary support Marvell (Galileo) Discovery System Controllers.
This code was contributed by Allegro Networks.
 1.12.2.4  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.12.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.12.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.12.2.1  03-Aug-2004  skrll Sync with HEAD
 1.17.2.2  27-Oct-2007  yamt sync with head.
 1.17.2.1  21-Jun-2006  yamt sync with head.
 1.19.54.1  25-Oct-2007  bouyer Sync with HEAD.
 1.19.52.1  18-Oct-2007  yamt sync with head.
 1.19.50.1  06-Nov-2007  matt sync with HEAD
 1.19.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.19.38.2  17-Oct-2007  garbled Back out most of the PIC rennovation on ev64260, it was not completed,
and can be completed post-merge. With these changes, ev64260 compiles
again on the branch. Untested.
 1.19.38.1  22-May-2007  matt WIP. Adapt ev64260 to the new pic code.
 1.19.30.1  23-Oct-2007  ad Sync with head.
 1.20.28.3  28-Apr-2009  skrll Sync with HEAD.
 1.20.28.2  03-Mar-2009  skrll Sync with HEAD.
 1.20.28.1  19-Jan-2009  skrll Sync with HEAD.
 1.20.26.1  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.20.20.3  11-Aug-2010  yamt sync with head.
 1.20.20.2  11-Mar-2010  yamt sync with head
 1.20.20.1  04-May-2009  yamt sync with head.
 1.20.16.1  17-Jan-2009  mjf Sync with HEAD.
 1.23.4.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.26.4.2  05-Mar-2011  rmind sync with head
 1.26.4.1  30-May-2010  rmind sync with head
 1.26.2.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.28.6.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.29.12.3  03-Dec-2017  jdolecek update from HEAD
 1.29.12.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.29.12.1  23-Jun-2013  tls resync from head
 1.29.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.30.6.1  18-May-2014  rmind sync with head
 1.31.10.1  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.31.6.1  05-Feb-2017  skrll Sync with HEAD
 1.32.16.1  10-Jun-2019  christos Sync with HEAD
 1.32.14.1  28-Jul-2018  pgoyette Sync with HEAD
 1.33.12.1  03-Apr-2021  thorpej Sync with HEAD.

RSS XML Feed