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:
parent
b7c10e80c2
commit
e2ea205129
5 changed files with 28 additions and 11 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue