diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2026-01-25 17:14:53 +0200 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2026-01-25 17:14:53 +0200 |
| commit | cd41ed1758f4842d7b78870385e16b579cc89c38 (patch) | |
| tree | 271e1b437ec5a1511f4ffa400da447122576b94b /tests/common | |
| parent | e8a7fe3bd5c40168d531a6a4f00a7417a278d58c (diff) | |
| download | kmi-master.tar.gz kmi-master.zip | |
+ Add tests and fix virtual mapping, this is enough to start writing
proper userspace drivers
Diffstat (limited to 'tests/common')
| -rw-r--r-- | tests/common/sys.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/common/sys.h b/tests/common/sys.h index 0bee8bd..60de7b0 100644 --- a/tests/common/sys.h +++ b/tests/common/sys.h @@ -44,9 +44,9 @@ static inline void *sys_req_fixmem(uintptr_t fixed, size_t size, vmflags_t flags return (void *)r.a0; } -static inline void *sys_req_pmem(uintptr_t addr, size_t size, vmflags_t flags) +static inline void *sys_req_dmem(uintptr_t addr, size_t size, vmflags_t flags) { - struct sys_ret r = syscall3(SYS_REQ_PMEM, addr, size, flags); + struct sys_ret r = syscall3(SYS_REQ_DMEM, addr, size, flags); if (r.s) return NULL; |
