Skip to content

Commit 18876c4

Browse files
committed
Document all crate features in the Readme
1 parent f427ce5 commit 18876c4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,5 @@ Where sdX is the device name of your USB stick. **Be careful** to choose the cor
6262
The bootloader crate can be configured through some cargo features:
6363

6464
- `vga_320x200`: This feature switches the VGA hardware to mode 0x13, a graphics mode with resolution 320x200 and 256 colors per pixel. The framebuffer is linear and lives at address `0xa0000`.
65+
- `recursive_page_table`: Map the level 4 page table recursively and add the [`recursive_page_table_address`](https://docs.rs/bootloader/0.4.0/bootloader/bootinfo/struct.BootInfo.html#structfield.recursive_page_table_addr) field to the passed `BootInfo`.
66+
- `map_physical_memory`: Map the complete physical memory in the virtual address space and pass a [`physical_memory_offset`](https://docs.rs/bootloader/0.4.0/bootloader/bootinfo/struct.BootInfo.html#structfield.physical_memory_offset) field in the `BootInfo`.

0 commit comments

Comments
 (0)