-
Notifications
You must be signed in to change notification settings - Fork 17
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
Framework redesign? #11
Comments
please explain what is going wrong. |
I'm not satisfied with current driver function implementation, which switches drivers by compiler macro switches, and therefore having an underlying assumption that there's only one input device, one output device, etc. What I'm thinking is that our kernel framework should at some point support multiple input/output/storage devices. Even if our boxes have only one such device, our framework should allow multiple devices to plug themselves in. I had sent you a tutorial PDF earlier in this holiday which somehow addressed this problem. Of course redesigning involves much work, so I'm wondering whether it's essential to do so. |
We'd better work out the document right now. I opened a gitbook repository
so that we can work on the forked version of xv6 together.
… This redesigning can be done later.
|
Agree. I've uploaded the device structure header to Where's the gitbook stuff? |
https://www.gitbook.com/@davidgao/dashboard contains two book, one as a fork of xv6-book and one as the lab document |
Can't access your book: 403 Forbidden. Strange... |
After looking things up, I have come to an idea:
Any ideas? |
Totally agreed. That's why I intended to reimplement driver framework after dealing with dynamic memory allocation |
After trying on MSIM I found my design... awful, as it's not very scalable.
I guess I'll change my framework some time after dynamic memory allocation implementation.
The text was updated successfully, but these errors were encountered: