Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

restructure hardware abstraction layer #107

Open
hawkw opened this issue Sep 1, 2017 · 1 comment
Open

restructure hardware abstraction layer #107

hawkw opened this issue Sep 1, 2017 · 1 comment
Assignees
Labels
kind/design Kind: this issue is a design discussion or question. kind/refactor Kind: this issue describes refactoring or code quality improvement.

Comments

@hawkw
Copy link
Member

hawkw commented Sep 1, 2017

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 hawkw added kind/design Kind: this issue is a design discussion or question. kind/refactor Kind: this issue describes refactoring or code quality improvement. labels Sep 1, 2017
@hawkw hawkw self-assigned this Sep 1, 2017
@hawkw
Copy link
Member Author

hawkw commented Feb 4, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/design Kind: this issue is a design discussion or question. kind/refactor Kind: this issue describes refactoring or code quality improvement.
Projects
None yet
Development

No branches or pull requests

1 participant