L4 inaccessible without bootloader provided virtual offset
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- rust
- Domain
- operating-systems
Research direction
Start by comparing the v0.10.0 memory-mapping changes with the older map_physical_memory feature, then trace how the L4 table is made available and how its virtual offset is determined. Done means documenting or implementing a supported way to obtain the offset so the remaining memory can be mapped without a page fault.
Written by the indexing model from the issue text.
Description
I have spent pretty close to a week trying to figure this out. In older versions there was the map_physical_memory feature, which appears to have been removed as of v0.10.0. I have tried everything I can think of to no avail. Any time I try to access the L4 table to map the rest of the memory, I get a page daily.
Things I have tried:
- reverse calculating an offset from the logs
- creating a new L4 using 4KiB aligned
static mut - I even tried patching in an offset on my own fork of the repo
I am at a loss for how to set up memory without a valid offset
- Dominant language
- Rust
- Stars
- 1.7k
- Forks
- 241
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 2
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from rust-osdev/bootloader
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
rust-osdev/bootloader#587 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
rust-osdev/bootloader#583 · 3 comments ·
-
help wanted
Difficulty 3/5 1-2 days Newbie friendliness 67/100
rust-osdev/bootloader#581 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
rust-osdev/bootloader#573 · 5 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
rust-osdev/bootloader#555 · 2 comments ·
All issues in rust-osdev/bootloader
Similar issues
-
claim
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Nixitov/Riptide-Native#946 ·
Maintainers usually reply within 1 day
-
area: ai-assistants documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
BetaBots-LLC/latticegate#17 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 94/100
storytold/craft-libs#5594 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
听歌识曲历史跳转后对应音源界面无法返回Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
LingyunStudio/RustMusic#16 ·