Home | History | Annotate | Download | only in mips
History log of /src/sys/arch/mips/mips/cache_r4k_subr.S
RevisionDateAuthorComments
 1.3  27-Apr-2017  skrll branches: 1.3.8;
Typo in comment
 1.2  11-Jul-2016  matt branches: 1.2.4; 1.2.10;
Change MIPS to use the common pmap code.
Switch to 8KB pages on CPUs with a R4K MMU.
Simplify cache code.
Merge in most of changes from matt-mips64 branch
 1.1  27-Dec-2011  matt branches: 1.1.2;
file cache_r4k_subr.S was initially added on branch matt-nb5-mips64.
 1.1.2.4  09-Jul-2012  matt Add a .set mips32 so that O32 kernels can compile.
 1.1.2.3  16-Feb-2012  matt PTR_DSRL -> PTR_DSLL typo
 1.1.2.2  19-Jan-2012  matt When running an N32 kernel, run it with 64-bit addresses even though the
kernel itself will only use 32-bit addresses. There are exceptions.
bus_space_handles are now register_t instead of intptr_t. This allows them
to contain XKPHYS addresses. Now bus_space can use XKPHYS addresses and
not required non-KSEG1 devices to be mapped in KSEG2 thereby leaving more
KSEG2 space for the kernel to use.

The cache range routines (but not index routines) now take a register_t
instead of vaddr_t so they can too take a XKPHYS address. This allows the
pmap to use a page's XKPHYS address to clean sync the icache thereby avoiding
massive icache invalidations.

Since "cache" instruction effects are global to all CPUs and their caches, we
can use the above to greatly simplify MP page isyncs. If using an O32 kernel
with pages outside KSEG0, index ops still need to be performed since there
isn't an a quick way of mapping the page.
 1.1.2.1  27-Dec-2011  matt Rework (rewrite) the cache code for MIPS32/MIPS64. Use an assembly stub
for generate the cache instructions. Add some more intern routines so that
cache_mipsNN.c only had the "generic" all/index routines.
 1.2.10.1  02-May-2017  pgoyette Sync with HEAD - tag prg-localcount2-base1
 1.2.4.3  28-Aug-2017  skrll Sync with HEAD
 1.2.4.2  05-Oct-2016  skrll Sync with HEAD
 1.2.4.1  11-Jul-2016  skrll file cache_r4k_subr.S was added on branch nick-nhusb on 2016-10-05 20:55:32 +0000
 1.3.8.2  03-Dec-2017  jdolecek update from HEAD
 1.3.8.1  27-Apr-2017  jdolecek file cache_r4k_subr.S was added on branch tls-maxphys on 2017-12-03 11:36:28 +0000

RSS XML Feed