mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Improve formatting
This commit is contained in:
@@ -13,8 +13,8 @@ entry_point!(kernel_main);
|
|||||||
fn kernel_main(boot_info: &'static BootInfo) -> ! {
|
fn kernel_main(boot_info: &'static BootInfo) -> ! {
|
||||||
use blog_os::memory;
|
use blog_os::memory;
|
||||||
use x86_64::{structures::paging::Page, VirtAddr};
|
use x86_64::{structures::paging::Page, VirtAddr};
|
||||||
println!("Hello World{}", "!");
|
|
||||||
|
|
||||||
|
println!("Hello World{}", "!");
|
||||||
blog_os::init();
|
blog_os::init();
|
||||||
|
|
||||||
let mut mapper = unsafe { memory::init(boot_info.physical_memory_offset) };
|
let mut mapper = unsafe { memory::init(boot_info.physical_memory_offset) };
|
||||||
|
|||||||
Reference in New Issue
Block a user