more comments

This commit is contained in:
rsc 2006-09-07 14:12:30 +00:00
parent 7e019461c8
commit 31085bb416
13 changed files with 151 additions and 81 deletions

View file

@ -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)
{