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 #320

Merged
merged 33 commits into from
Mar 12, 2023
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
164d015
Replace UefiBoot and BiosBoot with DiskImageBuilder
jasoncouture Jan 4, 2023
85779d3
Update DiskImageBuilder to remove lifetime requirement by cloning, an…
jasoncouture Jan 29, 2023
5786d9b
Reimplement BiosBoot and UefiBoot as wrappers around DiskImageBuilder
jasoncouture Jan 29, 2023
131130b
cargo fmt
jasoncouture Jan 29, 2023
2a7a25c
Add abi_efiapi feature
jasoncouture Jan 29, 2023
25536d2
Fix build errors due to rebase
jasoncouture Jan 29, 2023
b472297
Fix clippy failures
jasoncouture Jan 29, 2023
d1a2391
Remove unnecessary feature abi_efiapi
jasoncouture Jan 29, 2023
37c5539
Rename image_filename to image_path
jasoncouture Mar 4, 2023
2af185f
Create enum to hold different sources of file data
jasoncouture Mar 4, 2023
81e9d80
Update code to use FileDataSource
jasoncouture Mar 4, 2023
c0fab37
Format code
jasoncouture Mar 4, 2023
c193f9f
Add public method to set source directly
jasoncouture Mar 4, 2023
d4e9a5f
Format files after changes
jasoncouture Mar 4, 2023
42b5895
Refactor set methods to take destination first
jasoncouture Mar 4, 2023
dd87c00
Fix warnings with
jasoncouture Mar 4, 2023
3a7fcf7
Add documentation comments to set_file_* methods
jasoncouture Mar 4, 2023
502967b
Add documentation comments to FileDataSource and it's public methods.
jasoncouture Mar 4, 2023
ad34510
Remove code comments to pass doc test.
jasoncouture Mar 4, 2023
a93ce32
Final formatting pass
jasoncouture Mar 4, 2023
3ce9598
Remove DiskImageFile in favor of a BTreeMap
jasoncouture Mar 5, 2023
6b8d970
Improve docs
phil-opp Mar 12, 2023
5cabc0c
Make `set_file_source` private
phil-opp Mar 12, 2023
2923ad8
Take arguments as owned values in `set_file` and `set_file_contents`
phil-opp Mar 12, 2023
1a5cdf6
Reorder methods (public first)
phil-opp Mar 12, 2023
6e9b6a3
Document that only the kernel and ramdisk are loaded into memory
phil-opp Mar 12, 2023
c4714ce
Apply clippy suggestion
phil-opp Mar 12, 2023
075f22d
Take `FileDataSource` by reference in `create_fat_filesystem`
phil-opp Mar 12, 2023
692d39f
Serialize boot config to `Vec` directly
phil-opp Mar 12, 2023
bd5047c
Take file paths by value to avoid internal cloning
phil-opp Mar 12, 2023
f0328e6
Follow-up fixes for by-value arguments
phil-opp Mar 12, 2023
ac934c4
Adjust test runner for new owned arguments
phil-opp Mar 12, 2023
e3dd6fc
Fix unused import
phil-opp Mar 12, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add abi_efiapi feature
  • Loading branch information
jasoncouture committed Mar 4, 2023
commit 2a7a25c060f1b950dc50c0737725a7e79def4655
1 change: 1 addition & 0 deletions uefi/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#![no_std]
#![no_main]
#![deny(unsafe_op_in_unsafe_fn)]
#![feature(abi_efiapi)]
jasoncouture marked this conversation as resolved.
Show resolved Hide resolved

use crate::memory_descriptor::UefiMemoryDescriptor;
use bootloader_api::info::FrameBufferInfo;
Expand Down