mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 20:58:22 +00:00
make pagealloc zero memory
This commit is contained in:
Binary file not shown.
@@ -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