21 Commits

Author SHA1 Message Date
0bd80c93a2 system/x86_64: Add PAGE_SIZE to the vm file to be used by everyone 2025-03-07 17:54:35 +01:00
02762336a0 core+system: Add a "getAddressSpace()" system call 2025-03-05 19:11:49 +01:00
b5327891d8 core+system+boot: Move all boot modules into the astryon/ subfolder and add that to .gitignore
Accidentally committed the memory binary as I forgot to add it to gitignore. Let's not do this in the future.
2025-02-24 21:48:28 +01:00
6390785c4b system: Add a memory manager stub 2025-02-24 19:19:09 +01:00
23334004a5 init: Calculate the number of threads loaded
This will be quite useful in the future.
2025-02-24 19:18:51 +01:00
0b32214f0e core+system: Make the getPriority() and setPriority() syscalls accept a PID 2025-02-24 19:18:24 +01:00
d3231f1362 init: Use getThreadId() instead of relying on a fixed PID 2025-02-22 23:01:48 +01:00
aad9b8119b system+init: Move userspace virtual memory code to the system library 2025-02-22 23:01:32 +01:00
e52b0bcf77 core+system: Add a bunch of syscalls related to thread creation 2025-02-22 22:58:56 +01:00
5dac18ad8b 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
8fd1eac5a8 system: Add comments to indicate which syscalls need which tokens 2025-02-22 20:13:17 +01:00
c24bc8ed27 core: Add "tokens" to determine what processes can call which syscalls 2025-02-22 20:11:07 +01:00
5f9514627b 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
6acf83692f core+init: Move syscall code from init to the system library + add a setEventQueue() syscall 2025-02-22 15:41:11 +01:00
4d8c3856d4 core+system: Add a new "system library" with a shared memory ring buffer implementation 2025-02-22 15:37:22 +01:00
43bb21af0b init: Fix a few errors 2025-02-20 23:01:56 +01:00
240d9afe0e init: Add basic virtual memory code 2025-02-20 18:05:11 +01:00
b87150a35f core: Add sleep support to the scheduler 2025-02-18 20:06:40 +01:00
9c92b3de4b core: Add priority-based scheduling 2025-02-17 20:15:30 +01:00
4e03fdca6a init: Add system call handling code 2025-02-16 11:58:20 +01:00
13ec4bee87 Ready. Set. Go!
Microkernel development in Zig, should be fun! =]
2025-02-13 22:39:48 +01:00