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

Map BIOS stage-4 at lower address to avoid conflicts with the kernel #337

Merged
merged 1 commit into from
Jan 29, 2023

Commits on Jan 27, 2023

  1. Map BIOS stage-4 at lower address to avoid conflicts with the kernel

    Parts of stage-4 need to be identity-mapped. This can lead to 'page already mapped' errors when the kernel already occupies the virtual address corresponding to the physical address of the stage-4. For example, a typical virtual start address of the kernel is 2MiB. This was where we placed the stage-4 in physical memory before. This commit avoids that conflict by keeping the stage-4 below the 2MiB boundary.
    phil-opp committed Jan 27, 2023
    Configuration menu
    Copy the full SHA
    713a219 View commit details
    Browse the repository at this point in the history