Commit Graph

309 Commits

Author SHA1 Message Date
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
f68cf49a15 copy_data and put_data now use load_smap 2019-05-25 16:00:12 -05:00
2dd4249700 remove commented line in makefile 2019-05-25 10:39:16 -05:00
ab0a1b81ee untrack vfs binary 2019-05-25 10:35:46 -05:00
c036eb1e9a revert to old build system 2019-05-25 10:35:31 -05:00
c755f3084c actually fix init and vfs having no rule to make start.o 2019-05-25 10:27:12 -05:00
7f58cdf2b6 fix init and vfs having no rule to make start.o 2019-05-25 10:25:15 -05:00
b28234806b ignore more build products 2019-05-25 10:16:39 -05:00
09206d0645 fix files looking for ports.h in wrong place 2019-05-25 10:13:59 -05:00
2a9abb068f fix init and vfs build 2019-05-25 10:11:23 -05:00
e331090f7c commit .gitignore 2019-05-25 10:10:59 -05:00
e458c56cf9 start tracking stuff folder 2019-05-25 10:05:36 -05:00
30e043955b Add empty vfs program and fix tar parsing 2019-05-24 11:52:13 -05:00
ebdc36fade fix build of init 2019-05-24 11:48:50 -05:00
382bd0c5e9 large restructure 2019-05-24 09:51:45 -05:00
ece330c1e9 remove files 2019-05-24 09:05:25 -05:00
7f25b58910 move cpu folder into kernel folder 2019-05-24 09:04:31 -05:00
62e8f0713b rename prog to init 2019-05-24 09:00:04 -05:00
9518c8e4ad remove makeinitrd.rb 2019-05-24 08:58:42 -05:00
f3a3525df5 remove ext2 image lockfile 2019-05-24 08:58:23 -05:00
2fac49887f Kernel now passes initrd and size to init 2019-05-24 08:54:14 -05:00