Add basic userspace binary execution (ported from older kernel)

This commit is contained in:
Mark
2020-01-30 17:29:40 +02:00
parent f262f9ab6d
commit cbb39f9d77
13 changed files with 196 additions and 17 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ uintptr_t vmfind(const mm_space_t pd, uintptr_t from, uintptr_t to, size_t npage
* @return Virtual address of the resulting range on success,
* MM_NADDR otherwise
*/
uintptr_t vmalloc(mm_space_t pd, uintptr_t from, uintptr_t to, size_t npages, int flags);
uintptr_t vmalloc(mm_space_t pd, uintptr_t from, uintptr_t to, size_t npages, uint64_t flags);
/**
* @brief Deallocate a virtual memory range and physical pages