Despite my complete lack of knowledge and very limited experience with OS development, I’m gonna take a stab at Redox on ARM thing.
The first thing I note is that, by reference, I only see the following modules (from arch) being used by the rest of the kernel. I need to know if this is accurate:
- USER_GRANT_OFFSET (not sure what this is…)
- goblin elf parsing?
My general idea is to write these objects up as rust trait’s, and try to implement the same functions as the x86 side. (I think traits will be a bit cleaner than the alternative, which is obviously no trait’s :).
A couple of questions:
- Have I missed anything?
- Is the rest of the x86 code used only by these objects, or is there some strange way to call this code from userspace?
- Does all this extra x86 code need to be in a ‘pub use’ in the lib.rs file? Do we need ‘pub use acpi’ for example?