nits
This commit is contained in:
parent
40889627ba
commit
74c82bc158
4 changed files with 6 additions and 17 deletions
10
kalloc.c
10
kalloc.c
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue