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
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
#include <kernel/common.h>
|
||||
#include <kernel/rbtree.h>
|
||||
#include <kernel/proc.h>
|
||||
|
||||
#define BBMAP_FREE 0
|
||||
#define BBMAP_SPLIT 1
|
||||
|
|
@ -33,6 +32,8 @@ genrw(ds);
|
|||
|
||||
#undef genrw
|
||||
|
||||
struct proc;
|
||||
|
||||
struct page { /* I would rather refer to this as a struct */
|
||||
union {
|
||||
struct {
|
||||
|
|
|
|||
Loading…
Reference in a new issue