proc: hack in special file descriptors

The previos commit broke executions of all program files due to a NULL
memory access when inserting special file descriptors. This will be
replaced when some sort of /dev fs is implemented
This commit is contained in:
Michael Shaw 2024-01-24 18:49:06 -05:00
commit e2ea205129
5 changed files with 28 additions and 11 deletions

View file

@ -28,7 +28,7 @@
#define O_TRUNC 0x0010
#define O_APPEND 0x0020
#define FD_TYPE_CHARDEV 0x0001
#define FTYPE_CHARDEV 0x0001
typedef uint32_t ino_t;
typedef uint8_t ftype_t;