Home | History | Annotate | Download | only in eb7500atx
History log of /src/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c
RevisionDateAuthorComments
 1.37  15-May-2022  andvar s/wich/which in comments.
 1.36  16-Sep-2021  andvar fix various typos, mainly in comments.
 1.35  17-Aug-2021  andvar fix multiplei repetitive typos in comments, messages and documentation. mainly because copy paste code big amount of files are affected.
 1.34  18-Apr-2020  skrll PMAP_DEBUG has been deleted on arm
 1.33  18-Apr-2020  skrll Trailing whitespace
 1.32  29-Mar-2020  skrll branches: 1.32.2;
KNF
 1.31  16-Jul-2019  skrll Consistently use vaddr_t as initarm and friends return type.

Makes no difference to binaries except for aarch64 where it's required
 1.30  28-Oct-2018  skrll Fix a commit
 1.29  22-Dec-2016  cherry branches: 1.29.14; 1.29.16;
switch all ports to use uvm_init.c:uvm_md_init()

uvm_setpagesize() is now subsumed within this funciton.
 1.28  25-Oct-2014  skrll branches: 1.28.2; 1.28.4;
Remove katelib.h and references to it.

{Read,Write}{Word,Byte} macros are provided in the files that still use
them. Someone(tm) should convert them to bus_space(9)
 1.27  13-Sep-2014  matt vm_size_t -> vsize_t
 1.26  18-Aug-2013  matt Fix more <arm/locore.h> lossage
 1.25  22-Sep-2012  matt branches: 1.25.2;
Don't use an asm in pmap_activate to update the TTBR, use cpu_setttb instead
but add a second argument to it to indicate whether the TLB/caches need to be
flushed. Default cortex to pmap_needs_fixup = 1. But check the MMFR3 field
to see if the fixed can be skipped.
Use a cf_flag bit 0 to indicate whether the A9 L2 cache should disable (bit 0 = 1)
or enabeld (bit = 0).

With these changes, the A9 MMU can use traverse caches to do MMU tablewalks
Also, make sure all memory has the shareable bit for the A9.
 1.24  16-Aug-2012  matt branches: 1.24.2;
Move the standard definitions of the {UND,IRQ,FIQ,ABT}_STACK_SIZE to
<arm32/machdep.h>
Move the extern for cpu_reset_address to the same file.
Add cpu_reset_address_paddr.
Kill cpu_reset_v4_MMU_disable.
if cpu_reset_address is NULL, then the MMU will be disabled.
 1.23  29-Jul-2012  matt Fix more -fno-common fallout.
Move more variables to common locations.
 1.22  10-May-2012  skrll _int*_t -> uint*_t

Same code before and after.
 1.21  19-Jul-2011  dyoung branches: 1.21.2; 1.21.6;
Change <machine/bus.h> to <sys/bus.h> throughout.

Split bus.h -> bus_{defs,funcs}.h.

Mark acorn32/bus.h obsolete.
 1.20  30-Jun-2011  wiz dependant -> dependent
 1.19  28-Dec-2009  uebayasi More setttb() -> cpu_setttb() for readability & consistency. Missing instances
pointed out by tsutsui@ & nonaka@, thanks.
 1.18  27-Nov-2009  rmind - Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr.
- Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb().
- Amend assembly in ports where it accesses PCB via struct user.
- Rename L_ADDR to L_PCB in few places. Reduce sys/user.h inclusions.
 1.17  26-Nov-2009  matt Kill proc0paddr. Use lwp0.l_addr instead.
 1.16  22-Sep-2009  tsutsui Explicitly include <sys/exec_aout.h> for ZMAGIC etc.
 1.15  11-Aug-2009  matt Remove all declarations of physmem from sys/arch. Add an include of
<sys/systm.h> to the one file that did not already contain it.
This now means that physmem can be changed by updating systm.h and uvm_page.c
(excluding fixing printfs)
 1.14  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.13  30-Nov-2008  martin branches: 1.13.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.12  23-Nov-2008  chris Fix EB7500ATX kernel to build again, mainly catching up on 6+ months of
changes elsewhere in the kernel:
* kernel_l1pt is now a global in pmap
* wdc no longer has dma/udma caps without the relevant options, however,
rside doesn't support dma/udma so don't set the options.
* also fix a device_t/softc split issue.

Perhaps I should add the kernel to the default build list for acorn32, to
avoid any other breakage. Although as the only person probably even
running NetBSD on an EB7500ATX system I'm not sure it's worthwhile.
 1.11  12-Nov-2008  ad Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.10  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.9  19-Jan-2008  chris branches: 1.9.6; 1.9.10; 1.9.16; 1.9.18;
Remove arm support for IPKDB.

It hasn't worked since arm was broken out from arm32 in Jan 2001, and
no-one has noticed or cared to fix it.
 1.8  17-Oct-2007  garbled branches: 1.8.2; 1.8.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.7  13-Aug-2007  tsutsui branches: 1.7.2; 1.7.4;
Remove all references to spl_mask. Now it isn't used by any sources.
Discussed on port-arm.
 1.6  24-Oct-2006  bjh21 branches: 1.6.8; 1.6.16; 1.6.22; 1.6.24; 1.6.26;
parse_mi_bootargs() is declared in <arm/arm32/machdep.h>, so there's no need
to declare it here too.
 1.5  31-Aug-2006  matt branches: 1.5.2; 1.5.4;
Make this console now that vconsole is done and with GCC4.
 1.4  16-Aug-2006  bjh21 Clean out some cruft left behind by the old console code.
 1.3  11-Dec-2005  christos branches: 1.3.4; 1.3.8;
merge ktrace-lwp.
 1.2  12-Dec-2004  abs branches: 1.2.10;
Fix comments slighly
 1.1  03-Jan-2004  chris branches: 1.1.4;
First part of support for the eb7500atx board from simtec:
http://www.simtec.co.uk/products/EB7500ATX/

also available with RISC-OS as a RiscStation:
http://www.riscstation.co.uk/html/products.html

This is basic bootstrap with support for ide and networking, currently only
tested with booting from ABLE, and not RISC-OS.

I would have placed it into evbarm, but iomd doesn't appear to use the same
interrupt files as evbarm. I'll check it into here for now, until iomd
uses the common interrupt code.
 1.1.4.5  18-Dec-2004  skrll Sync with HEAD.
 1.1.4.4  21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3  18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2  03-Aug-2004  skrll Sync with HEAD
 1.1.4.1  03-Jan-2004  skrll file eb7500atx_machdep.c was added on branch ktrace-lwp on 2004-08-03 10:30:49 +0000
 1.2.10.3  21-Jan-2008  yamt sync with head
 1.2.10.2  03-Sep-2007  yamt sync with head.
 1.2.10.1  30-Dec-2006  yamt sync with head.
 1.3.8.1  03-Sep-2006  yamt sync with head.
 1.3.4.1  09-Sep-2006  rpaulo sync with head
 1.5.4.1  10-Dec-2006  yamt sync with head.
 1.5.2.1  18-Nov-2006  ad Sync with head.
 1.6.26.1  16-Aug-2007  jmcneill Sync with HEAD.
 1.6.24.1  28-Feb-2008  rjs Sync with HEAD.
 1.6.22.1  15-Aug-2007  skrll Sync with HEAD.
 1.6.16.1  03-Oct-2007  garbled Sync with HEAD
 1.6.8.1  20-Aug-2007  ad Sync with HEAD.
 1.7.4.2  23-Mar-2008  matt sync with HEAD
 1.7.4.1  06-Nov-2007  matt sync with HEAD
 1.7.2.3  20-Jan-2008  chris Sync to HEAD.
 1.7.2.2  01-Jan-2008  chris Sync with HEAD.
 1.7.2.1  13-Aug-2007  chris file eb7500atx_machdep.c was added on branch chris-arm-intr-rework on 2008-01-01 15:39:51 +0000
 1.8.8.1  20-Jan-2008  bouyer Sync with HEAD
 1.8.2.1  18-Feb-2008  mjf Sync with HEAD.
 1.9.18.2  03-Mar-2009  skrll Sync with HEAD.
 1.9.18.1  19-Jan-2009  skrll Sync with HEAD.
 1.9.16.1  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.9.10.3  11-Mar-2010  yamt sync with head
 1.9.10.2  19-Aug-2009  yamt sync with head.
 1.9.10.1  04-May-2009  yamt sync with head.
 1.9.6.1  17-Jan-2009  mjf Sync with HEAD.
 1.13.4.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.21.6.1  02-Jun-2012  mrg sync to latest -current.
 1.21.2.3  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.21.2.2  30-Oct-2012  yamt sync with head
 1.21.2.1  23-May-2012  yamt sync with head.
 1.24.2.3  03-Dec-2017  jdolecek update from HEAD
 1.24.2.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.24.2.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.25.2.1  28-Aug-2013  rmind sync with head
 1.28.4.1  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.28.2.1  05-Feb-2017  skrll Sync with HEAD
 1.29.16.4  21-Apr-2020  martin Sync with HEAD
 1.29.16.3  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.29.16.2  08-Apr-2020  martin Merge changes from current as of 20200406
 1.29.16.1  10-Jun-2019  christos Sync with HEAD
 1.29.14.1  26-Nov-2018  pgoyette Sync with HEAD, resolve a couple of conflicts
 1.32.2.1  20-Apr-2020  bouyer Sync with HEAD

RSS XML Feed