diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2017-05-06 06:43:03 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2017-05-06 06:43:03 +0000 |
commit | a4c6eebe8109540f7dc8251817de57df6a169501 (patch) | |
tree | 65813381c183bdfecbff82df5a3569582bcd8bbf /sys | |
parent | 45dadbbba263fb1aa591ea5ec37fb3da15ed6474 (diff) |
Now that we have a table of Cavium part numbers add the part number for
Broadcom's Vulcan design with a Cavium implementer code
(ThunderX2 T99/CN99xx). Suggested by kettenis@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/arm64/arm64/cpu.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/arm64/arm64/cpu.c b/sys/arch/arm64/arm64/cpu.c index b3c82921798..71a34b453b7 100644 --- a/sys/arch/arm64/arm64/cpu.c +++ b/sys/arch/arm64/arm64/cpu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.c,v 1.3 2017/05/04 20:51:51 kettenis Exp $ */ +/* $OpenBSD: cpu.c,v 1.4 2017/05/06 06:43:02 jsg Exp $ */ /* * Copyright (c) 2016 Dale Rahn <drahn@dalerahn.com> @@ -38,6 +38,7 @@ #define CPU_PART_THUNDERX_T88 0x0a1 #define CPU_PART_THUNDERX_T81 0x0a2 #define CPU_PART_THUNDERX_T83 0x0a3 +#define CPU_PART_THUNDERX2_T99 0x0af #define CPU_IMPL(midr) (((midr) >> 24) & 0xff) #define CPU_PART(midr) (((midr) >> 4) & 0xfff) @@ -66,6 +67,7 @@ struct cpu_cores cpu_cores_cavium[] = { { CPU_PART_THUNDERX_T88, "ThunderX T88" }, { CPU_PART_THUNDERX_T81, "ThunderX T81" }, { CPU_PART_THUNDERX_T83, "ThunderX T83" }, + { CPU_PART_THUNDERX2_T99, "ThunderX2 T99" }, { 0x0, "Unknown" }, }; |