make pagealloc zero memory

This commit is contained in:
Matheus
2022-08-20 13:26:31 -03:00
parent bd94ce8134
commit df9977b7db
2 changed files with 2 additions and 0 deletions
BIN
View File
Binary file not shown.
+2
View File
@@ -43,6 +43,8 @@ void* pageallocator_alloc(size_t size){
spinlock_release(&lock);
memset(alloc->start, 0, pagec*PAGE_SIZE);
return alloc->start;
}