Date: Sat, 20 Nov 2010 20:04:29 +0000 (UTC) From: Colin Percival <cperciva@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/i386/include pmap.h src/sys/i386/xen mp_machdep.c pmap.c xen_machdep.c Message-ID: <201011202004.oAKK4m89085625@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
cperciva 2010-11-20 20:04:29 UTC FreeBSD src repository Modified files: sys/i386/include pmap.h sys/i386/xen mp_machdep.c pmap.c xen_machdep.c Log: SVN rev 215587 on 2010-11-20 20:04:29Z by cperciva Add VTOM(va) macro as xpmap_ptom(VTOP(va)) to convert to machine addresses. Clean up the code by converting xpmap_ptom(VTOP(...)) to VTOM(...) and converting xpmap_ptom(VM_PAGE_TO_PHYS(...)) to VM_PAGE_TO_MACH(...). In a few places we take advantage of the fact that xpmap_ptom can commute with setting PG_* flags. This commit should have no net effect save to improve the readability of this code. Revision Changes Path 1.148 +2 -0 src/sys/i386/include/pmap.h 1.28 +5 -6 src/sys/i386/xen/mp_machdep.c 1.51 +15 -15 src/sys/i386/xen/pmap.c 1.24 +12 -14 src/sys/i386/xen/xen_machdep.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011202004.oAKK4m89085625>