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
|
|
@ -12,7 +12,7 @@
|
|||
typedef void (*syscall_t)(uint64_t arg1, uint64_t arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5);
|
||||
|
||||
syscall_t syscall_table[SYSCALL_MAX];
|
||||
static slab_t *fd_slab;
|
||||
slab_t *fd_slab;
|
||||
|
||||
struct file_descriptor *fd_special()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue