diff --git a/core/allocArea.h b/core/allocArea.h index edb2135..e65ab48 100644 --- a/core/allocArea.h +++ b/core/allocArea.h @@ -20,7 +20,7 @@ void areaInit(vaddr_t firstMemUsed, vaddr_t lastUsed, vaddr_t stack_bottom, vadd vaddr_t areaAlloc(unsigned int nbPages, uint32_t flags); /** - * Free a vietual area + * Free a virtual area **/ int areaFree(vaddr_t addr); diff --git a/core/uaccess.h b/core/uaccess.h index bf97293..53b619f 100644 --- a/core/uaccess.h +++ b/core/uaccess.h @@ -1,5 +1,6 @@ #pragma once #include "types.h" +#include "stddef.h" #include "stdarg.h" int memcpyFromUser(vaddr_t to, uaddr_t from, size_t size);