sched: schedule after vfs_read error -EGAIN

This commit is contained in:
Michael Shaw 2024-06-17 13:03:53 -04:00
commit 86041e90e4
5 changed files with 28 additions and 1 deletions

15
include/kernel/char.h Normal file
View file

@ -0,0 +1,15 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef _CHAR_H_
#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_ */