Skip to content

Commit

Permalink
Remove debugging output.
Browse files Browse the repository at this point in the history
  • Loading branch information
dthain committed Dec 15, 2023
1 parent dfaaa1e commit 54a2df3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/page.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ void *page_alloc(bool zeroit)
if(zeroit)
memset(pageaddr, 0, PAGE_SIZE);
pages_free--;
printf("page: alloc %d\n",pages_free);
//printf("page: alloc %d\n",pages_free);
return pageaddr;
}
}
Expand All @@ -103,5 +103,5 @@ void page_free(void *pageaddr)
uint32_t cellmask = (1 << celloffset);
freemap[cellnumber] |= cellmask;
pages_free++;
printf("page: free %d\n",pages_free);
//printf("page: free %d\n",pages_free);
}

0 comments on commit 54a2df3

Please sign in to comment.