The branch main has been updated by andrew:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=a7fcda1b8c21a47ac8cdd2e7cfae298d67467e3b

commit a7fcda1b8c21a47ac8cdd2e7cfae298d67467e3b
Author:     Andrew Turner <and...@freebsd.org>
AuthorDate: 2021-08-11 15:30:44 +0000
Commit:     Andrew Turner <and...@freebsd.org>
CommitDate: 2021-08-12 08:53:06 +0000

    Add the Apple arm64 implementer ID
    
    Sponsored by:   The FreeBSD Foundation
---
 sys/arm64/arm64/identcpu.c | 1 +
 sys/arm64/include/cpu.h    | 1 +
 2 files changed, 2 insertions(+)

diff --git a/sys/arm64/arm64/identcpu.c b/sys/arm64/arm64/identcpu.c
index 581e16ee82f6..dabfe6f99d3a 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_APPLE,       "Apple",        cpu_parts_none },
        { CPU_IMPL_APM,         "APM",          cpu_parts_apm },
        { CPU_IMPL_ARM,         "ARM",          cpu_parts_arm },
        { CPU_IMPL_BROADCOM,    "Broadcom",     cpu_parts_none },
diff --git a/sys/arm64/include/cpu.h b/sys/arm64/include/cpu.h
index d58cf6f113c6..0b1aa2d93b03 100644
--- a/sys/arm64/include/cpu.h
+++ b/sys/arm64/include/cpu.h
@@ -77,6 +77,7 @@
 #define        CPU_IMPL_APM            0x50
 #define        CPU_IMPL_QUALCOMM       0x51
 #define        CPU_IMPL_MARVELL        0x56
+#define        CPU_IMPL_APPLE          0x61
 #define        CPU_IMPL_INTEL          0x69
 
 /* ARM Part numbers */
_______________________________________________
dev-commits-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "dev-commits-src-all-unsubscr...@freebsd.org"

Reply via email to