1
0
mirror of https://github.com/sgmarz/osblog.git synced 2024-11-23 18:06:20 +04:00

Changed to run test_elf for ELF files

This commit is contained in:
Stephen Marz 2020-04-26 08:34:00 -04:00
parent 074dc9547a
commit fa1a728bd9

View File

@ -155,7 +155,7 @@ extern "C" fn kinit() {
// Set up virtio. This requires a working heap and page-grained allocator.
virtio::probe();
// Test the block driver!
process::add_kernel_process(test::test_block);
process::add_kernel_process(test::test_elf);
// We schedule the next context switch using a multiplier of 1
// Block testing code removed.
trap::schedule_next_context_switch(1);
@ -175,6 +175,7 @@ extern "C" fn kinit_hart(_hartid: usize) {
pub mod assembly;
pub mod block;
pub mod cpu;
pub mod elf;
pub mod fs;
pub mod kmem;
pub mod minixfs;