Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Oct 2013 21:27:22 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r256939 - head/sys/mips/mips
Message-ID:  <201310222127.r9MLRM1H056138@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brooks
Date: Tue Oct 22 21:27:22 2013
New Revision: 256939
URL: http://svnweb.freebsd.org/changeset/base/256939

Log:
  MFP4:
  Change 221767 by rwatson@rwatson_zenith_cl_cam_ac_uk on 2013/02/05 14:18:53
  
          When printing out information on a TLB MOD exception for a user
          process (e.g., an attempt to write to a read-only page), report
          it as a "write" in the console message, rather than "unknown".
  
  Change 221768 by rwatson@rwatson_zenith_cl_cam_ac_uk on 2013/02/05 14:28:00
  
          Fix post-compile but pre-commit typo in last changeset.
  
  MFC after:	3 days
  Sponsored by:	DARPA/AFRL

Modified:
  head/sys/mips/mips/trap.c

Modified: head/sys/mips/mips/trap.c
==============================================================================
--- head/sys/mips/mips/trap.c	Tue Oct 22 21:20:05 2013	(r256938)
+++ head/sys/mips/mips/trap.c	Tue Oct 22 21:27:22 2013	(r256939)
@@ -1520,6 +1520,7 @@ log_bad_page_fault(char *msg, struct tra
 	printf("cpuid = %d\n", PCPU_GET(cpuid));
 #endif
 	switch (trap_type) {
+	case T_TLB_MOD:
 	case T_TLB_ST_MISS:
 	case T_ADDR_ERR_ST:
 		read_or_write = "write";



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