17 Commits (60ec99692c506fd010bcbebf7973597edb6c7e58)

Author SHA1 Message Date
anna 60ec99692c
serial: "fix" buffer truncation bug
DMA just uses one buffer rather than two now lmao
3 years ago
anna d4411fd6b6
mutex: add wait queue and spinlocks 3 years ago
anna 83ee9603e7
file: add file kevent and i/o wait support 3 years ago
anna 7e6dbad05f
sched: complete rework of context switching
The old strategy was to only do context switching
from within the PendSV handler.  This worked fine
until now because all syscalls were handled either
atomically or just returned -EAGAIN if the
resource was locked or busy.  However, with the
introduction of I/O wait, we need to be able to
sleep directly from within the kernel by moving
the context switching completely into the kernel.
3 years ago
anna 7fa55c8dab
mutex: return -EAGAIN if trylock fails 3 years ago
anna d20da423ec
fs: implement file abstraction 3 years ago
anna 643d3ed251
build: migrate to CMake 3 years ago
anna f0dc3a3433
kiss capitalism goodbye for good
The CNPL will make sure that absolutely no corporation is going to get
anywhere near Ardix -- exactly as it should be.  Fuck you, corporations!
3 years ago
anna dca3e716ca
serial: add zero-copy dma i/o api 3 years ago
anna af8210da4a
piss off capitalism
Ardix is being relicensed to GPL v3 or later. I have no idea whether you
can just do this if you feel like it or if it has any consequences, but
i kinda don't really care that much about it.  Any changes made after
this commit will definitely fall under the GPL though, and considering
that only few things are really working yet anyways this is good enough
for me.
3 years ago
Felix Kopp 256b49b529
device: add base abstraction for all devices 3 years ago
Felix Kopp 61ebad5231
fs: actually include read.c in Makefile 3 years ago
Felix Kopp d60f57f8de
fs: implement read syscall 3 years ago
Felix Kopp 44f45c71bc
write: didn't mean to commit that 3 years ago
Felix Kopp 4a3e33dc05
sycall: conform to POSIX 3 years ago
Felix Kopp 5555a3d56d
cleanup and fix warnings 3 years ago
Felix Kopp 632824e437
fs: implement basic write 3 years ago