comparison src/console.c @ 27:1a64b5645cdd

fix
author mir3636
date Thu, 17 Jan 2019 19:55:30 +0900
parents a146855e16eb
children a672d603ccb2
comparison
equal deleted inserted replaced
26:a146855e16eb 27:1a64b5645cdd
354 initlock(&cons.lock, "console"); 354 initlock(&cons.lock, "console");
355 initlock(&input.lock, "input"); 355 initlock(&input.lock, "input");
356 356
357 devsw[CONSOLE].write = consolewrite; 357 devsw[CONSOLE].write = consolewrite;
358 devsw[CONSOLE].read = consoleread; 358 devsw[CONSOLE].read = consoleread;
359 cbc_devsw[CONSOLE].write = cbc_consolewrite; 359 //cbc_devsw[CONSOLE].write = cbc_consolewrite;
360 cbc_devsw[CONSOLE].read = cbc_consoleread; 360 cbc_devsw[CONSOLE].read = cbc_consoleread;
361 361
362 cons.locking = 1; 362 cons.locking = 1;
363 } 363 }
364 364