mmap #8

Merged
mathieu merged 22 commits from mmap into master 2024-02-11 15:29:59 +01:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit 1bb81fd57e - Show all commits

View File

@ -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); vaddr_t areaAlloc(unsigned int nbPages, uint32_t flags);
/** /**
* Free a vietual area * Free a virtual area
**/ **/
int areaFree(vaddr_t addr); int areaFree(vaddr_t addr);

View File

@ -1,5 +1,6 @@
#pragma once #pragma once
#include "types.h" #include "types.h"
#include "stddef.h"
#include "stdarg.h" #include "stdarg.h"
int memcpyFromUser(vaddr_t to, uaddr_t from, size_t size); int memcpyFromUser(vaddr_t to, uaddr_t from, size_t size);