Luna/kernel/include
apio bcdcfc4b45 Kernel: Add a pstat() system call
Not part of C or POSIX, but since there is no procfs right now, I thought it would be nice to have an interface to query process information.
It works like this: you pass the process ID and a pointer to a struct pstat (can be null).
If the process ID is -1, the kernel picks the process with the highest PID.
Then, if the pointer to a pstat struct is not null, the kernel fills it in with the process's information, and returns the process's PID.
2022-10-22 14:26:29 +02:00
..
acpi Fix naming 2022-09-25 21:43:28 +02:00
cpu LOTS MORE LOGGING. which is great, of course. 2022-09-07 19:41:08 +02:00
fs Kernel, libc: Implement O_CLOEXEC 2022-10-22 10:28:02 +02:00
gdt Ready. Set. Go! 2022-09-05 16:13:51 +02:00
init Kernel: enable -Wconversion 2022-10-06 17:13:34 +02:00
interrupts Kernel: Add functions to push and pop the interrupt state 2022-10-12 12:58:56 +02:00
io Add a Device class to PCI and a PCITypes file for string names for PCI device types 2022-09-23 18:01:07 +02:00
log Panic: show panic message on screen 2022-10-16 18:23:33 +02:00
memory KernelHeap: Add more debug logging 2022-10-20 18:49:33 +02:00
misc sh: Add a simple interactive shell 2022-10-19 19:42:05 +02:00
panic Panic: show panic message on screen 2022-10-16 18:23:33 +02:00
rand Randomness and stack protection!! 2022-09-14 18:54:40 +02:00
render Separate the logging stack into toggleable backends, to disable console logging once boot finishes. 2022-10-01 15:35:11 +02:00
std Kernel, libc: Implement O_NONBLOCK 2022-10-21 21:51:03 +02:00
sys Kernel: Add a pstat() system call 2022-10-22 14:26:29 +02:00
thread Kernel: Implement blocking reads 2022-10-21 21:26:19 +02:00
trace Kernel: Switch to strlcpy() as well 2022-10-15 17:30:34 +02:00
utils Kernel: Add a move() function 2022-10-14 19:04:56 +02:00
bootboot.h Ready. Set. Go! 2022-09-05 16:13:51 +02:00
config.h Add a moon_version function that returns the full version string 2022-09-20 16:34:24 +02:00
font.h Some more userland and font failing 2022-09-23 16:41:43 +02:00