sched: properly implement blocking for read

This is a milestone update, as userspace applications are now able to
properly read from TTY devices, be blocked while waiting, and write the
output back. Userspace development will move much faster now that these
kinks have been worked out.

This version will be tagged as vbos v0.01

Signed-off-by: Michael Shaw <spencershawiscool@gmail.com>
This commit is contained in:
Michael Shaw 2024-06-17 22:19:25 -04:00
commit b753afd4fb
9 changed files with 74 additions and 54 deletions

View file

@ -2,6 +2,7 @@
#ifndef _ERRNO_H_
#define _ERRNO_H_
#define ENOMEM 1
#define ENOENT 2
#define EINVAL 3
@ -15,7 +16,11 @@
#define EAGAIN 11
#define EBUSY 12
#define ENOSYS 13
#define ESYSCALLBLK 14
#ifndef __ASM__
const char *strerror(int errnum);
#endif /* __ASM__ */
#endif /* _ERRNO_H_ */