Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jul 2012 23:20:14 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 214623 for review
Message-ID:  <201207192320.q6JNKEM3001101@skunkworks.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@214623?ac=10

Change 214623 by rwatson@rwatson_svr_ctsrd_mipsbuild on 2012/07/19 23:19:51

	When printing CP2 registers in CheriBSD's DDB, call it CP2 and not
	CP0 in error.  Labeling rather than functional change.

Affected files ...

.. //depot/projects/ctsrd/cheribsd/src/sys/mips/cheri/cp2.c#11 edit

Differences ...

==== //depot/projects/ctsrd/cheribsd/src/sys/mips/cheri/cp2.c#11 (text+ko) ====

@@ -502,10 +502,10 @@
 /*
  * Variation that prints live register state from CP2.
  */
-DB_SHOW_COMMAND(cp0, ddb_dump_cp0)
+DB_SHOW_COMMAND(cp2, ddb_dump_cp2)
 {
 
-	db_printf("CP0 registers\n");
+	db_printf("CP2 registers\n");
 	DB_CP2_REG_PRINT(0);
 	DB_CP2_REG_PRINT(1);
 	DB_CP2_REG_PRINT(2);
@@ -543,7 +543,7 @@
 /*
  * Variation that prints the saved userspace CP2 register frame for a thread.
  */
-DB_SHOW_COMMAND(cp0frame, ddb_dump_cp0frame)
+DB_SHOW_COMMAND(cp2frame, ddb_dump_cp2frame)
 {
 	struct thread *td;
 	struct cp2_frame *cfp;



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