:3
This commit is contained in:
parent
4349fe9c6e
commit
62bbebf693
|
@ -209,7 +209,7 @@ pub fn remap_the_kernel<A>(allocator: &mut A, mem_info: &MemInfo) -> ActivePageT
|
|||
mapper.identity_map(vga_text_buffer_frame, EntryFlags::WRITABLE, allocator);
|
||||
|
||||
let vga_video_buffer_frame_start = Frame::containing_address(mem_info.vga_vide_start);
|
||||
let vga_video_buffer_frame_end = Frame::containing_address(mem_info.vga_vide_start + (mem_info.vga_vide_size*4));
|
||||
let vga_video_buffer_frame_end = Frame::containing_address(mem_info.vga_vide_start + mem_info.vga_vide_size);
|
||||
for frame in Frame::range_inclusive(vga_video_buffer_frame_start, vga_video_buffer_frame_end) {
|
||||
mapper.identity_map(frame, EntryFlags::WRITABLE | EntryFlags::WRITE_THROUGH, allocator);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user