-
Notifications
You must be signed in to change notification settings - Fork 15
Add HPET ACPI struct. #55
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
Conversation
* Add HPET struct for parsing in the HPET ACPI table. * Add GenericAddressStructure to the top-level acpi module for parsing GAS entries. * Add HPET find and parse routine in mythril_multiboot2.
dlrobertson
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I dig it!
|
Thanks for working on this! I haven't reviewed it yet, but I'm gonna close and re-open this so that (hopefully) the CI tests will run on it. I think I've got that fixed now. |
ALSchwalm
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work! Thanks for being so thorough with the docs and test. Just a few minor things I'd like addressed before I merge.
* Add offsets module to acpi/mod.rs for GAS offsets. * Change order of bitwise operations when parsing HPET event_timer_block_id members. * Simplify 1-bit field to bool conversions. * Replace unwrapping match statements with ok_or_else() and unwrap_or_else().
* Add call to CPUID in GAS parser to see if we need to verify 32-bit addresses.
|
Thanks for tackling this! |
This PR adds support for parsing the ACPI HPET entry structure.
Fixes #53