Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Feb 2013 14:19:43 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 221767 for review
Message-ID:  <201302051419.r15EJhf7017608@skunkworks.freebsd.org>

index | next in thread | raw e-mail

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

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

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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302051419.r15EJhf7017608>