Skip to content

Commit aee51ad

Browse files
authored
Merge branch 'main' into kernel-stack-fixes
2 parents e8d3796 + b2d744b commit aee51ad

File tree

27 files changed

+581
-219
lines changed

27 files changed

+581
-219
lines changed

Cargo.lock

+133-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+5
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ edition = "2021"
1313
members = [
1414
"api",
1515
"common",
16+
"common/config",
1617
"uefi",
1718
"bios/boot_sector",
1819
"bios/stage-*",
@@ -37,6 +38,7 @@ repository = "https://github.com/rust-osdev/bootloader"
3738
[workspace.dependencies]
3839
bootloader_api = { version = "0.11.0", path = "api" }
3940
bootloader-x86_64-common = { version = "0.11.0", path = "common" }
41+
bootloader-boot-config = { version = "0.11.0", path = "common/config" }
4042
bootloader-x86_64-bios-common = { version = "0.11.0", path = "bios/common" }
4143

4244
[features]
@@ -53,6 +55,8 @@ fatfs = { version = "0.3.4", default-features = false, features = [
5355
tempfile = "3.3.0"
5456
mbrman = { version = "0.5.1", optional = true }
5557
gpt = { version = "3.0.0", optional = true }
58+
bootloader-boot-config = { version = "0.11.0", path = "common/config" }
59+
serde_json = "1.0.91"
5660

5761
[dev-dependencies]
5862
bootloader_test_runner = { path = "tests/runner" }
@@ -61,6 +65,7 @@ test_kernel_higher_half = { path = "tests/test_kernels/higher_half", artifact =
6165
test_kernel_map_phys_mem = { path = "tests/test_kernels/map_phys_mem", artifact = "bin", target = "x86_64-unknown-none" }
6266
test_kernel_pie = { path = "tests/test_kernels/pie", artifact = "bin", target = "x86_64-unknown-none" }
6367
test_kernel_ramdisk = { path = "tests/test_kernels/ramdisk", artifact = "bin", target = "x86_64-unknown-none" }
68+
test_kernel_config_file = { path = "tests/test_kernels/config_file", artifact = "bin", target = "x86_64-unknown-none" }
6469
test_kernel_min_stack = { path = "tests/test_kernels/min_stack", artifact = "bin", target = "x86_64-unknown-none" }
6570

6671
[profile.dev]

api/build.rs

-3
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ fn main() {
2323
(97, 9),
2424
(106, 9),
2525
(115, 9),
26-
(124, 1),
27-
(125, 1),
28-
(126, 1),
2926
];
3027

3128
let mut code = String::new();

0 commit comments

Comments
 (0)