mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-18 22:33:39 +00:00
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
This commit is contained in:
parent
4231c48fa1
commit
341039a7d2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=256939
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue