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:   cherry
Date:           Tue Nov  8 17:16:52 UTC 2011

Modified Files:
        src/sys/arch/x86/include: pmap.h
        src/sys/arch/x86/x86: pmap.c
        src/sys/arch/xen/include: xenpmap.h
        src/sys/arch/xen/x86: xen_pmap.c

Log Message:
Expose the PG_k #define pt/pd bit to both xen and "baremetal" x86. This is 
required, since kernel pages are mapped with user permissions in XEN/amd64 
since the VM kernel runs in ring3. Since XEN/i386(including PAE) runs in ring1, 
supervisor mode is appropriate for these ports. We need to share this since the 
pmap implementation is still shared. Once the xen implementation is 
sufficiently independant of the x86 one, this can be made private to 
xen/include/xenpmap.h


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/arch/x86/include/pmap.h
cvs rdiff -u -r1.140 -r1.141 src/sys/arch/x86/x86/pmap.c
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/xen/include/xenpmap.h
cvs rdiff -u -r1.7 -r1.8 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