Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162098388
D21314.id60964.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D21314.id60964.diff
View Options
Index: sys/arm64/arm64/identcpu.c
===================================================================
--- sys/arm64/arm64/identcpu.c
+++ sys/arm64/arm64/identcpu.c
@@ -168,6 +168,12 @@
CPU_PART_NONE,
};
+/* APM */
+static const struct cpu_parts cpu_parts_apm[] = {
+ { CPU_PART_EMAG8180, "Ampere eMAG 8180" },
+ CPU_PART_NONE,
+};
+
/* Unknown */
static const struct cpu_parts cpu_parts_none[] = {
CPU_PART_NONE,
@@ -184,7 +190,7 @@
{ CPU_IMPL_INFINEON, "IFX", cpu_parts_none },
{ CPU_IMPL_FREESCALE, "Freescale", cpu_parts_none },
{ CPU_IMPL_NVIDIA, "NVIDIA", cpu_parts_none },
- { CPU_IMPL_APM, "APM", cpu_parts_none },
+ { CPU_IMPL_APM, "APM", cpu_parts_apm },
{ CPU_IMPL_QUALCOMM, "Qualcomm", cpu_parts_none },
{ CPU_IMPL_MARVELL, "Marvell", cpu_parts_none },
{ CPU_IMPL_INTEL, "Intel", cpu_parts_none },
Index: sys/arm64/include/cpu.h
===================================================================
--- sys/arm64/include/cpu.h
+++ sys/arm64/include/cpu.h
@@ -100,6 +100,9 @@
#define CPU_REV_THUNDERX2_0 0x00
+/* APM Part Number */
+#define CPU_PART_EMAG8180 0x000
+
#define CPU_IMPL(midr) (((midr) >> 24) & 0xff)
#define CPU_PART(midr) (((midr) >> 4) & 0xfff)
#define CPU_VAR(midr) (((midr) >> 20) & 0xf)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jul 10, 5:57 PM (1 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34936850
Default Alt Text
D21314.id60964.diff (1 KB)
Attached To
Mode
D21314: Identify emag 8180 CPU
Attached
Detach File
Event Timeline
Log In to Comment