aboutsummaryrefslogtreecommitdiff
path: root/sys/arm64/include/cpu.h
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2015-12-30 17:36:34 +0000
committerAndrew Turner <andrew@FreeBSD.org>2015-12-30 17:36:34 +0000
commit5f0a5fefc661aea4aba7c21ba3d6a840fcd666a9 (patch)
tree8f31d9e1460f918829b3e1764d9615902ecf7ab1 /sys/arm64/include/cpu.h
parent88310b4011d39bc96fa1aceaf360cc0a7c42ff58 (diff)
downloadsrc-5f0a5fefc661aea4aba7c21ba3d6a840fcd666a9.tar.gz
src-5f0a5fefc661aea4aba7c21ba3d6a840fcd666a9.zip
Decode and print the ID_AA64* registers on boot. These registers hold
information on what the core supports. In most cases these will be identical across most CPUs in the SoC, however there may be the case where, with a big.LITTLE setup they may differ. In this case we print the decoded data on all CPUs. Reviewed by: kib Sponsored by: ABT Systems Ltd Differential Revision: https://reviews.freebsd.org/D4725
Notes
Notes: svn path=/head/; revision=292954
Diffstat (limited to 'sys/arm64/include/cpu.h')
-rw-r--r--sys/arm64/include/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/arm64/include/cpu.h b/sys/arm64/include/cpu.h
index 14bffbc1f536..8f14e8238967 100644
--- a/sys/arm64/include/cpu.h
+++ b/sys/arm64/include/cpu.h
@@ -145,6 +145,7 @@ void cpu_halt(void) __dead2;
void cpu_reset(void) __dead2;
void fork_trampoline(void);
void identify_cpu(void);
+void print_cpu_features(u_int);
void swi_vm(void *v);
#define CPU_AFFINITY(cpu) __cpu_affinity[(cpu)]