vdso
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
#include <zinnia/status.h>
|
||||
#include <zinnia/syscall_numbers.h>
|
||||
#include <common/compiler.h>
|
||||
#include <common/utils.h>
|
||||
#include <kernel/print.h>
|
||||
#include <kernel/sched.h>
|
||||
#include <kernel/syscall_numbers.h>
|
||||
#include <kernel/syscalls.h>
|
||||
#include <kernel/types.h>
|
||||
|
||||
|
||||
@@ -118,7 +118,7 @@ zn_status_t syscall_vmo_map(struct arch_context* ctx) {
|
||||
if (!usercopy_write(addr, &target_addr, sizeof(target_addr)))
|
||||
return ZN_ERR_BAD_BUFFER;
|
||||
}
|
||||
vma_map_vmo(vas, vmo, target_addr, bytes, flags, vmo_offset);
|
||||
vas_map_vmo(vas, vmo, target_addr, bytes, flags, vmo_offset);
|
||||
|
||||
return ZN_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user