Commit Graph

20 Commits

Author SHA1 Message Date
ac7cc05113 Add task states 2020-07-12 14:28:58 -05:00
ff1ec1ac79 Attempt to fix the ipc corruption 2020-07-09 11:28:57 -05:00
832a01b7e9 Interrupt code now passes a pointer to the saved registers 2019-12-14 10:41:04 -06:00
1c5a986e6d Start work on an initrd driver and attempt to debug pg fault on msg send 2019-10-20 09:44:33 -05:00
faf3a3aad9 Change find_free_pages to return a void* 2019-09-22 08:25:08 -05:00
f88622c154 Mailboxes can now be found by their names. 2019-09-05 09:39:13 -05:00
9a89873c8b Mailboxes now have names 2019-09-01 13:52:32 -05:00
1522fed9a8 Add getpid function 2019-09-01 13:49:01 -05:00
916ffea498 Add syscalls to get initrd size and copy it into user supplied memory 2019-08-26 13:07:01 -05:00
3ca8b5a232 Add a very basic exit function and fix kmalloc.
Exit function does not deallocate task memory except for the data block, 
and does not are about the exit code except for logging.
2019-08-25 17:32:08 -05:00
d12421a7c8 Add a serial_print syscall 2019-08-25 13:52:56 -05:00
99522efde5 Add a kernel serial driver and a yieldToPID function. 2019-08-04 13:14:35 -05:00
823a255e1a Fix vfs saying the message was sent from init's stdio mailbox.
Unfortunately, this breaks the VFS, so the rest of this commit attempts 
(and fails) to fix it.
2019-07-27 11:11:28 -05:00
7974c1e026 Get VFS workng and start on fputc. Debugger is currently broken :( 2019-07-20 11:03:27 -05:00
74cdc67dce Fix/ignore all the warnings 2019-07-01 15:30:00 -05:00
7611d929a3 Fix most warnings 2019-06-29 09:04:34 -05:00
51bb986d76 Change IPC to a mailbox-based system
Instead of using PIDs to identify a destination, a process can have one 
or more mailboxes to send messages to.
2019-06-27 17:00:23 -05:00
1216d4c000 Store size of message in buffer 2019-06-22 15:29:02 -05:00
09206d0645 fix files looking for ports.h in wrong place 2019-05-25 10:13:59 -05:00
7f25b58910 move cpu folder into kernel folder 2019-05-24 09:04:31 -05:00