From 26caa846efb17887b3c25c622f6560dd3f8e07f2 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Wed, 17 Jul 2024 15:22:00 +0000 Subject: Clean up the cpi_id_aa64xxx variables at the end of autoconf such that sysclt(2) and ID register access emulation can share the variables. ok jca@ --- sys/arch/arm64/include/cpu.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/arch/arm64/include') diff --git a/sys/arch/arm64/include/cpu.h b/sys/arch/arm64/include/cpu.h index c9b0e109160..33084f67c99 100644 --- a/sys/arch/arm64/include/cpu.h +++ b/sys/arch/arm64/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.48 2024/07/10 11:01:24 kettenis Exp $ */ +/* $OpenBSD: cpu.h,v 1.49 2024/07/17 15:21:59 kettenis Exp $ */ /* * Copyright (c) 2016 Dale Rahn * @@ -63,9 +63,12 @@ extern uint64_t cpu_id_aa64isar0; extern uint64_t cpu_id_aa64isar1; +extern uint64_t cpu_id_aa64isar2; extern uint64_t cpu_id_aa64pfr0; extern uint64_t cpu_id_aa64pfr1; +void cpu_identify_cleanup(void); + #include #include #include -- cgit v1.2.3