Author: brooks
Date: Wed Jan 29 22:06:38 2014
New Revision: 261278
URL: http://svnweb.freebsd.org/changeset/base/261278

Log:
  MFC r256939
  
  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.
  
  Sponsored by: DARPA/AFRL

Modified:
  stable/10/sys/mips/mips/trap.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/mips/mips/trap.c
==============================================================================
--- stable/10/sys/mips/mips/trap.c      Wed Jan 29 22:01:42 2014        
(r261277)
+++ stable/10/sys/mips/mips/trap.c      Wed Jan 29 22:06:38 2014        
(r261278)
@@ -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";
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to