]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Only store the arm64 ID registers in the cpu_desc
authorAndrew Turner <andrew@FreeBSD.org>
Thu, 29 Jul 2021 08:55:01 +0000 (08:55 +0000)
committerAndrew Turner <andrew@FreeBSD.org>
Tue, 3 Aug 2021 01:42:40 +0000 (01:42 +0000)
commit8b3bd5a2b571e2681c96dbe5b4a04529ef0d7f53
tree963304f232e3992e0d6c8db5c02930815405dbff
parent1a78f44cd205b6f9ca11ef5cdb6e1f32c0134193
Only store the arm64 ID registers in the cpu_desc

There is no need to store a pointer to the CPU implementer and part
strings. Switch to load them directly into the sbuf used to print them
on boot.

While here print the machine ID register when we fail to determine the
implementer or part we are booting on.

Reviewed by: markj, kib
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D31346
sys/arm64/arm64/identcpu.c