vfs: remove kernel file descriptor numbers

This commit is contained in:
Michael Shaw 2023-11-22 21:09:05 -05:00
commit f8b801236a
6 changed files with 119 additions and 87 deletions

View file

@ -11,7 +11,7 @@
#define PROC_STOPPED 1
#define PROC_BLOCKED 2
typedef uint64_t pid_t;
typedef int64_t pid_t;
struct procregs {
uint64_t rax;
@ -50,6 +50,8 @@ struct proc {
struct rbtree page_map;
spinlock_t page_map_lock;
struct rbtree fd_map;
};
struct procregs *proc_current_regs();