summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-elf/map_object.c
diff options
context:
space:
mode:
authorcperciva <cperciva@FreeBSD.org>2010-11-20 20:04:29 +0000
committercperciva <cperciva@FreeBSD.org>2010-11-20 20:04:29 +0000
commitb6354cc05660d9d9665630f7b2fbf1b8f3a63c94 (patch)
tree7a2116fa846dae677377a526b8777178a390f377 /libexec/rtld-elf/map_object.c
parent70881bc10bbea544ba7d7d89723de0868bd07916 (diff)
downloadFreeBSD-src-b6354cc05660d9d9665630f7b2fbf1b8f3a63c94.zip
FreeBSD-src-b6354cc05660d9d9665630f7b2fbf1b8f3a63c94.tar.gz
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.
Diffstat (limited to 'libexec/rtld-elf/map_object.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud