stardustos
stardustos copied to clipboard
[newland] processes not working
Values that aren't stored correctly:
- TTY name
- PID
- Page directory
- Process name
- PWD
- Entry
Issue may be caused by the proc_create function. Will look into it.
Through more debugging, restoring the interrupts could be what is causing the issue.
Issue still persists
Restoring the IRQ's is the result of the issue
Currently gets stuck when loading the init program:
250 r = fs_node_read(&node, hdr.phoff + (hdr.phentsize * i), &prog, sizeof(elf_program_t));
(gdb) step
fs_node_read (nodeptr=0x121244, offset=244, buff=0x1211e4, size=32) at /home/ross/stardustos/newland/src/fs.c:29
29 fs_node_t* node = *nodeptr;
(gdb) finish
Run till exit from #0 fs_node_read (nodeptr=0x121244, offset=244, buff=0x1211e4, size=32) at /home/ross/stardustos/newland/src/fs.c:29