#include <hal/term.h>
#include <lunaix/clock.h>
-#include <lunaix/sched.h>
+#include <lunaix/kpreempt.h>
#include <usr/lunaix/term.h>
min = MIN(min, (size_t)line_in->sz_hlf);
while (sz <= min && dt <= expr) {
// XXX should we held the device lock while we are waiting?
- sched_pass();
+ yield_current();
dt = clock_systime() - t;
t += dt;
}
void
-term_notify_data_avaliable(struct termport_capability* cap)
+term_notify_data_avaliable(struct termport_potens* cap)
{
struct term* term;
struct device* term_chrdev;