diff options
author | Andrew Turner <andrew@FreeBSD.org> | 2018-01-09 14:33:05 +0000 |
---|---|---|
committer | Andrew Turner <andrew@FreeBSD.org> | 2018-01-09 14:33:05 +0000 |
commit | 4bb409fb8d8757d8c3cc0221d65150a57e444139 (patch) | |
tree | 8df36b542d92ca54a279bb59d3993d8dbdeb45e1 /sys/arm64/include/cpu.h | |
parent | 091da2dfa536fe4ae8ac1e5c807296196b6d2184 (diff) | |
download | src-4bb409fb8d8757d8c3cc0221d65150a57e444139.tar.gz src-4bb409fb8d8757d8c3cc0221d65150a57e444139.zip |
Add a framework to install CPU errata on arm64. Each erratum can encode
a mask and value to compare with the Main ID Register. If these match then a
function is called to handle the installation of the erratum workaround.
No errata are currently handled, however this will change soon in a future
commit.
MFC after: 1 week
Sponsored by: DARPA, AFRL
Notes
Notes:
svn path=/head/; revision=327727
Diffstat (limited to 'sys/arm64/include/cpu.h')
-rw-r--r-- | sys/arm64/include/cpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/arm64/include/cpu.h b/sys/arm64/include/cpu.h index 51e86c1e7671..a35584def97b 100644 --- a/sys/arm64/include/cpu.h +++ b/sys/arm64/include/cpu.h @@ -150,6 +150,7 @@ void cpu_halt(void) __dead2; void cpu_reset(void) __dead2; void fork_trampoline(void); void identify_cpu(void); +void install_cpu_errata(void); void print_cpu_features(u_int); void swi_vm(void *v); |