Explorar el Código

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

greatbridf hace 2 años
padre
commit
d551a55a48
Se han modificado 1 ficheros con 1 adiciones y 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;