Comments (3)
We used to hardcode the index to 511
, but this changed with #71. Now we dynamically look for a free level 4 entry. The chosen index is indirectly reported through the recursive_page_table_addr
field in the BootInfo
:
bootloader/src/bootinfo/mod.rs
Lines 32 to 34 in 90f5b89
It shouldn't be 0
, however, because the bootloader maps itself to that slot…
from bootloader.
Thanks! I eventually figured that out. Perhaps a "get recursive index" method could be added that just masks out bits 21:12 and returns a PageTableIndex?
from bootloader.
Sure, I'd be happy to merge a pull request for this.
from bootloader.
Related Issues (20)
- Memory use during build HOT 6
- Features and tests HOT 1
- Triple fault on Dell Inspiron 15 5330 HOT 11
- Hang during release build with UEFI
- Build script fails to build on latest nightly with BIOS feature enabled HOT 2
- Kernel not mapped in higher half by default? HOT 2
- After timer interrupt i have double fault. HOT 4
- Debug why `Rsdp::search_for_on_bios` is optimized to `ud2` HOT 8
- Load kernel at specific address in v0.11 HOT 6
- Compiler warnings for unused imports HOT 1
- How can I control the entry point and the address of the kernel stack using bootloader? HOT 5
- Error installing "bootimage" v 1.10.3 HOT 10
- Enable support for executing arbitrary functions in real mode HOT 6
- `No space left on device` for UEFI image with large kernel image, fixed by increasing FAT padding HOT 1
- Writing to usable memory regions causes a reboot HOT 3
- Can't compile the bootloader HOT 27
- Updating from 0.9 to 0.11 -- unresolved imports MemoryMap and MemoryRegionType HOT 2
- PageTable is not mapped as writable HOT 6
- Ramdisk marked as Usable region in MemoryRegions HOT 1
- APIC init failed on UEFI, but work on BIOS HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bootloader.