Commit Graph

276 Commits

Author SHA1 Message Date
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
2c2cfc74ba Remove all vga code in init 2019-08-31 18:58:38 -05:00
27d0fd6bfd Add printf 2019-08-31 18:47:00 -05:00
7c05554b60 Fix the vga driver adding a newline to all output 2019-08-31 18:46:55 -05:00
66c4a3b46e Ignore devfs and vga_drv binaries 2019-08-31 18:45:31 -05:00
9d1eed8437 Make stdin/out/err FILE pointers 2019-08-31 18:44:08 -05:00
7d453fd06b Yet again, attempt to fix IPC 2019-08-31 18:43:27 -05:00
5442f1f684 Fix warnings 2019-08-31 16:48:11 -05:00
c2cd6a8571 Add a devfs and add fs driver specific info to my VFS 2019-08-31 16:46:52 -05:00
d2dbbb85a5 Fix IPC issues (I suspect looparound issues) 2019-08-31 16:46:21 -05:00
4771173c6c Add VGA code to vga_drv 2019-08-31 11:04:30 -05:00
58711735b2 Add vga_drv program 2019-08-31 10:49:52 -05:00
d874b17b14 Fix exit not looping around to head task 2019-08-31 10:49:35 -05:00
f914554dbc Change fsdrv's name to devfs 2019-08-31 10:42:20 -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
f92f5f784d fix fputs build warning 2019-08-28 20:33:27 -05:00
b5b2703cd2 fix fputs build error 2019-08-28 20:32:48 -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
e349f0ad3d Add protection againt sending to mailbox 0 2019-08-28 20:24:53 -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
590cd8687c Fix crt0.o cp command not being hidden 2019-08-28 17:34:02 -05:00
339d8de87d Change stdint to be provided by gcc 2019-08-28 17:33:46 -05:00
f5e010b160 Fix gcc 9.2.0 patch 2019-08-28 17:14:39 -05:00
1eb09d1923 Change pid_t to int 2019-08-28 17:04:14 -05:00
6cdf0e9c1b Add GCC and binutils patches 2019-08-28 08:29:41 -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
df55e66736 Add GCC required headers 2019-08-27 20:07:54 -05:00
a4bb07e358 Move libc to sysroot 2019-08-26 17:00:00 -05:00
4fadffc59a move iso files to sysroot 2019-08-26 13:32:19 -05:00
0b42b86eba kernel couldn't be compiled with the sysroot flags 2019-08-26 13:21:20 -05:00
e59c3e9dae Fix sysroot and an issue with making the usermode programs hosted 2019-08-26 13:20:06 -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
d186939f87 start.asm now calls exit with a 0 exit code 2019-08-25 17:41:13 -05:00
c8a3a49b87 Forgot to change kernel exit code back to 0 2019-08-25 17:33:05 -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
5a5fee4d74 Tasks now are a doubly-linked list 2019-08-25 17:06:19 -05:00
c18c7cff2f Fix os.iso target requiring files in initrd folder 2019-08-25 13:55:50 -05:00
04d9d073ad make clean now removes initrd files 2019-08-25 13:55:30 -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
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