git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix: READ_CAPACITY command for 12 bytes CDB SCSI device.
[lunaix-os.git]
/
lunaix-os
/
kernel
/
lxconsole.c
diff --git
a/lunaix-os/kernel/lxconsole.c
b/lunaix-os/kernel/lxconsole.c
index e58e3f108fb7de8da6504ad617e1f1911f00afea..785330a4aa4b5d78b4ea9e06421281b55b48ea2f 100644
(file)
--- a/
lunaix-os/kernel/lxconsole.c
+++ b/
lunaix-os/kernel/lxconsole.c
@@
-69,7
+69,7
@@
__tty_read(struct device* dev, void* buf, size_t offset, size_t len)
// When a key is arrived, one of the processes will win the race and
// swallow it (advancing the key buffer pointer)
if (!kbd_recv_key(&keyevent)) {
- sched_yield();
+ sched_yield
k
();
continue;
}
if (!(keyevent.state & KBD_KEY_FPRESSED)) {