mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Rewrite remap_the_kernel post to use range_inclusive instead of step_by
This commit is contained in:
@@ -144,8 +144,6 @@ impl InactivePageTable {
|
||||
pub fn remap_the_kernel<A>(allocator: &mut A, boot_info: &BootInformation)
|
||||
where A: FrameAllocator
|
||||
{
|
||||
use core::ops::Range;
|
||||
|
||||
let mut temporary_page = TemporaryPage::new(Page { number: 0xcafebabe }, allocator);
|
||||
|
||||
let mut active_table = unsafe { ActivePageTable::new() };
|
||||
|
||||
Reference in New Issue
Block a user