charlotte-os / charlotte-core

The Kernel of CharlotteOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make the PFA correctly initialize its bitmap by including bits for frames in unusable regions

mdpatelcsecon opened this issue · comments

  • Include unusable regions of memory in the physical frame allocator bitmap so that bit-to-address calculations work correctly.

  • Set the bits corresponding to each frame in those regions to 1 (unavailable) when the PFA is initialized so that they can never be used.

Completed by PR #96