Rename pte.h to pte-v4.h and start including directly either pte-v4.h
authorskra <skra@FreeBSD.org>
Fri, 19 Feb 2016 09:23:32 +0000 (09:23 +0000)
committerskra <skra@FreeBSD.org>
Fri, 19 Feb 2016 09:23:32 +0000 (09:23 +0000)
commit10a4549d3c32f5290b4dc2b5e46253b76b0f577d
tree25a31e9d8ee15aadc5ba70b4bca172e1aa519f2c
parent2f3384530caf42a4c2bc7069ddf8dcd9ae64ffcc
Rename pte.h to pte-v4.h and start including directly either pte-v4.h
or pte-v6.h in files which needs it.

There are quite internal definitions in pte-v4.h and pte-v6.h headers
specific for corresponding pmap implementation. These headers should be
included only in very few files and an intention is to not hide for
which implementation such files are.

Further, sys/arm/arm/elf_trampoline.c is an example of file which
uses armv4 like pmap implementation for both armv4 and armv6 platforms.
This is another reason why pte.h which includes specific header
according to __ARM_ARCH is not created.
lib/libkvm/kvm_arm.h
sys/arm/arm/elf_trampoline.c
sys/arm/arm/locore-v4.S
sys/arm/arm/locore-v6.S
sys/arm/include/pmap-v4.h
sys/arm/include/pte-v4.h [moved from sys/arm/include/pte.h with 98% similarity]
sys/arm/include/pte-v6.h