14 Commits

Author SHA1 Message Date
b4f25a2e1f
system+init: Move userspace virtual memory code to the system library 2025-02-22 23:01:32 +01:00
d029d3cf46
core+system: Add a bunch of syscalls related to thread creation 2025-02-22 22:58:56 +01:00
c268c48c8e
system: Fix syscall return value constraint
The previous constraint was making the compiler discard the return value when building in release mode.
2025-02-22 22:57:10 +01:00
6691f940e4
system: Add comments to indicate which syscalls need which tokens 2025-02-22 20:13:17 +01:00
2c5152ecc3
core: Add "tokens" to determine what processes can call which syscalls 2025-02-22 20:11:07 +01:00
c80c7bbc6e
core+init: Instead of exporting an "arch" symbol for platform-specific code, use "usingnamespace".
This makes imports of  platform-specific files way cleaner.
2025-02-22 15:49:14 +01:00
cc87bf18c9
core+init: Move syscall code from init to the system library + add a setEventQueue() syscall 2025-02-22 15:41:11 +01:00
6a441b9b6d
core+system: Add a new "system library" with a shared memory ring buffer implementation 2025-02-22 15:37:22 +01:00
e6bc3afcb8
init: Fix a few errors 2025-02-20 23:01:56 +01:00
b2d89ab4fd
init: Add basic virtual memory code 2025-02-20 18:05:11 +01:00
0ee587a142
core: Add sleep support to the scheduler 2025-02-18 20:06:40 +01:00
f0d5b60b83
core: Add priority-based scheduling 2025-02-17 20:15:30 +01:00
d7557d84f7
init: Add system call handling code 2025-02-16 11:58:20 +01:00
fce8a58cf6
Ready. Set. Go!
Microkernel development in Zig, should be fun! =]
2025-02-13 22:39:48 +01:00