mirror of
https://github.com/sgmarz/osblog.git
synced 2024-11-23 18:06:20 +04:00
Updates
This commit is contained in:
parent
26947251be
commit
9de528877c
@ -156,7 +156,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_elf);
|
||||
process::add_kernel_process(test::test);
|
||||
// We schedule the next context switch using a multiplier of 1
|
||||
// Block testing code removed.
|
||||
trap::schedule_next_context_switch(1);
|
||||
|
@ -9,7 +9,7 @@ use alloc::string::String;
|
||||
|
||||
/// Test block will load raw binaries into memory to execute them. This function
|
||||
/// will load ELF files and try to execute them.
|
||||
pub fn test_elf() {
|
||||
pub fn test() {
|
||||
// This won't be necessary after we connect this to the VFS, but for now, we need it.
|
||||
const BDEV: usize = 8;
|
||||
// This could be better. We should see what our probe gave us, and it if is
|
||||
|
Loading…
Reference in New Issue
Block a user