Commit Graph

70 Commits

Author SHA1 Message Date
Loïc Grégoire 9e212277b5 ke: export Mutex 2026-06-20 12:08:59 -04:00
Loïc Grégoire 5ee68e2ddf ke: add Queue 2026-06-20 12:06:14 -04:00
Loïc Grégoire e50b1e0167 ps: initial process subsystem 2026-06-18 18:54:38 -04:00
Loïc Grégoire 42b10b886e ke: make DPC handlers take in DPC pointer as parameter 2026-06-18 10:38:31 -04:00
Loïc Grégoire 797018f86e ke: add reset to event 2026-06-17 19:57:35 -04:00
Loïc Grégoire ead1f5b324 ke: fix livelock in turnstile 2026-06-14 11:37:48 -04:00
Loïc Grégoire 534a7f2e2c ke(mutex): do optimistic spinning 2026-06-14 10:59:23 -04:00
Loïc Grégoire 68e0f7f8f7 ke: add turnstile and mutex 2026-06-12 15:53:10 -04:00
Loïc Grégoire 6265a8dd0d ke: add mechanisms for updating priority 2026-05-22 22:08:12 -04:00
Loïc Grégoire bf1fa31aed ke: fix racey DPC inserted field 2026-05-19 22:09:54 -04:00
Loïc Grégoire b87b3cfad2 everywhere: use @Int instead of std.meta 2026-05-14 09:06:30 -04:00
Loïc Grégoire c08288c401 ke: fix timestamp formatting 2026-05-14 09:06:07 -04:00
Loïc Grégoire 3a701067cd rtl: add BitMap
Adds a new BitMap type in rtl for static bitmaps, now used to back
ke.CpuMask.
2026-05-08 14:58:57 -04:00
Loïc Grégoire 5d8a9a4646 build: fix compile errors and update zonfig 2026-05-08 13:43:59 -04:00
Loïc Grégoire 20c3fccf0d feat(ke): add generic event 2026-05-02 12:16:00 -04:00
Loïc Grégoire c82f9759b4 feat(ke/panic): add panic lock 2026-05-02 12:14:45 -04:00
Loïc Grégoire 07cc976467 fix(ke): pin initial thread 2026-05-02 12:14:18 -04:00
Loïc Grégoire 764b446ef1 fix(ke/sched): fix various bugs 2026-05-02 12:13:46 -04:00
Loïc Grégoire 3306b7e97f fix(ke): fix stale config check 2026-04-24 14:59:17 -04:00
Loïc Grégoire 6b7de48d0a fix(ke): fix off-by-one in qspinlocks 2026-04-24 14:33:10 -04:00
Loïc Grégoire a46782adca build: switch to zonfig 2026-04-24 10:35:53 -04:00
Loïc Grégoire 36690a8149 fix(ke): acquire debug lock at high IPL 2026-04-19 20:59:46 -04:00
Loïc Grégoire 02fdb1313d fix(amd64): do sti at another point 2026-04-19 19:27:54 -04:00
Loïc Grégoire e235565d81 feat(ke): implement qspinlocks 2026-04-19 10:54:42 -04:00
Loïc Grégoire ca6fc21085 fix(ke/um): implement IPL correctly 2026-04-19 10:54:12 -04:00
Loïc Grégoire b646115dfc refactor(ke): read_time_nano -> read_time 2026-04-19 08:41:26 -04:00
Loïc Grégoire a7e319c922 Revert "refactor: time -> clock"
This reverts commit 44cf08e57c.
2026-04-19 08:38:45 -04:00
Loïc Grégoire c48ae7fc1e feat(ke): change welcome message 2026-04-18 20:46:18 -04:00
Loïc Grégoire 8fc133cc3c feat: fireworks! 2026-04-18 20:44:52 -04:00
Loïc Grégoire 44cf08e57c refactor: time -> clock 2026-04-18 14:07:42 -04:00
Loïc Grégoire a1db75746a feat(pl/pc): add APIC timer support 2026-04-18 11:18:33 -04:00
Loïc Grégoire 1aa6743f43 refactor: use root instead of base 2026-04-17 20:58:25 -04:00
Loïc Grégoire c68a93b302 feat: better panic handler 2026-04-17 20:35:44 -04:00
Loïc Grégoire 927ea2e1b8 fix(ke/sched): fix typo 2026-04-17 20:35:29 -04:00
Loïc Grégoire deab6561b9 feat(um): implement mm for um 2026-04-15 22:20:23 -04:00
Loïc Grégoire d600b89024 feat(pc): enter x2APIC mode 2026-04-15 20:12:12 -04:00
Loïc Grégoire a09c78474d feat(pc): add AP startup 2026-04-15 19:38:00 -04:00
Loïc Grégoire a34f179d84 refactor(amd64): rework MSR handling 2026-04-14 22:21:36 -04:00
Loïc Grégoire 9a08d8ab4b fix(ke/cpu): use bitSizeOf instead of sizeOf in cpumask 2026-04-14 22:19:05 -04:00
Loïc Grégoire 6894fc2c4b feat: use scoped logs 2026-04-11 18:25:27 -04:00
Loïc Grégoire d378760f66 feat(ke): export timecounter functions 2026-04-11 15:19:43 -04:00
Loïc Grégoire c6fa2a8c48 feat(ke): make log ringbuffer public 2026-04-10 18:02:59 -04:00
Loïc Grégoire 1f7d0f3acc fix(rtl): don't use init_nil() 2026-04-05 23:04:27 -04:00
Loïc Grégoire 6a8fcaeebc feat(rtl): use one sentinel nil node globally 2026-04-05 22:55:12 -04:00
Loïc Grégoire 5341e057d2 feat(ke+pl): pass boot info to early init 2026-04-04 21:33:03 -04:00
Loïc Grégoire c7c145f4e3 feat(amd64): cpu-local on cpu0 2026-03-31 19:39:15 -04:00
Loïc Grégoire 55379d671f feat: amd64 interrupts 2026-03-30 22:15:44 -04:00
Loïc Grégoire 827e8bf0ca refactor: move directories around a bit 2026-03-30 20:05:45 -04:00
Loïc Grégoire faf76ca485 refactor: remove ke.Cpu struct 2026-03-30 17:45:49 -04:00
Loïc Grégoire 84500e2ff3 refactor(amd64): use CPU helpers 2026-03-29 21:25:47 -04:00