-static inline void
-mm_index(void** index, struct mm_region* target)
-{
- *index = (void*)target;
- target->index = index;
-}
-
-typedef struct llist_header vm_regions_t;
-
-struct proc_mm
-{
- vm_regions_t regions;
- struct mm_region* heap;
- struct mm_region* stack;
- pid_t pid;
-};