Author: jhb Date: Sat May 9 20:10:01 2020 New Revision: 360854 URL: https://svnweb.freebsd.org/changeset/base/360854
Log: MFC 357593: Remove stale workaround for the htif console. In practice this discarded all characters entered at the DDB prompt. Modified: stable/12/sys/riscv/riscv/riscv_console.c Directory Properties: stable/12/ (props changed) Modified: stable/12/sys/riscv/riscv/riscv_console.c ============================================================================== --- stable/12/sys/riscv/riscv/riscv_console.c Sat May 9 20:02:48 2020 (r360853) +++ stable/12/sys/riscv/riscv/riscv_console.c Sat May 9 20:10:01 2020 (r360854) @@ -206,20 +206,6 @@ riscv_cngetc(struct consdev *cp) { int ch; -#if defined(KDB) - /* - * RISCVTODO: BBL polls for console data on timer interrupt, - * but interrupts are turned off in KDB. - * So we currently do not have console in KDB. - */ - if (kdb_active) { - ch = sbi_console_getchar(); - while (ch) { - ch = sbi_console_getchar(); - } - } -#endif - ch = sbi_console_getchar(); if (ch > 0 && ch < 0xff) { #if defined(KDB) _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"