summaryrefslogtreecommitdiffstats
path: root/abi
diff options
context:
space:
mode:
Diffstat (limited to 'abi')
-rw-r--r--abi/syscall.h20
1 files changed, 5 insertions, 15 deletions
diff --git a/abi/syscall.h b/abi/syscall.h
index 54a67b9..e336fe6 100644
--- a/abi/syscall.h
+++ b/abi/syscall.h
@@ -12,23 +12,18 @@ struct syscall_log {
const char *message;
};
-struct syscall_tid {
+struct syscall_mem_takefree {
syscall_t syscall;
- intmax_t value;
-};
-
-struct syscall_mem_map {
- syscall_t syscall;
- uintptr_t phys;
- uintptr_t virt;
- intmax_t tid;
+ uintptr_t npages;
};
enum
{
SYSCALL_LOG = 0,
SYSCALL_TID,
- SYSCALL_MEM_MAP,
+
+ SYSCALL_MEM_TAKEFREE,
+
SYSCALL_COUNT
};
@@ -50,9 +45,4 @@ intmax_t _syscall_tid(void) {
_SYSCALL(&syscall_data);
}
-void __syscall_mem_map(uintptr_t phys, uintptr_t virt, intmax_t tid)
-{
-
-}
-
#endif