Open RossComputerGuy opened 4 years ago
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
Values that aren't stored correctly: