Add function to track free bytes in the coremap.

This commit is contained in:
Geoffrey Challen
2016-03-05 09:55:44 -05:00
parent a7526befe4
commit a367007689
3 changed files with 20 additions and 3 deletions

View File

@@ -126,6 +126,15 @@ free_kpages(vaddr_t addr)
(void)addr;
}
unsigned
int
coremap_free_bytes() {
/* dumbvm doesn't track page allocations. Return 0 so that khu works. */
return 0;
}
void
vm_tlbshootdown_all(void)
{