summaryrefslogtreecommitdiffstats
path: root/sys/libkern/strdup.c
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2016-05-17 13:12:26 +0000
committerbz <bz@FreeBSD.org>2016-05-17 13:12:26 +0000
commit083ca1a6aff022bc3199f2bccabb04aa5019127f (patch)
tree4b3edea95c294f9c536c2301b046cb74020caae1 /sys/libkern/strdup.c
parent156fd4834ab9a6f666ba46003a8fd7bd64dfdb39 (diff)
downloadFreeBSD-src-083ca1a6aff022bc3199f2bccabb04aa5019127f.zip
FreeBSD-src-083ca1a6aff022bc3199f2bccabb04aa5019127f.tar.gz
The GIC (v2 at least) has a bit in the TYPER register to indicate whether the GIC
supports the Security Extensions or not. This bit is not the same as the CPU one. Currently we are not checking for either before trying to write to the special registers. This can lead to problems on hardware or simulators that do not provide the security extensions. Add the missing checks. Their interactions with the CPU flag is not entirely clear to me but using a macro will make it easier to quickly adjust the condition once the CPU bits are sorted as well. Reviewed by: br Sponsored by: DARPA/AFRL Differential Revision: https://reviews.freebsd.org/D6397
Diffstat (limited to 'sys/libkern/strdup.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud