[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [rmind-uvmplock] src/sys
Module Name: src
Committed By: rmind
Date: Wed Jun 2 03:12:44 UTC 2010
src/sys/arch/mips/include [rmind-uvmplock]: types.h
src/sys/dev [rmind-uvmplock]: mm.c mm.h
Add code, dev_mem_getva() and dev_mem_relva(), to deal with cache-aliasing
issues by allocating an appropriate KVA from physical address, according to
the colour. Used by architectures, which have such requirement. For now,
enable only for MIPS, others will follow. This renames previously invented
mm_md_getva() and mm_md_relva(), since we do this in MI way, instead of MD.
Architectures just need to define __HAVE_MM_MD_CACHE_ALIASING as indicator.
Reviewed by Matt Thomas.
To generate a diff of this commit:
cvs rdiff -u -r18.104.22.168 -r22.214.171.124 src/sys/arch/mips/include/types.h
cvs rdiff -u -r126.96.36.199 -r188.8.131.52 src/sys/dev/mm.c
cvs rdiff -u -r184.108.40.206 -r220.127.116.11 src/sys/dev/mm.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |