-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
AML: Make PciRoutingTable fields public #171
Comments
If needed this would be okay, but generally I'm not in favour of directly exposing the Let me know if that's not sufficient, and we can explore other options. |
Let me come at it from a broader perspective, and maybe get your insight on it. Our |
Interesting! Do you have a link to the relevant code so I can understand what you're trying to achieve more?
Sure - I do a similar thing but in the kernel and pass it out to a userspace driver after PCI enumeration. For your usecase, I think passing out information about each MCFG region and the buses it covers would suffice. I've realised that this code isn't actually in a published version of We should really get this published - I'll try and put some time aside in the week to have a look and get a new version of An alternative to you maintaining a separate set of types to be serialised would be to mark up types in
Yep, this would always be welcome!
Definitely not - this library exists to cater to whatever users need to do with it, basically. It's just about agreeing on the best way to expose the information in a safe + convenient way for a range of use cases. Please lmk if you have more questions / any of this doesn't make sense. |
This is the repo for our acpi code. It's currently mixed in with several other drivers.
The directory |
Ahh, my apologies for the confusion. With the discussion of the MCFG I completely missed over the fact that you were talking about the PRT here. We could totally make the fields of Looking at |
Thanks. There's interest in MCFG as well, so I'm going to ask for more input on this topic from the Redox team. Once we decide how we want to move forward, I will continue to file issues and/or make PRs with any changes we require, and you can steer me in the right direction if I do something that doesn't fit with your view. |
I would like to be able to provide a different interface to the PciRoutingTable. I need to map the contents to a serializable struct, but the fields are not
pub
. Let me know if you are ok with me making this change.The text was updated successfully, but these errors were encountered: