diff options
Diffstat (limited to 'kalloc.c')
-rw-r--r-- | kalloc.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) { |