summaryrefslogtreecommitdiff
path: root/sys/arch/arm64/include
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2024-07-17 15:22:00 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2024-07-17 15:22:00 +0000
commit26caa846efb17887b3c25c622f6560dd3f8e07f2 (patch)
tree1c92f6d98837278251e6e247bb90ce6ef8bbc285 /sys/arch/arm64/include
parent4beef288fb3ba2838156ee23dd2f7a6075b8aa79 (diff)
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@
Diffstat (limited to 'sys/arch/arm64/include')
-rw-r--r--sys/arch/arm64/include/cpu.h5
1 files changed, 4 insertions, 1 deletions
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 <drahn@dalerahn.com>
*
@@ -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 <machine/intr.h>
#include <machine/frame.h>
#include <machine/armreg.h>