Skip to content

Commit

Permalink
Merge pull request #446 from Wasabi375/protect_lower_1mb
Browse files Browse the repository at this point in the history
Guard the lower 1MB of memory
  • Loading branch information
Freax13 authored Jun 24, 2024
2 parents e10010e + 25f48f7 commit bf950a4
Show file tree
Hide file tree
Showing 14 changed files with 616 additions and 117 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ jobs:
- uses: r7kamura/[email protected]
- name: Run api tests
run: cargo test -p bootloader_api
- name: Run bootloader common tests
if: runner.arch == 'x86'
run: cargo test -p bootloader-x86_64-common
- name: Run integration tests
run: cargo test -- --test-threads 1

Expand Down
20 changes: 20 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ members = [
"tests/test_kernels/lto",
"tests/test_kernels/ramdisk",
"tests/test_kernels/min_stack",
"tests/test_kernels/lower_memory_free",
"tests/test_kernels/write_usable_memory",
]
exclude = ["examples/basic", "examples/test_framework"]

Expand Down Expand Up @@ -67,6 +69,8 @@ test_kernel_pie = { path = "tests/test_kernels/pie", artifact = "bin", target =
test_kernel_ramdisk = { path = "tests/test_kernels/ramdisk", artifact = "bin", target = "x86_64-unknown-none" }
test_kernel_config_file = { path = "tests/test_kernels/config_file", artifact = "bin", target = "x86_64-unknown-none" }
test_kernel_min_stack = { path = "tests/test_kernels/min_stack", artifact = "bin", target = "x86_64-unknown-none" }
test_kernel_lower_memory_free = { path = "tests/test_kernels/lower_memory_free", artifact = "bin", target = "x86_64-unknown-none" }
test_kernel_write_usable_memory = { path = "tests/test_kernels/write_usable_memory", artifact = "bin", target = "x86_64-unknown-none" }

[profile.dev]
panic = "abort"
Expand Down
Loading

0 comments on commit bf950a4

Please sign in to comment.