Home | History | Annotate | Download | only in mainbus
History log of /src/sys/arch/arm/mainbus/mainbus_io.c
RevisionDateAuthorComments
 1.24  16-Mar-2018  ryo use designated initializer to make adaptability and flexibility for changing struct bus_space.
no functional change.
 1.23  22-Feb-2014  matt branches: 1.23.28;
Don't manipulate the pte to get uncached memory, use PMAP_NOCACHE instead.
Convert footbring to kenter_pa/kremove
 1.22  15-Jul-2012  matt branches: 1.22.2; 1.22.4;
Add stream methods
 1.21  01-Jul-2011  dyoung branches: 1.21.2; 1.21.10;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.20  07-Nov-2009  cegger Add a flags argument to pmap_kenter_pa(9).
Patch showed on tech-kern@ http://mail-index.netbsd.org/tech-kern/2009/11/04/msg006434.html
No objections.
 1.19  15-Mar-2009  cegger ansify function definitions
 1.18  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.17  24-Nov-2005  yamt branches: 1.17.80; 1.17.88; 1.17.94; 1.17.98;
bus_dmamem_map: honour BUS_DMA_NOWAIT. noted by Manuel Bouyer.
bus_space_map: always do NOWAIT allocation as it used to be before yamt-km.

we have too many copies!
 1.16  01-Apr-2005  yamt branches: 1.16.2; 1.16.8;
merge yamt-km branch.
- don't use managed mappings/backing objects for wired memory allocations.
save some resources like pv_entry. also fix (most of) PR/27030.
- simplify kernel memory management API.
- simplify pmap bootstrap of some ports.
- some related cleanups.
 1.15  01-Jan-2004  chris branches: 1.15.8; 1.15.10;
Correct the usage of the 4th arg to mainbus_bs_map. It's a flags arg, so
test for the CACHEABLE bit, rather than assuming a non-zero means cacheable
 1.14  06-Dec-2003  bjh21 Fix the ARM mainbus version of bus_space_subregion() to correctly shift the
base offset before using it. This makes it work the same as every other
implementation, and makes wdc at pioc on acorn32 work again. Fix the only
caller I found which depended on the old behaviour.
 1.13  15-Jul-2003  lukem __KERNEL_RCSID()
 1.12  27-Sep-2002  provos branches: 1.12.8;
remove trailing \n in panic(). approved perry.
 1.11  22-Aug-2002  thorpej * Add PTE_SYNC() and PTE_SYNC_RANGE() macros. These don't actually do
anything yet.
* Use PTE_SYNC() and PTE_SYNC_RANGE() in some obvious places, i.e.
where vtopte() is used.
 1.10  09-Apr-2002  thorpej branches: 1.10.2;
* Split pte_cache_mode into pte_l1_s_cache_mode, pte_l2_l_cache_mode,
and pte_l2_s_cache_mode. The cache-meaningful bits are different
for these descriptor types on some processor models.
* Add pte_*_cache_mask, corresponding to each above, which has a mask
of the cache-meangful bits, and define those for generic and XScale
MMU classes. Note, the L2_S_CACHE_MASK_xscale definition requires
use of the Extended Small Page L2 descriptor (the "X" bit overlaps
with AP bits otherwise).
 1.9  05-Apr-2002  thorpej Use pte_cache_mode instead of PT_CACHEABLE.
 1.8  24-Mar-2002  thorpej * arm_byte_to_page() -> arm_btop()
* arm_page_to_byte() -> arm_ptob()
 1.7  23-Mar-2002  thorpej KERNEL_SPACE_START -> KERNEL_BASE
 1.6  23-Nov-2001  thorpej No need to pull in <machine/pte.h> directly.
 1.5  10-Sep-2001  chris branches: 1.5.4;
Update pmap_update to now take the updated pmap as an argument.
This will allow improvements to the pmaps so that they can more easily defer expensive operations, eg tlb/cache flush, til the last possible moment.

Currently this is a no-op on most platforms, so they should see no difference.

Reviewed by Jason.
 1.4  10-Sep-2001  reinoud Initial commitment of the bus_space_mmap() functions as proposed by Jason R
Thorpe as an extension to the bus_space(9) API.

Only the mainbus has a working mmap... iomd, podulebus and isa dont have
one yet. Its trivial to add the iomd and isa's memory part but am a bit
hessistant to add it without knowing its implications by heart.

Podulebus might be implemented in 32 bits EASI but otherwise its not really
transparent since there is AFAIK no function to explicitly read one byte or
so .. or is this implemented in a higher level ?

ARM26 and arch/arm32/dnard (Shark) kernels compile and RiscPC and Shark
kernels are tested and function OK.

Implications of other ARM systems like hpcarm and ebarm are propably
minimal or solved trivially.
 1.3  28-Jul-2001  chris branches: 1.3.2;
A couple of tidy ups to pmap:
pmap_t -> struct pmap * in pmap.c and pmap.h
kernel_pmap -> pmap_kernel() everywhere.

Compiled and booted on riscpc and cats.
 1.2  24-Apr-2001  thorpej branches: 1.2.2;
Sprinkle pmap_update() calls after calls to:
- pmap_enter()
- pmap_remove()
- pmap_protect()
- pmap_kenter_pa()
- pmap_kremove()
as described in pmap(9).

These calls are relatively conservative. It may be possible to
optimize these a little more.
 1.1  24-Feb-2001  reinoud branches: 1.1.2; 1.1.4;
Part 2 of merge.... the dissapearance of mainbus from arm32 and hpcarm;
these parts were a 100% the same and i've included the extensions made by
hpcarm in the tree.
Checked for occurence of MD parts; none found.
 1.1.4.2  12-Mar-2001  bouyer Sync with HEAD.
 1.1.4.1  24-Feb-2001  bouyer file mainbus_io.c was added on branch thorpej_scsipi on 2001-03-12 13:27:26 +0000
 1.1.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.2.2.6  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.5  06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.2.2.4  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.2.3  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2.2.2  13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.2.2.1  03-Aug-2001  lukem update to -current
 1.3.2.1  01-Oct-2001  fvdl Catch up with -current.
 1.5.4.6  18-Oct-2002  nathanw Catch up to -current.
 1.5.4.5  27-Aug-2002  thorpej Sync with -current.
 1.5.4.4  17-Apr-2002  nathanw Catch up to -current.
 1.5.4.3  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.5.4.2  08-Jan-2002  nathanw Catch up to -current.
 1.5.4.1  10-Sep-2001  nathanw file mainbus_io.c was added on branch nathanw_sa on 2002-01-08 00:23:18 +0000
 1.10.2.1  30-Aug-2002  gehenna catch up with -current.
 1.12.8.5  11-Dec-2005  christos Sync with head.
 1.12.8.4  01-Apr-2005  skrll Sync with HEAD.
 1.12.8.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.12.8.2  18-Sep-2004  skrll Sync with HEAD.
 1.12.8.1  03-Aug-2004  skrll Sync with HEAD
 1.15.10.1  28-Jan-2005  yamt convert arch/arm to new apis.
 1.15.8.1  29-Apr-2005  kent sync with -current
 1.16.8.1  29-Nov-2005  yamt sync with head.
 1.16.2.1  21-Jun-2006  yamt sync with head.
 1.17.98.1  15-Feb-2014  matt Merge armv7 support from HEAD, specifically support for the BCM5301X
and BCM56340 evbarm kernels.
 1.17.94.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.17.88.1  28-Apr-2009  skrll Sync with HEAD.
 1.17.80.2  11-Mar-2010  yamt sync with head
 1.17.80.1  04-May-2009  yamt sync with head.
 1.21.10.1  28-Nov-2012  matt Merge improved arm support (especially Cortex) from HEAD
including OMAP and BCM53xx support.
 1.21.2.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.21.2.1  30-Oct-2012  yamt sync with head
 1.22.4.1  18-May-2014  rmind sync with head
 1.22.2.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.23.28.1  22-Mar-2018  pgoyette Synch with HEAD, resolve conflicts

RSS XML Feed