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

Kernel: Stop allocating physical pages for mapped MMIO regions #24279

Merged
merged 2 commits into from
May 17, 2024

Commits on May 17, 2024

  1. Kernel: Stop allocating physical pages for mapped MMIO regions

    As MMIO is placed at fixed physical addressed, and does not need to be
    backed by real RAM physical pages, there's no need to use PhysicalPage
    instances to track their pages.
    This results in slightly reduced allocations, but more importantly
    makes MMIO addresses which end up after the normal RAM ranges work,
    like 64-bit PCI BARs usually are.
    IdanHo committed May 17, 2024
    Configuration menu
    Copy the full SHA
    640de85 View commit details
    Browse the repository at this point in the history
  2. Kernel: Rename Memory::PhysicalPage to Memory::PhysicalRAMPage

    Since these are now only used to represent RAM pages, (and not MMIO
    pages) rename them to make their purpose more obvious.
    IdanHo committed May 17, 2024
    Configuration menu
    Copy the full SHA
    211b638 View commit details
    Browse the repository at this point in the history