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

View File

@ -18,6 +18,8 @@
#define PROC_VFSHANDLES_MAX 0x80
#define PROC_PIPEHANDLES_MAX 0x20
#define PROC_MMAN_MAP_BASE 0xC000000000
typedef struct {
IntrStackFrame trapframe;
uint8_t *kstack;
@ -51,6 +53,8 @@ typedef struct Proc {
IpcPipe *list;
SpinLock spinlock;
} bcast_pipes;
uint64_t mman_map_base;
} Proc;
typedef struct {