Skip to content
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

Limit BIOS bootloader's max_phys_addr to 4 GiB #260

Merged
merged 2 commits into from
Sep 25, 2022

Commits on Sep 22, 2022

  1. Limit BIOS bootloader's max_phys_addr to 4 GiB

    When determining the maximum physical address for the BIOS bootloader's
    identity mapping, we currently use the highest address in the E380
    memory map, no matter how high it is. However, the bootloader runs in
    protected mode, and therefore, it cannot address more than 4 GiB of
    memory. We can save some time by not identity mapping addresses over 4
    GiB, as the bootloader cannot address them anyway.
    
    This commit changes the BIOS bootloader to skip addresses over 4 GiB
    when determining the maximum physical address.
    
    This is one of the changes described in issue rust-osdev#259.
    hawkw committed Sep 22, 2022
    Configuration menu
    Copy the full SHA
    cd2761e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4da46e1 View commit details
    Browse the repository at this point in the history