Source-Changes archive

[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

Modified Files:
        src/sys/arch/mips/include [rmind-uvmplock]: types.h
        src/sys/dev [rmind-uvmplock]: mm.c mm.h

Log Message:
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 -r1.45.4.1 -r1.45.4.2 src/sys/arch/mips/include/types.h
cvs rdiff -u -r1.13.16.3 -r1.13.16.4 src/sys/dev/mm.c
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/dev/mm.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index