summaryrefslogtreecommitdiffstats
path: root/abi
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2024-03-15 13:16:02 -0400
committerJon Santmyer <jon@jonsantmyer.com>2024-03-15 13:16:02 -0400
commitdd5d9e1d48396cbc226ff14fe557a55613c91fcb (patch)
treeb0ec9f54b80f26777ac08b723b42c1c64c5a2bda /abi
parentf46ab8ca2050ee77edf6e6b979875426bdaf29dc (diff)
downloadjove-kernel-dd5d9e1d48396cbc226ff14fe557a55613c91fcb.tar.gz
jove-kernel-dd5d9e1d48396cbc226ff14fe557a55613c91fcb.tar.bz2
jove-kernel-dd5d9e1d48396cbc226ff14fe557a55613c91fcb.zip
better buddy memory allocator
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