Closed mdpatelcsecon closed 3 months ago
One more thing: I would also like to eliminate all Clippy warnings. Yep, I did do this on #101 but it became problematic with the pmm
+ acpi
merges. So I think the easiest way to fix it is to simply redo it.
One more thing: I would also like to eliminate all Clippy warnings. Yep, I did do this on #101 but it became problematic with the
pmm
+acpi
merges. So I think the easiest way to fix it is to simply redo it.
I think this warrants its own separate issue after this one is complete. Feel free to write it up and list it as blocked on this issue.
This is way too much work and would almost require a rewrite of most of the kernel. We can't really afford to make changes this large. Thus this is being cancelled and replaced with a task to refactor arch into one single trait and a set of C wrappers in the bridge library.
Refactor the entire kernel codebase to accomplish the following:
[x] Split the kernel cleanly into subsystems that each do one thing only and do it well.
[ ] Break up arch so that each subsystem has its own isa module within it to encapsulate any ISA specific code needed by that subsystem.
[ ] Only the top level of each subsystem should expose any pub items but it can have pub modules so long as the pub items in them are reexported as part of the top level module.