Commit Graph

25 Commits

Author SHA1 Message Date
e8730b145a Make usermode programs hosted, and add noreturn to exit. 2019-08-26 07:43:25 -05:00
45fd13c5bb Get mount working and register_fs now takes a mailbox number. 2019-08-25 13:53:44 -05:00
cfb22d4386 FS type is now sent in the mode array, limiting names to 9 characters. 2019-08-05 14:26:20 -05:00
9e4a42366d Fix VFS not allocating the drvs array 2019-08-05 14:25:46 -05:00
e80d084584 Sync repo with code for IRC help 2019-08-03 15:50:23 -05:00
8b8ac86f80 Add a vgs driver to fsdrv 2019-07-31 19:46:01 -05:00
207ddb890c Fix the VFS 2019-07-31 17:45:14 -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
aef1d74750 Finish fopen in the vfs and hopefully add a working fopen in stdio.c 2019-07-01 15:13:47 -05:00
c324d46885 Add fopen and fd limits to the VFS and test it 2019-06-29 09:55:02 -05:00
07af080f0b Copy some code from the old VFS to the new one 2019-06-29 09:27:41 -05:00
6fe1db6956 Add a case statement for each message type to the VFS 2019-06-29 09:21:08 -05:00
944f517ff1 Move getting the message into a function in the VFS 2019-06-29 09:14:59 -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
d13980109f Create a structure for VFS messages and make init send one to the VFS 2019-06-22 16:11:44 -05:00
1216d4c000 Store size of message in buffer 2019-06-22 15:29:02 -05:00
7ee2472fe5 Get IPC working 2019-06-22 11:11:12 -05:00
cf120a2cc4 Init now loads VFS 2019-06-22 10:31:33 -05:00
ab0a1b81ee untrack vfs binary 2019-05-25 10:35:46 -05:00
7f58cdf2b6 fix init and vfs having no rule to make start.o 2019-05-25 10:25:15 -05:00
2a9abb068f fix init and vfs build 2019-05-25 10:11:23 -05:00
30e043955b Add empty vfs program and fix tar parsing 2019-05-24 11:52:13 -05:00