Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (7h)  netbsd-10 (19d)  netbsd-9 (19d)  netbsd-8 (23d) 

2024-06-04 14:19:03 UTC Now

2012-01-19 08:28:50 UTC matt-nb5-mips64 commitmail json YAML

src/sys/arch/mips/include/bus_space.h@1.4.18.3 / diff / nxr@1.4.18.3
src/sys/arch/mips/include/cache.h@1.9.96.8 / diff / nxr@1.9.96.8
src/sys/arch/mips/include/cache_mipsNN.h@1.4.126.2 / diff / nxr@1.4.126.2
src/sys/arch/mips/include/cache_r10k.h@1.3.96.1 / diff / nxr@1.3.96.1
src/sys/arch/mips/include/cache_r3k.h@1.3.126.1 / diff / nxr@1.3.126.1
src/sys/arch/mips/include/cache_r4k.h@1.11.96.3 / diff / nxr@1.11.96.3
src/sys/arch/mips/include/cache_r5k.h@1.3.96.1 / diff / nxr@1.3.96.1
src/sys/arch/mips/include/cache_tx39.h@1.6.18.1 / diff / nxr@1.6.18.1
src/sys/arch/mips/include/cpu.h@1.90.16.40 / diff / nxr@1.90.16.40
src/sys/arch/mips/include/cpuregs.h@1.74.28.25 / diff / nxr@1.74.28.25
src/sys/arch/mips/include/intr.h@1.3.96.18 / diff / nxr@1.3.96.18
src/sys/arch/mips/include/pmap.h@1.54.26.23 / diff / nxr@1.54.26.23
src/sys/arch/mips/include/psl.h@1.17.96.3 / diff / nxr@1.17.96.3
src/sys/arch/mips/mips/bus_space_alignstride_chipdep.c@1.10.18.15 / diff / nxr@1.10.18.15
src/sys/arch/mips/mips/cache.c@1.33.96.12 / diff / nxr@1.33.96.12
src/sys/arch/mips/mips/cache_mipsNN.c@1.11.78.8 / diff / nxr@1.11.78.8
src/sys/arch/mips/mips/cache_r10k.c@1.4.96.2 / diff / nxr@1.4.96.2
src/sys/arch/mips/mips/cache_r3k.c@1.4.96.2 / diff / nxr@1.4.96.2
src/sys/arch/mips/mips/cache_r4k.c@1.10.96.2 / diff / nxr@1.10.96.2
src/sys/arch/mips/mips/cache_r4k_subr.S@1.1.2.2 / diff / nxr@1.1.2.2
src/sys/arch/mips/mips/cache_r5k.c@1.12.96.3 / diff / nxr@1.12.96.3
src/sys/arch/mips/mips/cache_tx39.c@1.6.28.2 / diff / nxr@1.6.28.2
src/sys/arch/mips/mips/cpu_subr.c@1.1.2.23 / diff / nxr@1.1.2.23
src/sys/arch/mips/mips/ipifuncs.c@1.1.2.7 / diff / nxr@1.1.2.7
src/sys/arch/mips/mips/locore.S@1.167.38.24 / diff / nxr@1.167.38.24
src/sys/arch/mips/mips/locore_mips3.S@1.93.38.15 / diff / nxr@1.93.38.15
src/sys/arch/mips/mips/mipsX_subr.S@1.26.36.1.2.54 / diff / nxr@1.26.36.1.2.54
src/sys/arch/mips/mips/mips_machdep.c@1.205.4.1.2.1.2.60 / diff / nxr@1.205.4.1.2.1.2.60
src/sys/arch/mips/mips/pmap_syncicache.c@1.1.2.3 / diff / nxr@1.1.2.3
src/sys/arch/mips/mips/pmap_tlb.c@1.1.2.22 / diff / nxr@1.1.2.22
src/sys/arch/mips/mips/trap.c@1.217.12.40 / diff / nxr@1.217.12.40
src/sys/arch/mips/mips/vm_machdep.c@1.121.6.1.2.24 / diff / nxr@1.121.6.1.2.24

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.

(matt)