Date: Thu, 1 Aug 2013 10:06:19 +0000 (UTC) From: Ganbold Tsagaankhuu <ganbold@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r253857 - in head/sys/arm: arm include Message-ID: <201308011006.r71A6JCr044317@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ganbold (doc committer) Date: Thu Aug 1 10:06:19 2013 New Revision: 253857 URL: http://svnweb.freebsd.org/changeset/base/253857 Log: Add identification for Cortex-A7 (R0) cores. Reviewed by: cognet@ Modified: head/sys/arm/arm/cpufunc.c head/sys/arm/arm/identcpu.c head/sys/arm/include/armreg.h Modified: head/sys/arm/arm/cpufunc.c ============================================================================== --- head/sys/arm/arm/cpufunc.c Thu Aug 1 09:48:12 2013 (r253856) +++ head/sys/arm/arm/cpufunc.c Thu Aug 1 10:06:19 2013 (r253857) @@ -1476,7 +1476,8 @@ set_cpufuncs() } #endif /* CPU_ARM1136 || CPU_ARM1176 */ #ifdef CPU_CORTEXA - if (cputype == CPU_ID_CORTEXA8R1 || + if (cputype == CPU_ID_CORTEXA7 || + cputype == CPU_ID_CORTEXA8R1 || cputype == CPU_ID_CORTEXA8R2 || cputype == CPU_ID_CORTEXA8R3 || cputype == CPU_ID_CORTEXA9R1 || Modified: head/sys/arm/arm/identcpu.c ============================================================================== --- head/sys/arm/arm/identcpu.c Thu Aug 1 09:48:12 2013 (r253856) +++ head/sys/arm/arm/identcpu.c Thu Aug 1 10:06:19 2013 (r253857) @@ -236,6 +236,8 @@ const struct cpuidtab cpuids[] = { { CPU_ID_ARM1026EJS, CPU_CLASS_ARM10EJ, "ARM1026EJ-S", generic_steppings }, + { CPU_ID_CORTEXA7, CPU_CLASS_CORTEXA, "Cortex A7", + generic_steppings }, { CPU_ID_CORTEXA8R1, CPU_CLASS_CORTEXA, "Cortex A8-r1", generic_steppings }, { CPU_ID_CORTEXA8R2, CPU_CLASS_CORTEXA, "Cortex A8-r2", Modified: head/sys/arm/include/armreg.h ============================================================================== --- head/sys/arm/include/armreg.h Thu Aug 1 09:48:12 2013 (r253856) +++ head/sys/arm/include/armreg.h Thu Aug 1 10:06:19 2013 (r253857) @@ -147,6 +147,7 @@ #define CPU_ID_ARM1136JS 0x4107b360 #define CPU_ID_ARM1136JSR1 0x4117b360 #define CPU_ID_ARM1176JZS 0x410fb760 +#define CPU_ID_CORTEXA7 0x410fc070 #define CPU_ID_CORTEXA8R1 0x411fc080 #define CPU_ID_CORTEXA8R2 0x412fc080 #define CPU_ID_CORTEXA8R3 0x413fc080
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308011006.r71A6JCr044317>