mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-29 13:48:21 +00:00
make pagealloc zero memory
This commit is contained in:
@@ -43,6 +43,8 @@ void* pageallocator_alloc(size_t size){
|
||||
|
||||
spinlock_release(&lock);
|
||||
|
||||
memset(alloc->start, 0, pagec*PAGE_SIZE);
|
||||
|
||||
return alloc->start;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user