rust-osdev / rust-osdev/bootloader
Debug why `Rsdp::search_for_on_bios` is optimized to `ud2`
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.7k
- Forks
- 240
- PR merge metrics
- No merged PRs in 30d
Description
See https://github.com/rust-osdev/bootloader/pull/420
We worked around the issue for now by preventing inlining of the map_physical_region function, but we should figure out the root cause of this.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with Rsdp::search_for_on_bios and the map_physical_region call, then review the workaround and investigation in pull request #420. Reproduce the optimization that turns the search function into ud2 and trace its root cause; done means the cause is identified and a reliable fix or documented resolution replaces the workaround.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers, operating-systems
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100