summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2021-03-09 19:43:05 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2021-03-09 19:43:05 +0000
commit7fedd2617ec95fedd3a563a4673f4d99793a92ff (patch)
tree5b0cd2d5b1767da5df1e2f71293c7bde5eb9b4c2 /sys/arch
parentd0b924488594867e77984ee751d53201a2e8ff61 (diff)
Recognize Apple Firestorm cores.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/arm64/arm64/cpu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/arm64/arm64/cpu.c b/sys/arch/arm64/arm64/cpu.c
index 719bcf1431d..0af10fd77af 100644
--- a/sys/arch/arm64/arm64/cpu.c
+++ b/sys/arch/arm64/arm64/cpu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.c,v 1.49 2021/03/04 18:32:52 kettenis Exp $ */
+/* $OpenBSD: cpu.c,v 1.50 2021/03/09 19:43:04 kettenis Exp $ */
/*
* Copyright (c) 2016 Dale Rahn <drahn@dalerahn.com>
@@ -79,6 +79,7 @@
#define CPU_PART_X_GENE 0x000
#define CPU_PART_ICESTORM 0x022
+#define CPU_PART_FIRESTORM 0x023
#define CPU_IMPL(midr) (((midr) >> 24) & 0xff)
#define CPU_PART(midr) (((midr) >> 4) & 0xfff)
@@ -134,6 +135,7 @@ struct cpu_cores cpu_cores_amcc[] = {
struct cpu_cores cpu_cores_apple[] = {
{ CPU_PART_ICESTORM, "Icestorm" },
+ { CPU_PART_FIRESTORM, "Firestorm" },
{ 0, NULL },
};