more comments
This commit is contained in:
parent
7e019461c8
commit
31085bb416
13 changed files with 151 additions and 81 deletions
4
kalloc.c
4
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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue