Update todos

This commit is contained in:
Berkus Decker 2021-02-26 00:20:35 +02:00
parent 083711b61e
commit 07d7f9cd9e
2 changed files with 6 additions and 0 deletions

View File

@ -57,3 +57,7 @@ For more information please re-read.
* resolve VA to PA - resolving lets kernel access mapped process memory.
(start from the process' virtspace root - Page Directory)
* flush page, pd, pt, virtspace - will be important for thread switching
* map a page table to appropriate location
* unmap entire mapped page table
* map a phys frame to virt location
* unmap a mapped frame

View File

@ -266,6 +266,7 @@ static KERNEL_VIRTUAL_LAYOUT: [Descriptor; 6] = [
execute_never: true,
},
},
// @todo these should come from DTB and mem-map?
Descriptor {
name: "DMA heap pool",
virtual_range: || RangeInclusive::new(map::virt::DMA_HEAP_START, map::virt::DMA_HEAP_END),
@ -276,6 +277,7 @@ static KERNEL_VIRTUAL_LAYOUT: [Descriptor; 6] = [
execute_never: true,
},
},
// @todo these should come from DTB and mem-map?
Descriptor {
name: "Device MMIO",
virtual_range: || RangeInclusive::new(map::phys::VIDEOMEM_BASE, map::phys::MMIO_END),