diff options
author | brooks <brooks@FreeBSD.org> | 2014-01-29 22:06:38 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2014-01-29 22:06:38 +0000 |
commit | 5c6caa4224e7bcf4d0391cc71e9e5beb4d1ab8e2 (patch) | |
tree | 39884f30f4ede1dd5adecc5d252abc2d648841ef /sys/mips | |
parent | f3a850110aaff00dc60263ac71eac8e4f136df13 (diff) | |
download | FreeBSD-src-5c6caa4224e7bcf4d0391cc71e9e5beb4d1ab8e2.zip FreeBSD-src-5c6caa4224e7bcf4d0391cc71e9e5beb4d1ab8e2.tar.gz |
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
Diffstat (limited to 'sys/mips')
-rw-r--r-- | sys/mips/mips/trap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/mips/mips/trap.c b/sys/mips/mips/trap.c index 9fda4ff..c194112 100644 --- a/sys/mips/mips/trap.c +++ b/sys/mips/mips/trap.c @@ -1520,6 +1520,7 @@ log_bad_page_fault(char *msg, struct trapframe *frame, int trap_type) 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"; |