The branch stable/13 has been updated by andrew:

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

commit 935bb48b953d2106779a44bde84f914948ac5c7b
Author:     Andrew Turner <[email protected]>
AuthorDate: 2021-08-11 15:30:44 +0000
Commit:     Andrew Turner <[email protected]>
CommitDate: 2021-09-27 08:36:38 +0000

    Add the Apple arm64 implementer ID
    
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit a7fcda1b8c21a47ac8cdd2e7cfae298d67467e3b)
---
 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 */
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to