PERFORCE change 214623 for review

Robert Watson rwatson at FreeBSD.org
Thu Jul 19 23:20:16 UTC 2012


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

Change 214623 by rwatson at 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;


More information about the p4-projects mailing list