Commit Graph

422 Commits

Author SHA1 Message Date
3367cdc9bf Thread kernel stacks are now reused 2020-09-01 09:41:19 -05:00
5fabb01a8b Remove some debug output 2020-08-31 12:19:16 -05:00
61b71b4491 Fix some isues with the PCI driver 2020-08-30 17:01:50 -05:00
520563d1b6 Get the PCI driver working 2020-08-30 09:45:27 -05:00
2337e70876 Fix a warning 2020-08-30 09:44:51 -05:00
542702482d Fix some memory leaks 2020-08-30 09:43:56 -05:00
01faa32420 Replace my crappy malloc with a much better one
(https://github.com/blanham/liballoc)
2020-08-30 09:43:14 -05:00
f97ea89a4d Fix a bug where tasking_block would corrupt the tasking data structures 2020-08-30 09:41:50 -05:00
a5341c8703 Remove the unnecessary SAME_THREAD macro 2020-08-30 09:41:12 -05:00
9198692b5e Physical memory allocation is now done one frame at a time 2020-08-30 09:37:55 -05:00
acde39065c Add spinlocks 2020-08-30 09:35:12 -05:00
df630c1422 Get fgets working and fix fputs 2020-08-23 17:49:43 -05:00
edfb52936d initrd driver now properly handles a request to read more data than available 2020-08-23 17:34:24 -05:00
ff2dbb91e1 Add a tar fs driver and posix_spawn 2020-08-23 14:05:38 -05:00
b5f5aa8ed0 Remove old reference code from initrd driver 2020-08-23 13:07:59 -05:00
3b8a3263af Update README.md 2020-08-23 09:57:34 -05:00
f735daa4d5 Remove default values from kernel doxyfile 2020-08-23 08:52:01 -05:00
40347ad069 Untrack compiled binaries 2020-08-23 08:51:33 -05:00
f2b9c1f481 Fix warnings 2020-08-23 08:46:38 -05:00
9f5df75c9d Add syscall to check whether a process has finished RPC initialization. 2020-08-23 08:31:19 -05:00
9dde61b9df Remove debug messages 2020-08-23 08:27:31 -05:00
f63237939b Get stdio/vfs/devfs/vga driver/initrd driver working! 2020-08-23 08:22:14 -05:00
d42b9cdb97 Add serialization library 2020-08-22 13:11:29 -05:00
c081c97337 Fix RPC mapping the argument buffer as kernel only 2020-08-03 08:56:56 -05:00
fd36ed577a Re-add the PID to page fault details 2020-08-03 07:42:16 -05:00
d9a01fdbda Add RPC support 2020-08-02 14:37:23 -05:00
18ca6e49e6 make run now outputs the serial log 2020-08-02 14:35:44 -05:00
4994f9211d Merge branch 'master' of github.com:pjht/os 2020-08-02 13:01:14 -05:00
339ee996c2 Fix PIT setup issues 2020-08-02 10:44:55 -05:00
pjht
a7d1123a94
Update elf.h 2020-08-01 12:09:54 -05:00
d09697c7df Add missing documentation for tasking_get_address_space 2020-08-01 10:11:50 -05:00
a7f7cd0a77 Merge branch 'master' of github.com:pjht/os 2020-08-01 09:26:14 -05:00
pjht
9e1c4eb032
Create README.md 2020-08-01 09:26:02 -05:00
dc198741da make debug now uses the plain gdb binary 2020-08-01 09:04:18 -05:00
pjht
337741f53c Update issue templates 2020-08-01 09:00:13 -05:00
ab200ad743 Documentation generation fails if documentation is not complete 2020-08-01 08:47:13 -05:00
c0929a4eea Add preemptive multitasking 2020-07-30 21:58:23 -05:00
0522941a1d Remove tasking functions for RPC that sneaked in in a previous commit 2020-07-30 20:13:40 -05:00
c6ffdc4814 Paging now uses a bitfield to represnt a paging structure entry 2020-07-30 10:09:59 -05:00
06fde84fc8 Tasking code cleanup 2020-07-30 10:09:47 -05:00
345df6fbdf Fix bug where tasking was still kmallocing process structures 2020-07-30 10:07:41 -05:00
6d418b242f Add a function to schedule a thread 2020-07-30 10:07:41 -05:00
d4fa7974b7 Creating a process/thread now always has parameters 2020-07-30 10:07:30 -05:00
ffa12e9625 Fix small issue in paging.c with the last commit 2020-07-29 10:30:20 -05:00
96d7a839fb Add a macro to run a block of code in a different address space 2020-07-29 08:58:45 -05:00
dda2885fd9 More naming convention fixes 2020-07-29 08:09:53 -05:00
870f26d5e9 cr3 is now not used as a generic term for "address space" 2020-07-29 07:27:12 -05:00
37a50cee2d Processes are now a fixed size array and not done by kmalloc 2020-07-28 19:21:14 -05:00
93389edc96 add .gitkeep files for directores whose contents are ignored 2020-07-28 10:34:16 -05:00
c010c54c17 Fix init including a non-existent header 2020-07-28 10:32:23 -05:00