Eliza Weisman
Eliza Weisman
This can be hard-coded to the hello-world test elf for now, but eventually we'll want to generalise this for including userspace stuff in the OS distribution.
- It would be cool if this could be written in Rust with `#[no_core]`. - The test elf should _only_ call the `write` system call on file descriptor 1.
right now, the way this is organized is basically "we have crates with different system components, and each crate contains arch specific modules for different platforms". it would probably make...
While it's not as good as actually writing a full set of unit tests, this gives us a quick way to smoke check the ELF parsing code by demonstrating that...
As of 014adb91642c6fea6ad273ebadb6437df79edc78, there are a _lot_ of [TODOs on this function](https://github.com/hawkw/sos-kernel/blob/014adb91642c6fea6ad273ebadb6437df79edc78/elf/src/lib.rs#L126-L146), so it probably deserves its own issue: ```rust /// TODO: rewrite this as a `TryFrom` implementation (see issue...
We can probably construct some (valid & invalid) fake ELF binaries and ensure that the ELF parser can interpret them correctly. I suspect there are probably large & representative test...
this should hopefully make the boot object smaller + might help with some of the linking woes we're having now
These types were renamed recently in the standard lib. For context, see also hawkw/alarm#12, hawkw/alarm#25.
It would be nice if we could add regions of RAM to the heap after initialising it, rather than using a fixed heap region. That way, we could just go...