Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167845879
D21036.id60042.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
D21036.id60042.diff
View Options
Index: sys/arm64/arm64/identcpu.c
===================================================================
--- sys/arm64/arm64/identcpu.c
+++ sys/arm64/arm64/identcpu.c
@@ -161,6 +161,11 @@
{ CPU_PART_CORTEX_A75, "Cortex-A75" },
CPU_PART_NONE,
};
+/* Ampere */
+static const struct cpu_parts cpu_parts_ampere[] = {
+ { CPU_PART_EMAG8180, "eMAG 8180" },
+ CPU_PART_NONE,
+};
/* Cavium */
static const struct cpu_parts cpu_parts_cavium[] = {
{ CPU_PART_THUNDERX, "ThunderX" },
@@ -184,7 +189,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_ampere },
{ 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
@@ -89,6 +89,9 @@
#define CPU_PART_CORTEX_A73 0xD09
#define CPU_PART_CORTEX_A75 0xD0A
+/* Ampere part numbers */
+#define CPU_PART_EMAG8180 0x000
+
/* Cavium Part numbers */
#define CPU_PART_THUNDERX 0x0A1
#define CPU_PART_THUNDERX_81XX 0x0A2
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Aug 25, 11:25 PM (3 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37255678
Default Alt Text
D21036.id60042.diff (1 KB)
Attached To
Mode
D21036: vmx: use C99 bool, not boolean_t
Attached
Detach File
Event Timeline
Log In to Comment