]> Zhao Yanbai Git Server - minix.git/commitdiff
don't produce kernel output if serial debug is on.
authorBen Gras <ben@minix3.org>
Sun, 11 Jan 2009 23:47:03 +0000 (23:47 +0000)
committerBen Gras <ben@minix3.org>
Sun, 11 Jan 2009 23:47:03 +0000 (23:47 +0000)
kernel/utility.c

index 9998067dd13c94e69780a8fa7ef7f3059f6cb1b9..b2635ef7879f7fa8c97175c4c1c0b241c5a61360 100755 (executable)
@@ -82,7 +82,7 @@ int c;                                        /* character to append */
       kmess.km_next = (kmess.km_next + 1) % _KMESS_BUF_SIZE;
   } else {
       int p, outprocs[] = OUTPUT_PROCS_ARRAY;
-      if(minix_panicing) return;
+      if(minix_panicing || do_serial_debug) return;
       for(p = 0; outprocs[p] != NONE; p++) {
         if(isokprocn(outprocs[p]) && !isemptyn(outprocs[p])) {
            send_sig(outprocs[p], SIGKMESS);