Userspace dlmalloc port, supporting syscalls mman_map()/mman_unmap()

This commit is contained in:
2025-09-10 21:52:01 +02:00
parent 91c493c818
commit 2f9f4d9397
19 changed files with 378 additions and 2 deletions

12
share/sysdefs/mman.h Normal file
View File

@ -0,0 +1,12 @@
#ifndef SHARE_SYSDEFS_MMAN_H_
#define SHARE_SYSDEFS_MMAN_H_
enum {
MMAN_MAP_PF_RW = (1<<0),
};
enum {
MMAN_MAP_F_FIXED = (1<<0),
};
#endif // SHARE_SYSDEFS_MMAN_H_

View File

@ -6,6 +6,8 @@ enum {
SYS_PROCESSCTL = 2,
SYS_IOCTL = 3,
SYS_IPCPIPE = 4,
SYS_MMAN_MAP = 5,
SYS_MMAN_UNMAP = 6,
};
#endif // SHARE_HDRS_SYSCALL_H_