]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Move the arm64 cache identification to identcpu.c
authorandrew <andrew@FreeBSD.org>
Tue, 3 Mar 2020 15:25:01 +0000 (15:25 +0000)
committerandrew <andrew@FreeBSD.org>
Tue, 3 Mar 2020 15:25:01 +0000 (15:25 +0000)
commitdbed753b3fe09fc5b98bc19b445c6a1f523ea4a8
treef8e3abae0820f8eb5541d2d975176c86902695ff
parent543cc1109b69eecbecce9917f17b31cc194c2891
Move the arm64 cache identification to identcpu.c

This allows us to call it on a per-CPU basis and to warn if the details
are different across CPUs.

While here read the L1 I-Cache type and store this for use later by pmap.

Sponsored by: Innovate UK
sys/arm64/arm64/identcpu.c
sys/arm64/arm64/machdep.c
sys/arm64/include/cpu.h
sys/arm64/include/cpufunc.h