233 Commits

Author SHA1 Message Date
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
2d37f9dad5 Don't leak FDT 2024-03-26 21:09:40 +01:00
0c6e4f0c3a ELF loading
the code is completely busted, but at least it seems to work...
2024-03-26 20:35:27 +01:00
7e3dcd7a8b parallel build 2024-03-25 22:48:59 +01:00
ad5a161c59 slightly leaking exec 2024-03-24 13:19:27 +01:00
fb2c56594f rename hello to init 2024-03-24 10:25:04 +01:00
aadc8148c1 exit syscall 2024-03-24 10:22:42 +01:00
665de81587 comment out stl printing 2024-03-24 10:07:42 +01:00
aceb3f6e00 fixup rope 2024-03-24 10:07:05 +01:00
474b67e42f use normal priority queue for tasks 2024-03-23 22:59:35 +01:00
f450edfe1b stl thread stuff 2024-03-23 22:46:51 +01:00
0626d7af0e enable stl asserts 2024-03-23 22:17:25 +01:00
b3171fe3cc working string 2024-03-23 22:12:18 +01:00
c5e93c0484 working vector 2024-03-23 21:58:24 +01:00
e52b9ee3c0 stdlib.h 2024-03-23 21:44:27 +01:00
5a28cd640f plop in SGI stl 2024-03-23 21:12:05 +01:00
a8d9f992ce Serial hang fix hack 2024-03-23 17:07:13 +01:00
f8372e8985 add micros_per_tick assert
Just checking
2024-03-23 10:58:05 +01:00
d41d620172 don't spam serial 2024-03-23 10:54:01 +01:00
ccd5678d5a Stop on asan errors 2024-03-23 10:47:49 +01:00
11b18a2073 hello.cpp -> hello.c 2024-03-23 10:43:54 +01:00
91524beaad HDDM -> HHDM Typo fix 2024-03-23 10:18:17 +01:00
d039745d5f Fix self sleep 2024-03-23 09:59:04 +01:00
4f453ba341 Use 2mb pages for HHDM
seems that every x64 cpu should support it
2024-03-23 09:10:10 +01:00
175ed74d75 Don't use huge pages for HHDM
doesn't work on virtualbox
2024-03-23 00:47:49 +01:00
11f64d15ba SerialTty just drop overflown stuff 2024-03-23 00:46:33 +01:00
35fb5c4200 Just a check 2024-03-23 00:15:49 +01:00
5964980955 Enable UBSAN 2024-03-22 23:06:50 +01:00
40f4d71569 Fix overflow in KERN_V2P 2024-03-22 22:25:26 +01:00
ac345d888d One less leak in tasks (VMA) 2024-03-22 18:12:57 +01:00
f143296493 Tasks make a bit more sense now 2024-03-22 16:57:13 +01:00
02ec0c6105 pretty up GDT a little, and other stuff
also thanks internet for the boilerplate
2024-03-22 15:40:06 +01:00
d9de8e45a0 don't lock files
that's simpler and enough for now
2024-03-22 14:52:10 +01:00
29ed4b786a basic open/read/write/close syscalls
though it needs a lot of polishing now
2024-03-22 14:30:06 +01:00
d55bdbf5c2 format bytes prettily in free_printer 2024-03-22 10:15:38 +01:00
71d98b5f15 spinlock more correct order 2024-03-22 09:05:30 +01:00
1e07603ac7 less insane vfs 2024-02-29 22:50:13 +01:00