Commit Graph

180 Commits

Author SHA1 Message Date
f7503e6c6f Stash pop 2021-02-28 13:46:33 -06:00
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
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
f735daa4d5 Remove default values from kernel doxyfile 2020-08-23 08:52:01 -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
f63237939b Get stdio/vfs/devfs/vga driver/initrd driver working! 2020-08-23 08:22:14 -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
339ee996c2 Fix PIT setup issues 2020-08-02 10:44:55 -05:00
d09697c7df Add missing documentation for tasking_get_address_space 2020-08-01 10:11:50 -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
81cfefe0e5 fix more naming convention issues 2020-07-28 06:50:26 -05:00
2314064f2b pmem_free now takes a start address 2020-07-27 19:02:09 -05:00
9727f0bbfa Fix allowing unblocking of exited/ready/running threads 2020-07-27 18:01:24 -05:00
5a7ae83e8a fix tasking bug with linking a thread onto the ready to run list 2020-07-27 17:58:49 -05:00
73b6407424 Fix inclusion of nonexistent libc headers 2020-07-27 17:18:16 -05:00
2dd4c5f557 documentation action change 2020-07-26 07:33:44 -05:00
f8864484a9 Kernel now puts docs in kernel/docs, and move Doxyfile into kernel/ 2020-07-26 07:21:15 -05:00
9ab1f97e08 Documentation work 2020-07-25 18:01:05 -05:00
b83a5505c3 Fix naming convention deviations 2020-07-25 18:00:53 -05:00
ee7ce4dabe Add kernel documentation 2020-07-25 16:54:37 -05:00
794dd702b0 remove an extra extern from tasking_helpers 2020-07-24 10:50:25 -05:00
9f77482506 Remove uncessesary asm files 2020-07-24 10:50:06 -05:00
bb7682186d Fix kernel init issues 2020-07-24 10:38:01 -05:00
915b26f2c5 tasking_helpers now loads cr3 directly instead of calling a function 2020-07-24 08:53:23 -05:00
b89ccf600e Use recursive paging instead of the smap 2020-07-24 08:24:47 -05:00
cd8b2eddcf Clean up & comment task_init 2020-07-23 21:00:54 -05:00
a2756266f0 Remove unnecessary uints 2020-07-23 11:50:23 -05:00
b506923396 Clean up serial driver 2020-07-23 10:28:38 -05:00
f01785d69e serial driver portability work 2020-07-23 09:21:14 -05:00
063cde8101 Small fix to x86-64 paging code 2020-07-23 09:16:41 -05:00
64261480af kernel stack allocation is now not handled in paging.c 2020-07-23 06:41:18 -05:00
af4233e968 Remove load_smap from paging.h 2020-07-22 21:28:00 -05:00