--- - branch: MAIN date: Tue Nov 8 17:16:52 UTC 2011 files: - new: '1.45' old: '1.44' path: src/sys/arch/x86/include/pmap.h pathrev: src/sys/arch/x86/include/pmap.h@1.45 type: modified - new: '1.141' old: '1.140' path: src/sys/arch/x86/x86/pmap.c pathrev: src/sys/arch/x86/x86/pmap.c@1.141 type: modified - new: '1.31' old: '1.30' path: src/sys/arch/xen/include/xenpmap.h pathrev: src/sys/arch/xen/include/xenpmap.h@1.31 type: modified - new: '1.8' old: '1.7' path: src/sys/arch/xen/x86/xen_pmap.c pathrev: src/sys/arch/xen/x86/xen_pmap.c@1.8 type: modified id: 20111108T171652Z.95c0e6ae8361966241306592b6b7893f8da79a60 log: | 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 module: src subject: 'CVS commit: src/sys/arch' unixtime: '1320772612' user: cherry