Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch



Module Name:    src
Committed By:   dyoung
Date:           Mon May 10 18:46:59 UTC 2010

Modified Files:
        src/sys/arch/x86/include: pmap.h
        src/sys/arch/x86/x86: bus_space.c pmap.c
        src/sys/arch/xen/conf: files.xen
Added Files:
        src/sys/arch/xen/x86: xen_pmap.c

Log Message:
Provide pmap_enter_ma(), pmap_extract_ma(), pmap_kenter_ma() in all x86
kernels, and use them in the bus_space(9) implementation instead of ugly
Xen #ifdef-age.  In a non-Xen kernel, the _ma() functions either call or
alias the equivalent _pa() functions.

Reviewed on port-xen%netbsd.org@localhost and port-i386%netbsd.org.@localhost  
Passes
rmind@'s and bouyer@'s inspection.  Tested on i386 and on Xen DOMU /
DOM0.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/x86/include/pmap.h
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/x86/x86/bus_space.c
cvs rdiff -u -r1.108 -r1.109 src/sys/arch/x86/x86/pmap.c
cvs rdiff -u -r1.106 -r1.107 src/sys/arch/xen/conf/files.xen
cvs rdiff -u -r0 -r1.1 src/sys/arch/xen/x86/xen_pmap.c

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