dux
dux copied to clipboard
An operating system.
Handle failed allocations in `memory_allocation_test()`. You know, once `malloc()` and `free()` work well enough for that test to even be relevant. https://github.com/duckinator/dux/blob/main/src/kernel/tests.c#L9-L25
The userland versions of malloc() and free() in krnllib (`src/lib/krnllib/krnllib.c`) don't actually do anything.
`HalSetTSS()` is partially implemented, but requires a way to set the TSS descriptor address. (Referred to `HalGDTSetGate()` in the partial `HalSetTSS()` implementation.)