svn commit: r256939 - head/sys/mips/mips

Brooks Davis brooks at FreeBSD.org
Tue Oct 22 21:27:22 UTC 2013


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 at 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 at 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";


More information about the svn-src-all mailing list