]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Update the armv6 tlb handling functions to detect if it is running on
authorandrew <andrew@FreeBSD.org>
Tue, 25 Oct 2016 13:45:59 +0000 (13:45 +0000)
committerandrew <andrew@FreeBSD.org>
Tue, 25 Oct 2016 13:45:59 +0000 (13:45 +0000)
commitc018bde1b2a76e70e050a5d421f1aa9c2d5655a7
treeebcd5dc4b66f2ae855b5353979b565c4410ecdbe
parenta2af253a410de03615f9ec4cc3ac83f974d83766
Update the armv6 tlb handling functions to detect if it is running on
hardware that supports the mp extensions. If so it should use the broadcast
tlb invalidate instructions as other CPUs or devices may need to know about
the invalidation.

To simplify the code have the compiler optimise out the else case when not
builing for Cortex-A8.

Sponsored by: ABT Systems Ltd
Differential Revision: https://reviews.freebsd.org/D8092
sys/arm/include/cpu-v6.h