Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch Split armv7/armv8 tprof backend config logic from t...



details:   https://anonhg.NetBSD.org/src/rev/12fdcbeac12f
branches:  trunk
changeset: 446446:12fdcbeac12f
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Wed Dec 05 21:43:33 2018 +0000

description:
Split armv7/armv8 tprof backend config logic from the fdt bus glue.

diffstat:

 sys/arch/aarch64/conf/files.aarch64 |  5 ++++-
 sys/arch/arm/conf/files.arm         |  5 ++++-
 sys/arch/arm/fdt/files.fdt          |  6 ++----
 3 files changed, 10 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r efb88558fbd2 -r 12fdcbeac12f sys/arch/aarch64/conf/files.aarch64
--- a/sys/arch/aarch64/conf/files.aarch64       Wed Dec 05 21:15:20 2018 +0000
+++ b/sys/arch/aarch64/conf/files.aarch64       Wed Dec 05 21:43:33 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.aarch64,v 1.10 2018/11/18 15:52:03 skrll Exp $
+#      $NetBSD: files.aarch64,v 1.11 2018/12/05 21:43:33 jmcneill Exp $
 
 defflag opt_cpuoptions.h       AARCH64_ALIGNMENT_CHECK
 defflag opt_cpuoptions.h       AARCH64_EL0_STACK_ALIGNMENT_CHECK
@@ -137,3 +137,6 @@
 #file  arch/aarch64/aarch64/linux_sigcode.S    compat_linux
 #file  arch/aarch64/aarch64/linux_syscall.c    compat_linux
 #file  arch/aarch64/aarch64/linux_trap.c       compat_linux
+
+# profiling support
+file   dev/tprof/tprof_armv8.c                 tprof
diff -r efb88558fbd2 -r 12fdcbeac12f sys/arch/arm/conf/files.arm
--- a/sys/arch/arm/conf/files.arm       Wed Dec 05 21:15:20 2018 +0000
+++ b/sys/arch/arm/conf/files.arm       Wed Dec 05 21:43:33 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.arm,v 1.146 2018/10/28 10:21:42 jmcneill Exp $
+#      $NetBSD: files.arm,v 1.147 2018/12/05 21:43:33 jmcneill Exp $
 
 # temporary define to allow easy moving to ../arch/arm/arm32
 defflag                                ARM32
@@ -249,3 +249,6 @@
 file   arch/arm/arm/linux_sigcode.S            compat_linux
 file   arch/arm/arm/linux_syscall.c            compat_linux
 file   arch/arm/arm/linux_trap.c               compat_linux
+
+# profiling support
+file   dev/tprof/tprof_armv7.c                 tprof
diff -r efb88558fbd2 -r 12fdcbeac12f sys/arch/arm/fdt/files.fdt
--- a/sys/arch/arm/fdt/files.fdt        Wed Dec 05 21:15:20 2018 +0000
+++ b/sys/arch/arm/fdt/files.fdt        Wed Dec 05 21:43:33 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: files.fdt,v 1.27 2018/10/12 22:20:48 jmcneill Exp $
+# $NetBSD: files.fdt,v 1.28 2018/12/05 21:43:33 jmcneill Exp $
 
 include        "dev/pckbport/files.pckbport"
 
@@ -58,11 +58,9 @@
 attach pcihost at fdt with pcihost_fdt
 file   arch/arm/fdt/pcihost_fdt.c              pcihost_fdt
 
-device armpmu
+device armpmu: tprof
 attach armpmu at fdt with pmu_fdt
 file   arch/arm/fdt/pmu_fdt.c                  pmu_fdt
-file   dev/tprof/tprof_armv7.c                 pmu_fdt & arm32
-file   dev/tprof/tprof_armv8.c                 pmu_fdt & aarch64
 
 attach genfb at fdt with plfb_fdt: fdt_display_timing
 file   arch/arm/fdt/plfb_fdt.c                 plfb_fdt



Home | Main Index | Thread Index | Old Index