-
Notifications
You must be signed in to change notification settings - Fork 215
Access RSDP from BootInfo #141
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
Comments
Not yet, but the upcoming version in #130 will include the RSDP in the boot info. You can try to use https://docs.rs/acpi/2.3.0/acpi/struct.AcpiTables.html#method.search_for_rsdp_bios directly until then. |
Is there any example to help integrate it with boot loader. As it requires a handler. Do I have to make my own one it’s not documented @phil-opp |
The function works by scanning certain physical memory regions for the RSDP signature (see https://wiki.osdev.org/RSDP#Detecting_the_RSDP ). For this is needs access to physical memory. This is what the handler is for. You can create your own handler by implementing the For an example implementation, this is how we implemented it in the upcoming new version of the Lines 193 to 225 in 873351c
Instead of an identity mapping, you probably have the physical memory mapped at an offset, which you need to add to the address when filling the Hope this helps! |
It does. Thanks! |
Closing as version |
Is there a way to access the RSDP from boot info?
https://wiki.osdev.org/RSDP
The text was updated successfully, but these errors were encountered: