[Zion] Fix physical page usage tracking.
This commit is contained in:
parent
84e1b4cdb4
commit
c8931a01c8
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue