K 10 svn:author V 6 cherry K 8 svn:date V 27 2012-12-11T23:59:14.928283Z K 7 svn:log V 865 This change addresses a few issues related to the kernel pmap: - pte accesses are now possible by ad-hoc mapping of pte pages. XXX: vtopte() and friends assume dmap - vtop() and ptov() style functions ( essentialy v<->p map lookups for the kernel pmap ) are now able to consult the pv entry list and kernel object(s). We don't assume a fixed offset, although va == pa + KERNBASE is true for boottime pages and is guaranteed by the VM xen booloader and can be accessed via the PTOV() and VTOP() macros. This may be revamped in future. - XXX: kernel pte machine page pointers (returned via pmap_kextract_ma()) seem to have their LSBs set. ptes are aligned at 8bytes (64bits) on x86_64, so this is a bit mysterious. Masking out the entry pointers seem to work for now, but I need to reinvestigate this. Approved by: gibbs (implicit) END