Skip to content

Commit

Permalink
Add Ampere eMAG 8180 cpuid
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredmcneill committed Jul 16, 2019
1 parent 8164611 commit a1feb17
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions sys/arch/aarch64/aarch64/cpu.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $NetBSD: cpu.c,v 1.18 2019/06/19 05:31:05 mrg Exp $ */
/* $NetBSD: cpu.c,v 1.19 2019/07/16 10:37:12 jmcneill Exp $ */

/*
* Copyright (c) 2017 Ryo Shimizu <ryo@nerv.org>
Expand Down Expand Up @@ -27,7 +27,7 @@
*/

#include <sys/cdefs.h>
__KERNEL_RCSID(1, "$NetBSD: cpu.c,v 1.18 2019/06/19 05:31:05 mrg Exp $");
__KERNEL_RCSID(1, "$NetBSD: cpu.c,v 1.19 2019/07/16 10:37:12 jmcneill Exp $");

#include "locators.h"
#include "opt_arm_debug.h"
Expand Down Expand Up @@ -195,6 +195,7 @@ const struct cpuidtab cpuids[] = {
{ CPU_ID_CORTEXA76R3 & CPU_PARTMASK, "Cortex-A76", "Cortex", "V8.2-A+" },
{ CPU_ID_CORTEXA76AER1 & CPU_PARTMASK, "Cortex-A76AE", "Cortex", "V8.2-A+" },
{ CPU_ID_CORTEXA77R0 & CPU_PARTMASK, "Cortex-A77", "Cortex", "V8.2-A+" },
{ CPU_ID_EMAG8180, "Ampere eMAG 8180", "Skylark", "V8-A" },
{ CPU_ID_THUNDERXRX, "Cavium ThunderX", "Cavium", "V8-A" },
{ CPU_ID_THUNDERX81XXRX, "Cavium ThunderX CN81XX", "Cavium", "V8-A" },
{ CPU_ID_THUNDERX83XXRX, "Cavium ThunderX CN83XX", "Cavium", "V8-A" },
Expand Down
3 changes: 2 additions & 1 deletion sys/arch/arm/include/cputypes.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $NetBSD: cputypes.h,v 1.7 2019/06/19 05:31:05 mrg Exp $ */
/* $NetBSD: cputypes.h,v 1.8 2019/07/16 10:37:12 jmcneill Exp $ */

/*
* Copyright (c) 1998, 2001 Ben Harris
Expand Down Expand Up @@ -203,6 +203,7 @@

#define CPU_ID_SA110 0x4401a100
#define CPU_ID_SA1100 0x4401a110
#define CPU_ID_EMAG8180 0x503f0002
#define CPU_ID_TI925T 0x54029250
#define CPU_ID_MV88FR571_VD 0x56155710
#define CPU_ID_MV88SV131 0x56251310
Expand Down

0 comments on commit a1feb17

Please sign in to comment.