PERFORCE change 221767 for review

Robert Watson rwatson at FreeBSD.org
Tue Feb 5 14:19:44 UTC 2013


http://p4web.freebsd.org/@@221767?ac=10

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".

Affected files ...

.. //depot/projects/ctsrd/beribsd/src/sys/mips/mips/trap.c#8 edit

Differences ...

==== //depot/projects/ctsrd/beribsd/src/sys/mips/mips/trap.c#8 (text+ko) ====

@@ -1454,6 +1454,7 @@
 	printf("cpuid = %d\n", PCPU_GET(cpuid));
 #endif
 	switch (trap_type) {
+	T_TLB_MOD:
 	case T_TLB_ST_MISS:
 	case T_ADDR_ERR_ST:
 		read_or_write = "write";


More information about the p4-projects mailing list