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

Guard the lower 1MB of memory #446

Merged
merged 14 commits into from
Jun 24, 2024
Merged

Commits on Jun 17, 2024

  1. Configuration menu
    Copy the full SHA
    1e52e4c View commit details
    Browse the repository at this point in the history
  2. Guard the lower 1MB of memory

    This commit fixes the review changes in rust-osdev#317.
    Most of the credit should go to Jason Couture <jasonc@alertr.info>
    
    Co-authored-by: Jason Couture <jasonc@alertr.info>
    Wasabi375 and jasoncouture committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    2555127 View commit details
    Browse the repository at this point in the history
  3. Rework: LegacyFrameAllocator::construct_memory_map

    The new implementation takes in a list of slices that are used by the
    bootloader. It then goes through all regions and checks if they overlap
    any of those slices. If so, the region is split and this process is
    started recursively until none of the usable regions overlap the memory
    used by the bootloader.
    Wasabi375 committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    e09e68a View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2024

  1. Trivial PR changes

    Wasabi375 committed Jun 22, 2024
    Configuration menu
    Copy the full SHA
    4446278 View commit details
    Browse the repository at this point in the history
  2. New test to check usable memory is writable

    split out the write check from the lower_memory_free test. Those 2
    aren't really related
    Wasabi375 committed Jun 22, 2024
    Configuration menu
    Copy the full SHA
    f3d383e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3326e7a View commit details
    Browse the repository at this point in the history
  4. Improve construct_memory_map implementation

    simplify the overlap check into single if condition and move to
    interative implementation
    Wasabi375 committed Jun 22, 2024
    Configuration menu
    Copy the full SHA
    5763204 View commit details
    Browse the repository at this point in the history
  5. tests for LegacyFrameAllocator::construct_memory_map

    This test also covers rust-osdev#445
    Wasabi375 committed Jun 22, 2024
    Configuration menu
    Copy the full SHA
    0c21032 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0f4dd1f View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2024

  1. fixup workflow condition

    Wasabi375 committed Jun 23, 2024
    Configuration menu
    Copy the full SHA
    9b3efcb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b0cae12 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b36417f View commit details
    Browse the repository at this point in the history
  4. fix spelling mistake

    Co-authored-by: Tom Dohrmann <Erbse.13@gmx.de>
    Wasabi375 and Freax13 authored Jun 23, 2024
    Configuration menu
    Copy the full SHA
    3b07272 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    25f48f7 View commit details
    Browse the repository at this point in the history