Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jan 2016 12:31:50 +0000 (UTC)
From:      Svatopluk Kraus <skra@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r293316 - head/sys/arm/arm
Message-ID:  <201601071231.u07CVoUx084989@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: skra
Date: Thu Jan  7 12:31:49 2016
New Revision: 293316
URL: https://svnweb.freebsd.org/changeset/base/293316

Log:
  Print curpmap in "show pcpu" command.
  
  Approved by:	kib (mentor)

Modified:
  head/sys/arm/arm/db_interface.c

Modified: head/sys/arm/arm/db_interface.c
==============================================================================
--- head/sys/arm/arm/db_interface.c	Thu Jan  7 12:22:29 2016	(r293315)
+++ head/sys/arm/arm/db_interface.c	Thu Jan  7 12:31:49 2016	(r293316)
@@ -152,6 +152,10 @@ int db_frame(struct db_variable *vp, db_
 void
 db_show_mdpcpu(struct pcpu *pc)
 {
+
+#if __ARM_ARCH >= 6
+	db_printf("curpmap      = %p\n", pc->pc_curpmap);
+#endif
 }
 int
 db_validate_address(vm_offset_t addr)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601071231.u07CVoUx084989>