Commit Graph

46 Commits

Author SHA1 Message Date
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
5c6ca432ab reuseUpdate=false
i don't even exactly remember what it does... :D
2023-10-21 19:08:16 +02:00
4f975238ea Pointers! 2023-10-21 19:04:49 +02:00
a2c05c4b7b SkipListSet 2023-10-21 19:02:54 +02:00
802d2e4227 fix the list 2023-10-21 18:57:49 +02:00
150cffd5b3 absolutely amazingly, basically working skip list 2023-10-21 18:49:42 +02:00
dd0614c49a new_ktask const char 2023-10-21 18:22:40 +02:00
467f7b3e35 Vector and string 2023-10-21 18:21:39 +02:00
65a118a68b move string things to string.hpp 2023-10-21 18:05:09 +02:00
d0343e69b3 remove waiters from spinlock 2023-10-21 16:48:45 +02:00
83a2340944 it's called before calling constructors so be safe 2023-10-21 16:48:12 +02:00
e94f012f27 fix heap corruption 2023-10-21 16:46:24 +02:00
d076ffebf8 add lock to heap init 2023-10-21 15:20:18 +02:00
dc717ab981 fix tasks being freed super rarely (now it seems there's a lot of bugs in the memory allocator) 2023-10-21 14:48:00 +02:00
9c4a455543 fix tasks not being freed (there's still some small leak it seems) 2023-10-21 14:40:26 +02:00
c07c68b4f6 add heap stat printing 2023-10-21 14:37:05 +02:00
da88dd88cb spinlocks 2023-10-21 14:19:35 +02:00
06e2c8b6da enable stack protection 2023-10-21 13:49:02 +02:00
9e0fc222c4 osdev copy paste cpp things 2023-10-21 13:30:26 +02:00
e38ee14821 fix ctors calling 2023-10-21 13:24:29 +02:00
d8038a18f9 roughly add c++ 2023-10-21 13:12:03 +02:00
321573a42a fix delays 2023-10-21 12:31:56 +02:00
cb83701401 fix fxsave/fxrstor
apparently the fxsaved memory needs to be zeroed out before...
2023-10-20 14:36:04 +02:00
167eb32caf disable fxsave temporarily and fix preempt frequency being too high
emulators just spend all their time in the timer routine...
2023-10-19 17:33:09 +02:00
12ee6f929a initialize sse state in new tasks (seems to hang later on fxrstor still) 2023-10-19 10:27:40 +02:00
de92cd294b fix patch 2023-10-18 09:13:01 +02:00
e1e103b70a sed fix 2023-10-18 09:02:13 +02:00
1c0f6cb5d5 fix gcc 2023-10-18 08:54:40 +02:00
9feb1a5ac7 cmake settings 2023-10-18 08:51:35 +02:00
c797fc7b01 clang-format 2023-10-17 20:05:24 +02:00
0f584fab83 disable c++ 2023-09-10 12:46:08 +02:00
4451121d79 move mutex and cv out 2023-09-10 12:11:52 +02:00
22be3b098a init 2023-09-09 12:08:04 +02:00
f99fc6681a toolchain 2023-09-06 18:44:38 +02:00