Commit Graph

219 Commits

Author SHA1 Message Date
29fe46159e Move Serialize.hpp to templates 2024-04-11 00:13:14 +02:00
f62b985ec9 Get rid of stl
It was cool, but kind of pain
2024-04-11 00:11:30 +02:00
c631fb0ae4 SkipListDetailedTest 2024-04-10 23:26:57 +02:00
aa45bd4009 format 2024-04-10 23:01:03 +02:00
e86a07ba6c KApi for tests 2024-04-10 22:57:09 +02:00
607acbc9d3 fix newlib gitignore 2024-04-10 22:44:47 +02:00
39f0a0bc0d Basic testing infrastructure 2024-04-09 23:00:08 +02:00
4ad19ff450 Bigger task stack 2024-04-07 23:18:49 +02:00
b56a314bdd Basic shell 2024-04-07 22:59:01 +02:00
8ae69b4bc5 Hacky getdents 2024-04-07 22:44:22 +02:00
2a01cfa1f3 more proper newlib setup 2024-04-07 22:03:36 +02:00
ad273d0a96 More reasonable pointers, file nodes 2024-04-07 18:36:06 +02:00
9e53a0de33 Check for break too big 2024-04-06 23:12:42 +02:00
b9aa97f863 Hopefully thread safe shared ptr 2024-04-05 22:54:41 +02:00
649b9334b9 Fix deadlock 2024-04-03 23:28:17 +02:00
5b857af041 Fix page invalidation
So it turns out it was a bug there
2024-04-03 22:33:11 +02:00
3fd356138b Cleanup the remaining OS1 references 2024-04-01 12:45:49 +02:00
7ca402d274 A little IDT cleanup 2024-04-01 12:43:42 +02:00
6a9653d4ad Better compile options 2024-03-31 23:15:56 +02:00
30f2c0f9b6 Fix serial 2024-03-31 19:10:48 +02:00
da050e7b04 Check for a funny bug
Sometimes first and last pages in extend_heap don't get properly mapped...
They're there according to qemu's info tlb... But are they really? After reloading CR3 they seem to appear properly.
Debugging with qemu reply produced one replay in which the bug disappeared when trying to debug it... So it cannot be excluded that it's a qemu bug...
2024-03-31 17:39:57 +02:00
b233a92f0f attribute used for o3 and lto 2024-03-30 22:20:36 +01:00
051523a77e c++ is cool but the libs are 10MB 2024-03-30 18:06:41 +01:00
1e6da377fb rename to ficus 2024-03-30 13:41:29 +01:00
3ca114e0f6 C++ exceptions test 2024-03-30 13:05:15 +01:00
90950e89d6 we're not using libgloss anyway, disable it 2024-03-30 12:42:25 +01:00
961c9bae6e C++ test 2024-03-30 11:28:54 +01:00
22090f2b75 Reuse loaded files
Seems that limine loads them in a OK place to just remap
2024-03-30 11:04:29 +01:00
89c398e8c7 Don't map kernel user-accessible 2024-03-30 10:06:39 +01:00
dd36ecf01e run.sh working parallel 2024-03-30 09:46:44 +01:00
aa8438c48a serial echo 2024-03-30 09:36:56 +01:00
35f67a70f5 Don't forget the constructors/destructors in crt0.c! 2024-03-30 00:17:54 +01:00
19b2b06e28 make hello2 just a normal c program 2024-03-29 23:49:54 +01:00
d0c9e1bbd0 don't forget to change cmakefiles 2024-03-29 23:46:46 +01:00
cfca4a7185 hacked up stdio 2024-03-29 23:46:31 +01:00
394f25028d tell newlib we're doing this bad thing 2024-03-29 22:14:24 +01:00
d8f302dc96 hack up some syscalls 2024-03-29 21:56:36 +01:00
517f549f8f split build-newlib.sh 2024-03-29 21:37:55 +01:00
425fd39788 use new toolchain for kernel too 2024-03-29 21:31:01 +01:00
95e015c92a build libstdc++ too 2024-03-29 21:22:38 +01:00
1556f5f2cb cleanup newlib a little 2024-03-29 20:45:24 +01:00
1e18b5f245 reset newlib for diff 2024-03-29 20:36:27 +01:00
967aa1d3df add config.h
it's gitignored for some reason
2024-03-29 18:34:14 +01:00
86d61f0bcc don't forget sysroot 2024-03-29 18:14:09 +01:00
0009aae458 fix gcc build on macos 14.1 2024-03-29 18:03:26 +01:00
f71504d58e toolchain build.sh uncomment
oops
2024-03-29 17:56:25 +01:00
71c1caaa2a import os~~2~~3 toolchain 2024-03-29 17:53:01 +01:00
7b11c9dd6b More locks and checks 2024-03-26 21:50:59 +01:00
2a2bfe7d4c Fix memory corruption when destroying tasks 2024-03-26 21:22:03 +01:00
0ee4dee6f7 Don't leak page frames 2024-03-26 21:12:05 +01:00