Explorar o código

fix(page.refcount): alloc refcount in ident. area

greatbridf %!s(int64=2) %!d(string=hai) anos
pai
achega
d551a55a48
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/kernel/interrupt.cpp

+ 1 - 1
src/kernel/interrupt.cpp

@@ -205,7 +205,7 @@ extern "C" void int14_handler(int14_data* d)
 
         --*page->ref_count;
 
-        page->ref_count = (size_t*)k_malloc(sizeof(size_t));
+        page->ref_count = (size_t*)ki_malloc(sizeof(size_t));
         *page->ref_count = 1;
         page->attr.in.cow = 0;
         page->phys_page_id = new_page;