mirror of
https://github.com/sgmarz/osblog.git
synced 2024-11-24 02:16:19 +04:00
Changed to run test_elf for ELF files
This commit is contained in:
parent
074dc9547a
commit
fa1a728bd9
@ -155,7 +155,7 @@ extern "C" fn kinit() {
|
|||||||
// Set up virtio. This requires a working heap and page-grained allocator.
|
// Set up virtio. This requires a working heap and page-grained allocator.
|
||||||
virtio::probe();
|
virtio::probe();
|
||||||
// Test the block driver!
|
// 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
|
// We schedule the next context switch using a multiplier of 1
|
||||||
// Block testing code removed.
|
// Block testing code removed.
|
||||||
trap::schedule_next_context_switch(1);
|
trap::schedule_next_context_switch(1);
|
||||||
@ -175,6 +175,7 @@ extern "C" fn kinit_hart(_hartid: usize) {
|
|||||||
pub mod assembly;
|
pub mod assembly;
|
||||||
pub mod block;
|
pub mod block;
|
||||||
pub mod cpu;
|
pub mod cpu;
|
||||||
|
pub mod elf;
|
||||||
pub mod fs;
|
pub mod fs;
|
||||||
pub mod kmem;
|
pub mod kmem;
|
||||||
pub mod minixfs;
|
pub mod minixfs;
|
||||||
|
Loading…
Reference in New Issue
Block a user