PERFORCE change 212597 for review

Robert Watson rwatson at FreeBSD.org
Sun Jun 10 21:48:53 UTC 2012


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

Change 212597 by rwatson at rwatson_svr_ctsrd_mipsbuild on 2012/06/10 21:48:18

	Limit alternative break-to-debugger handling to JTAG UARTs
	implementing the system console.  Unfortunately, this still doesn't
	seem to work as, at some point in the complex input path to the UART,
	the origial CR has been translated into an LF -- possibly in
	nios2-terminal.

Affected files ...

.. //depot/projects/ctsrd/beribsd/src/sys/dev/altera/jtag_uart/altera_jtag_uart_tty.c#5 edit

Differences ...

==== //depot/projects/ctsrd/beribsd/src/sys/dev/altera/jtag_uart/altera_jtag_uart_tty.c#5 (text+ko) ====

@@ -210,7 +210,8 @@
 		c = aju_read(sc);
 		AJU_UNLOCK(sc);
 #ifdef KDB
-		kdb_alt_break(c, &sc->ajus_alt_break_state);
+		if (sc->ajus_flags & ALTERA_JTAG_UART_FLAG_CONSOLE)
+			kdb_alt_break(c, &sc->ajus_alt_break_state);
 #endif
 		ttydisc_rint(tp, c, 0);
 		AJU_LOCK(sc);


More information about the p4-projects mailing list