This commit is contained in:
Frans Kaashoek 2010-07-02 17:45:37 -04:00
parent 40889627ba
commit 74c82bc158
4 changed files with 6 additions and 17 deletions

View file

@ -23,16 +23,6 @@ struct {
int nfreemem;
static void
printfreelist(void)
{
struct run *r, **rp;
cprintf("freelist:\n");
for(rp=&kmem.freelist; (r=*rp) != 0; rp=&r->next){
cprintf("0x%x %d=0x%x\n", r, r->len, r->len);
}
}
// Initialize free list of physical pages.
// This code cheats by just considering one megabyte of
// pages after end. Real systems would determine the