ref: b19ced5132522479b5f3b0cb8231be6d9fa6703e
parent: b9cc48602d982354df31465eeb16666e72a96799
author: cinap_lenrek <[email protected]>
date: Sun Sep 18 12:02:33 EDT 2016
devcons: remove cpunote file the cpunote file is ment to be read by the remote side to transport interrupt notes from the client side. drawterm's implementation just blocks forever as we do not handle 9p flushes, it prevents the server side noteproc to be killed keeping the 9p connection open even after the remote command exits.
--- a/kern/devcons.c
+++ b/kern/devcons.c
@@ -297,7 +297,6 @@
Qbintime,
Qcons,
Qconsctl,
- Qcpunote,
Qcputime,
Qdrivers,
Qkprint,
@@ -330,7 +329,6 @@
"bintime", {Qbintime}, 24, 0664,
"cons", {Qcons}, 0, 0660,
"consctl", {Qconsctl}, 0, 0220,
- "cpunote", {Qcpunote}, 0, 0444,
"cputime", {Qcputime}, 6*NUMSIZE, 0444,
"drivers", {Qdrivers}, 0, 0444,
"hostdomain", {Qhostdomain}, DOMLEN, 0664,
@@ -560,9 +558,6 @@
qunlock(&kbd.lk);
poperror();
return n;
-
- case Qcpunote:
- sleep(&up->sleep, return0, nil);
case Qcputime:
return 0;