Commit Graph

199 Commits

Author SHA1 Message Date
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
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