Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/arm32 Print the Revision ID regster (verbose)
details: https://anonhg.NetBSD.org/src/rev/250abd6fa297
branches: trunk
changeset: 808849:250abd6fa297
user: skrll <skrll%NetBSD.org@localhost>
date: Fri Jun 05 07:04:46 2015 +0000
description:
Print the Revision ID regster (verbose)
diffstat:
sys/arch/arm/arm32/cpu.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 532ceb49fc18 -r 250abd6fa297 sys/arch/arm/arm32/cpu.c
--- a/sys/arch/arm/arm32/cpu.c Fri Jun 05 06:46:00 2015 +0000
+++ b/sys/arch/arm/arm32/cpu.c Fri Jun 05 07:04:46 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.108 2015/05/17 06:30:06 matt Exp $ */
+/* $NetBSD: cpu.c,v 1.109 2015/06/05 07:04:46 skrll Exp $ */
/*
* Copyright (c) 1995 Mark Brinicombe.
@@ -46,7 +46,7 @@
#include <sys/param.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.108 2015/05/17 06:30:06 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.109 2015/06/05 07:04:46 skrll Exp $");
#include <sys/systm.h>
#include <sys/conf.h>
@@ -840,6 +840,7 @@
cpu_processor_features[0] = armreg_pfr0_read();
cpu_processor_features[1] = armreg_pfr1_read();
+ aprint_verbose_dev(dv, "revidr: %#x\n", armreg_revidr_read());
#ifdef MULTIPROCESSOR
aprint_verbose_dev(dv, "mpidr: %#x\n", armreg_mpidr_read());
#endif
Home |
Main Index |
Thread Index |
Old Index