git: 341953bc12c8 - stable/13 - Add the Ampere and Fujitsu arm64 implementer IDs
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 29 Mar 2022 15:53:40 UTC
The branch stable/13 has been updated by scottph: URL: https://cgit.FreeBSD.org/src/commit/?id=341953bc12c8c358b2600cd217e9eec8c9af51e4 commit 341953bc12c8c358b2600cd217e9eec8c9af51e4 Author: D Scott Phillips <scottph@FreeBSD.org> AuthorDate: 2022-03-25 16:05:22 +0000 Commit: D Scott Phillips <scottph@FreeBSD.org> CommitDate: 2022-03-29 15:47:44 +0000 Add the Ampere and Fujitsu arm64 implementer IDs Reviewed By: andrew, emaste MFC after: 3 days Sponsored by: Ampere Computing Differential Revision: https://reviews.freebsd.org/D34666 (cherry picked from commit 220c48e2d987360b935f4863ee0436c40a60b46f) --- sys/arm64/arm64/identcpu.c | 2 ++ sys/arm64/include/cpu.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/sys/arm64/arm64/identcpu.c b/sys/arm64/arm64/identcpu.c index 29a438b0a2db..e360a61a2010 100644 --- a/sys/arm64/arm64/identcpu.c +++ b/sys/arm64/arm64/identcpu.c @@ -220,6 +220,7 @@ static const struct cpu_parts cpu_parts_none[] = { * Implementers table. */ const struct cpu_implementers cpu_implementers[] = { + { CPU_IMPL_AMPERE, "Ampere", cpu_parts_none }, { CPU_IMPL_APPLE, "Apple", cpu_parts_none }, { CPU_IMPL_APM, "APM", cpu_parts_apm }, { CPU_IMPL_ARM, "ARM", cpu_parts_arm }, @@ -227,6 +228,7 @@ const struct cpu_implementers cpu_implementers[] = { { CPU_IMPL_CAVIUM, "Cavium", cpu_parts_cavium }, { CPU_IMPL_DEC, "DEC", cpu_parts_none }, { CPU_IMPL_FREESCALE, "Freescale", cpu_parts_none }, + { CPU_IMPL_FUJITSU, "Fujitsu", cpu_parts_none }, { CPU_IMPL_INFINEON, "IFX", cpu_parts_none }, { CPU_IMPL_INTEL, "Intel", cpu_parts_none }, { CPU_IMPL_MARVELL, "Marvell", cpu_parts_none }, diff --git a/sys/arm64/include/cpu.h b/sys/arm64/include/cpu.h index b37301c276ce..ee5b423b7104 100644 --- a/sys/arm64/include/cpu.h +++ b/sys/arm64/include/cpu.h @@ -71,6 +71,7 @@ #define CPU_IMPL_BROADCOM 0x42 #define CPU_IMPL_CAVIUM 0x43 #define CPU_IMPL_DEC 0x44 +#define CPU_IMPL_FUJITSU 0x46 #define CPU_IMPL_INFINEON 0x49 #define CPU_IMPL_FREESCALE 0x4D #define CPU_IMPL_NVIDIA 0x4E @@ -79,6 +80,7 @@ #define CPU_IMPL_MARVELL 0x56 #define CPU_IMPL_APPLE 0x61 #define CPU_IMPL_INTEL 0x69 +#define CPU_IMPL_AMPERE 0xC0 /* ARM Part numbers */ #define CPU_PART_FOUNDATION 0xD00