Skip to content
Commit faadbc42 authored by Jaroslaw Stelter's avatar Jaroslaw Stelter Committed by Anas Nashif
Browse files

mm_drv: tlb: Fix mapped page in bank calculation



The initial implementation was broken during improvements.
There was incorrect assumption that all pages are unmapped at
initials state. In reality at the beginning whole memory is
powered on, so we should mark all pages as mapped. Later in
initialization code unused pages are unmapped and if after this
some banks become empty (all pages unmapped), the power is
switched off.

Signed-off-by: default avatarJaroslaw Stelter <Jaroslaw.Stelter@intel.com>
parent e2e3dc07
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment