summaryrefslogtreecommitdiff
path: root/kalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'kalloc.c')
-rw-r--r--kalloc.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/kalloc.c b/kalloc.c
index 200ea8d..7f47853 100644
--- a/kalloc.c
+++ b/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