Commit Graph

42 Commits

Author SHA1 Message Date
7cde3f4eca Remove redundant syscalls 2020-07-12 16:29:57 -05:00
5717209148 Syscall number reorg 2020-07-12 14:39:22 -05:00
679b5a3b8d Add syscall macros and remove mailbox IPC 2020-07-12 14:30:16 -05:00
ac7cc05113 Add task states 2020-07-12 14:28:58 -05: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
d81509d8e8 Add fseek that only supports SEEK_SET 2019-09-10 19:15:02 -05:00
c5504b80dc Add isdigit function 2019-09-06 15:36:10 -05:00
f88622c154 Mailboxes can now be found by their names. 2019-09-05 09:39:13 -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
1522fed9a8 Add getpid function 2019-09-01 13:49:01 -05:00
6ed7d303a5 Change VFS_GETC to VFS_GETS in the vfs.h ipc header 2019-09-01 08:39:46 -05:00
832bc76db8 Update stdio header for read functions 2019-09-01 08:39:26 -05:00
9d1eed8437 Make stdin/out/err FILE pointers 2019-08-31 18:44:08 -05:00
c2cd6a8571 Add a devfs and add fs driver specific info to my VFS 2019-08-31 16:46:52 -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
339d8de87d Change stdint to be provided by gcc 2019-08-28 17:33:46 -05:00
1eb09d1923 Change pid_t to int 2019-08-28 17:04:14 -05:00
df55e66736 Add GCC required headers 2019-08-27 20:07:54 -05:00
4fadffc59a move iso files to sysroot 2019-08-26 13:32:19 -05:00
916ffea498 Add syscalls to get initrd size and copy it into user supplied memory 2019-08-26 13:07:01 -05:00
e8730b145a Make usermode programs hosted, and add noreturn to exit. 2019-08-26 07:43:25 -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
45fd13c5bb Get mount working and register_fs now takes a mailbox number. 2019-08-25 13:53:44 -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
e80d084584 Sync repo with code for IRC help 2019-08-03 15:50:23 -05:00
7974c1e026 Get VFS workng and start on fputc. Debugger is currently broken :( 2019-07-20 11:03:27 -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
097d86f3d5 Add a char data field to the VFS message structure 2019-06-29 09:28:17 -05:00
ac6dc49233 Add flags to the VFS message structure 2019-06-29 09:17:52 -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
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
382bd0c5e9 large restructure 2019-05-24 09:51:45 -05:00
67d76264b5 Ignore all sysroot files 2019-04-06 09:07:19 -05:00
20ae5d1a31 Add IDE driver and r/o ext2 fs driver 2019-04-06 09:07:06 -05:00
d5c21bd0ae Libc headers are now in a sysroot 2019-03-31 13:10:40 -05:00