233 Commits

Author SHA1 Message Date
f46dd92d0b huh 2024-02-29 22:33:00 +01:00
96aff20678 vfs experiments 1 slightly better 2024-02-24 14:16:23 +01:00
548fd6511d vfs experiments 1 2024-02-24 13:59:45 +01:00
f5e9867d5b fix linker entry 2024-02-23 14:34:37 +01:00
a8f565331e small stuff 2023-12-12 23:14:45 +01:00
41922d935a taskpid 2023-12-12 23:14:32 +01:00
2a085cc4b7 add ds store to gitignore 2023-12-12 23:14:24 +01:00
929e965121 comment out mutex spinlock 2023-12-11 20:31:20 +01:00
ca571fbf64 wake up task waker only periodically 2023-12-09 15:03:23 +01:00
8e47fe0db3 locking rework
now spinlocks also disable interrupts (and essentially preemption)
this is especially useful for scheduling/unblocking tasks from anywhere
2023-12-09 14:58:32 +01:00
ea41e2e8d3 fix start heap alignment 2023-11-27 19:21:00 +01:00
a20514ef9d readchar 2023-11-27 18:59:13 +01:00
4749bb5c09 GlobalTtyManager 2023-11-26 22:11:29 +01:00
84ae1aa6e5 limine module loading as user tasks! 2023-11-26 21:49:21 +01:00
a64484d0b8 run.sh 2023-11-26 20:51:02 +01:00
eff3c63ecf proper call clobbers 2023-10-26 23:21:43 +02:00
9fa74148dd working sleep syscall
yes it turns out it was 100% completely broken before
2023-10-26 23:04:23 +02:00
b0cdd10db2 working syscalls!!!!! 2023-10-26 18:18:38 +02:00
9fc44baaff syscall base 2023-10-26 16:17:30 +02:00
19bf417ee0 simple vm allocation 2023-10-26 14:39:18 +02:00
6f1d293cbc user mode tasks (kind of) 2023-10-26 13:24:55 +02:00
53f59e50c8 PAGE_SIZE 2023-10-26 12:12:06 +02:00
63ddd59c68 asserts.hpp 2023-10-26 11:16:11 +02:00
1feb134302 inefficiently print task cpu usage 2023-10-26 11:11:49 +02:00
88186e39fd more useful string
and task accounting
2023-10-26 10:22:54 +02:00
b8c2b64bbb remove a leak of nodes comment 2023-10-25 21:51:00 +02:00
6be61b5734 refactor AddressSpace to be a class 2023-10-25 13:37:26 +02:00
bb62a3bbab use builtin memcpy in task 2023-10-24 22:36:03 +02:00
389582b7a5 fix task node leaks 2023-10-24 22:29:12 +02:00
b44cb7cc68 slightly leaking but otherwise working and arguably prettier scheduler 2023-10-24 14:44:19 +02:00
8b470f0fa1 check for task frame alignment 2023-10-23 23:01:20 +02:00
c8dc675734 brand new mutex 2023-10-23 21:01:40 +02:00
c61d7f586e rename list to list 2023-10-23 17:15:10 +02:00
4cc57586b5 spinlock remembers owner 2023-10-23 14:05:28 +02:00
abc522e4ac Revert "slight optimization"
This reverts commit cd22874f23.
2023-10-23 12:10:24 +02:00
cd22874f23 slight optimization 2023-10-22 19:12:55 +02:00
c1f2c1504a more sensible list 2023-10-22 18:46:46 +02:00
a7cf6d5b7b hopefully not broken linked list queue 2023-10-22 16:49:31 +02:00
b0ebd1d019 fix interrupt entry stack alignment 2023-10-22 12:30:38 +02:00
4386d8c1cd fix task entry stack alignment 2023-10-22 12:28:14 +02:00
7b0083fa03 align interrupt stack 2023-10-22 11:40:23 +02:00
609c45a71c kmalloc returns aligned memory 2023-10-22 11:12:26 +02:00
8c1d0ac81a less stress testing :) 2023-10-22 10:55:42 +02:00
a1a0df3f00 fix sse 2023-10-22 10:44:14 +02:00
b94a46cd20 pretty up task switching a bit 2023-10-22 10:25:28 +02:00
db54cbf259 fix redundant options 2023-10-22 10:11:27 +02:00
da9e589545 one little thing 2023-10-21 22:30:46 +02:00
9be4d04851 skip lists work, but sse breaks everything for some reason...
Yet predictable... On qemu every second skip list next node pointer disappears somethimes... On bochs it has a lot of 0x40 and 0x7 in the memory allocator...
2023-10-21 22:10:38 +02:00
66a89bf990 ach, skip lists seem broken, at least everything else seems cool! 2023-10-21 19:36:15 +02:00
99656b0e65 SkipListSet has UB somewhere... 2023-10-21 19:24:33 +02:00