aboutsummaryrefslogtreecommitdiff
path: root/sys/conf/files.arm
diff options
context:
space:
mode:
authorIan Lepore <ian@FreeBSD.org>2013-11-04 19:44:37 +0000
committerIan Lepore <ian@FreeBSD.org>2013-11-04 19:44:37 +0000
commit13a98c8536d1ad84230f0eefb98375efa19182d9 (patch)
treeccea3693006dae7001775f78642aa2d88c2f90b8 /sys/conf/files.arm
parent538c3c05e781ffc3a68390e65400670420a956eb (diff)
downloadsrc-13a98c8536d1ad84230f0eefb98375efa19182d9.tar.gz
src-13a98c8536d1ad84230f0eefb98375efa19182d9.zip
Begin reducing code duplication in arm pmap.c and pmap-v6.c by factoring
out common code related to mapping device memory into a new devmap.c file. Remove the growing duplication of code that used pmap_devmap_find_pa() and then did some math with the returned results to generate a virtual address, and likewise in reverse to get a physical address. Now there are a pair of functions, arm_devmap_vtop() and arm_devmap_ptov(), to do that. The bus_space_map() implementations are rewritten in terms of these.
Notes
Notes: svn path=/head/; revision=257648
Diffstat (limited to 'sys/conf/files.arm')
0 files changed, 0 insertions, 0 deletions