minor changes & work on threading

This commit is contained in:
2025-03-04 00:53:06 +00:00
parent 0a5269eeb0
commit 48dcde0c02
8 changed files with 62 additions and 54 deletions
+3 -2
View File
@@ -13,7 +13,7 @@
extern crate alloc;
use crate::{
arch::x86_64::memory::{init_frame_allocator, init_page_table},
arch::x86_64::memory::init_page_table,
prelude::*,
};
use arch::x86_64::memory::allocation::heap_alloc::init_heap;
@@ -21,6 +21,7 @@ use arch::x86_64::memory::memory_map;
use core::arch::asm;
use limine::BaseRevision;
use x86_64::VirtAddr;
use crate::arch::x86_64::memory::FoundryOSFrameAllocator;
pub mod arch;
pub mod resources;
@@ -89,7 +90,7 @@ pub fn boot() -> Result<(), &'static str> {
println_log!("[Success]");
print_log!(" Setting Up Page Table... ");
init_frame_allocator(memory_map);
unsafe { FoundryOSFrameAllocator::init(memory_map) };
println_log!("[Success]");
print_log!(" Initialising Heap... ");