Commit Graph

379 Commits

Author SHA1 Message Date
d12421a7c8 Add a serial_print syscall 2019-08-25 13:52:56 -05:00
2827a2d7ba Mailbox code did not save mailbox data upon returning from functions 2019-08-25 13:52:31 -05:00
e0ba92e7c0 .gdbinit now breaks at the right spots for a task switch. 2019-08-24 14:51:28 -05:00
37b0c39968 Untrack serout 2019-08-24 14:50:29 -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
bff1eee381 stdio functions now yield straight to the VFS. 2019-08-05 14:24:37 -05:00
895bd9613e Add a serial log if a PID yield is tried for a nonexistent pid. 2019-08-05 14:23:54 -05:00
7d25533307 Fix serial logging for getting a message 2019-08-05 14:23:27 -05:00
99522efde5 Add a kernel serial driver and a yieldToPID function. 2019-08-04 13:14:35 -05:00
88a7cf61f0 Ignore chnges to the fsdrv binary 2019-08-04 11:59:08 -05:00
1f3adebbd4 fputs now returns the right value 2019-08-04 11:58:16 -05:00
c71b48d6e4 Fix an uncommenting problem 2019-08-04 11:54:50 -05:00
05ad7d964a Undo all the commented out init code 2019-08-04 10:58:29 -05:00
e80d084584 Sync repo with code for IRC help 2019-08-03 15:50:23 -05:00
05c1e20aa6 Remove magic breakpont afer paging init 2019-08-02 19:55:59 -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
fb61bb2806 Fix fsdrv build 2019-07-13 10:40:23 -05:00
65821b63d3 remove fsdrv's VGA code 2019-07-13 10:30:32 -05:00
d62ccb0dc1 Add a process to act as a filesytem driver and get a .gdbinit file setup
.gdbinit is used to make it easier to debug userspace processes
2019-07-13 10:18:41 -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
2ae02f4d8c Fix init not properly setting up message for second test 2019-06-29 16:54:57 -05:00
df098a46b2 Move some stuff in init to functions. 2019-06-29 10:05:08 -05:00
c324d46885 Add fopen and fd limits to the VFS and test it 2019-06-29 09:55:02 -05:00
097d86f3d5 Add a char data field to the VFS message structure 2019-06-29 09:28:17 -05:00
07af080f0b Copy some code from the old VFS to the new one 2019-06-29 09:27:41 -05:00
c75ba3180f Init now prints out flags 2019-06-29 09:22:09 -05:00
6fe1db6956 Add a case statement for each message type to the VFS 2019-06-29 09:21:08 -05:00
ac6dc49233 Add flags to the VFS message structure 2019-06-29 09:17:52 -05:00
944f517ff1 Move getting the message into a function in the VFS 2019-06-29 09:14:59 -05:00
e12e656fa5 Add the remaining VFS operation types 2019-06-29 09:13:25 -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
9db6bf61ca Start work on making IPC use a mailbox approach 2019-06-24 13:24:39 -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
ade1521bc4 Copy message data from kspace into uspace upon receiving message.
Fixes #30
2019-06-22 15:42:06 -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
8bdbe06b8c Move kernel stacks into common memory and fix tasking. 2019-06-22 10:21:50 -05:00
997927fea4 Add a limit of 24k tasks ever being created. 2019-06-17 08:20:36 -05:00
c295d56ae8 IPC now uses a buffer in the task structure 2019-06-17 08:14:45 -05:00
c4d39011cd Fix unmap_pages not invalidating entries 2019-06-17 06:58:31 -05:00
9654487b5b add unmap_pages 2019-05-28 16:05:51 -05:00
38c39611fd load_address_space now uses load_smap 2019-05-25 16:00:52 -05:00
e0a6ebc0b3 load_smap now invaliadtes pages 2019-05-25 16:00:33 -05:00