summaryrefslogtreecommitdiff
path: root/kalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'kalloc.c')
-rw-r--r--kalloc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/kalloc.c b/kalloc.c
index 34a55eb..7d3ca0c 100644
--- a/kalloc.c
+++ b/kalloc.c
@@ -40,6 +40,10 @@ kinit(void)
kfree(start, mem * PAGE);
}
+// Free the len bytes of memory pointed at by cp,
+// which normally should have been returned by a
+// call to kalloc(cp). (The exception is when
+// initializing the allocator; see kinit above.)
void
kfree(char *cp, int len)
{