Commit Graph

309 Commits

Author SHA1 Message Date
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
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