sched: apply proper blocking mechanism for chardev
Signed-off-by: Michael Shaw <spencershawiscool@gmail.com>
This commit is contained in:
parent
86041e90e4
commit
dfed938383
12 changed files with 183 additions and 24 deletions
|
|
@ -3,13 +3,5 @@
|
|||
#define _CHAR_H_
|
||||
|
||||
#include <kernel/common.h>
|
||||
#include <kernel/proc.h>
|
||||
|
||||
struct char_queue {
|
||||
char *buf;
|
||||
size_t size;
|
||||
struct proc *proc;
|
||||
struct char_queue *next;
|
||||
};
|
||||
|
||||
#endif /* _CHAR_H_ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue