sos-os / kernel

The Stupid Operating System
Apache License 2.0
264 stars 16 forks source link

restructure hardware abstraction layer #107

Open hawkw opened 7 years ago

hawkw commented 7 years ago

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 more sense to have an abstract HAL crate that provides the traits/abstract API each system architecture must provide, and then a crate for each platform broken down into modules for various hw components. this would make it easier to provide one single cross-platform HAL API to the kernel.

hawkw commented 6 years ago

starting on some experiments towards a newer, better HAL: https://github.com/sos-os/hal9000