mmap #8
@ -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);
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user