[Zion] Fix physical page usage tracking.
This commit is contained in:
parent
84e1b4cdb4
commit
c8931a01c8
|
@ -104,6 +104,7 @@ class PhysicalMemoryManager {
|
||||||
#if K_PHYS_DEBUG
|
#if K_PHYS_DEBUG
|
||||||
dbgln("Continuous {x}:{}", page, num_pages);
|
dbgln("Continuous {x}:{}", page, num_pages);
|
||||||
#endif
|
#endif
|
||||||
|
allocated_pages_ += num_pages;
|
||||||
return page;
|
return page;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue