Commit Graph

50 Commits

Author SHA1 Message Date
5fabb01a8b Remove some debug output 2020-08-31 12:19:16 -05:00
ff2dbb91e1 Add a tar fs driver and posix_spawn 2020-08-23 14:05:38 -05:00
f2b9c1f481 Fix warnings 2020-08-23 08:46:38 -05:00
f63237939b Get stdio/vfs/devfs/vga driver/initrd driver working! 2020-08-23 08:22:14 -05:00
a2756266f0 Remove unnecessary uints 2020-07-23 11:50:23 -05:00
ff1ec1ac79 Attempt to fix the ipc corruption 2020-07-09 11:28:57 -05:00
347113d194 Fix fopen freeing the mountpoint structure 2019-09-10 19:16:38 -05:00
bd34695baf Fix fputs using wrong originator data in the finish function 2019-09-10 19:16:12 -05:00
d81509d8e8 Add fseek that only supports SEEK_SET 2019-09-10 19:15:02 -05:00
fa60cba73a VFS can now handle multiple messages at once 2019-09-02 06:58:23 -05:00
9a89873c8b Mailboxes now have names 2019-09-01 13:52:32 -05:00
148900a832 Add vfs support for file read functions 2019-09-01 10:06:33 -05:00
c2cd6a8571 Add a devfs and add fs driver specific info to my VFS 2019-08-31 16:46:52 -05:00
f852371022 Fix puts and putc not sending correct error flags 2019-08-31 10:39:30 -05:00
36188f9cbc Mount now sends a message to the fs driver 2019-08-31 10:37:49 -05:00
772a121dd8 Merge fputc with fputs 2019-08-30 08:17:59 -05:00
bc5a9d6879 fputs is now a single message 2019-08-28 20:32:14 -05:00
7ed3aca579 That was an fputc problem, not a mount problem. 2019-08-28 20:29:55 -05:00
9ba5fb7787 VFS was not setting mountpoint type correctly 2019-08-28 20:26:03 -05:00
c1e6f56fe3 VFS now uses 0x1 as unknown command and 0x2 as general error 2019-08-28 20:12:15 -05:00
83277b1063 Fix vfs sending all putc messages to box #5 2019-08-28 19:58:37 -05:00
54ab300502 Get all programs building using the new hosted cross-compiler 2019-08-28 08:26:42 -05:00
1727e2c44b Change cross-compiler to i386-myos 2019-08-27 20:10:28 -05:00
a4bb07e358 Move libc to sysroot 2019-08-26 17:00:00 -05:00
e59c3e9dae Fix sysroot and an issue with making the usermode programs hosted 2019-08-26 13:20:06 -05:00
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