svn commit: r293316 - head/sys/arm/arm

Svatopluk Kraus skra at FreeBSD.org
Thu Jan 7 12:31:51 UTC 2016


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)


More information about the svn-src-head mailing list