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

Simplified disk builder #313

Closed

Commits on Jan 9, 2023

  1. Revert "Merge pull request rust-osdev#304 from AlexJMohr/cargo-features"

    This reverts commit 5e42ad0, reversing
    changes made to 94c71d5.
    jasoncouture committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    3f4f594 View commit details
    Browse the repository at this point in the history
  2. Add ramdisk support

    This adds support for loading a ramdisk/initrd, and an API to add one to the boot image.
    jasoncouture committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    a2d24c7 View commit details
    Browse the repository at this point in the history
  3. Apply review comments

    Co-authored-by: Philipp Oppermann <dev@phil-opp.com>
    jasoncouture and phil-opp committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    d268092 View commit details
    Browse the repository at this point in the history
  4. Measure memory map size before freeing memory to avoid an endless loo…

    …p, and remove the extra unnecessary variable
    jasoncouture committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    253f9b0 View commit details
    Browse the repository at this point in the history
  5. Simplify math to caluclate the page count for the ramdisk

    Rather than replace range_inclusive, we can remove the nesting doll math from ramdisk_page_count instead.
    IMO this makes the code a bit more readable.
    jasoncouture committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    17055d3 View commit details
    Browse the repository at this point in the history
  6. Make end page exclusive when computing the end page for the ramdisk

    Co-authored-by: Philipp Oppermann <dev@phil-opp.com>
    jasoncouture and phil-opp committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    ced0098 View commit details
    Browse the repository at this point in the history
  7. Remove increased memory used to debug test failures

    Co-authored-by: Philipp Oppermann <dev@phil-opp.com>
    jasoncouture and phil-opp committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    5b5d649 View commit details
    Browse the repository at this point in the history
  8. Update test runner to take an Option<&Path> instead of Option<&str> f…

    …or the ramdisk path
    
    Co-authored-by: Philipp Oppermann <dev@phil-opp.com>
    jasoncouture and phil-opp committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    0e210cf View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9e28603 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    d5feb67 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    914d992 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    c4f33c9 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    7b40929 View commit details
    Browse the repository at this point in the history
  14. Run cargo fmt

    jasoncouture committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    50551ba View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    d23bd85 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    79c4868 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    9731b68 View commit details
    Browse the repository at this point in the history