#include <lunaix/types.h>
#include <lunaix/ds/llist.h>
-#include <sys/mm/memory.h>
+#include <asm/pagetable.h>
-#include <usr/lunaix/mann_flags.h>
+#include <usr/lunaix/mman.h>
/**
* @brief 私有区域,该区域中的页无法进行任何形式的共享。
// mapped file offset
off_t foff;
// mapped file length
- u32_t flen; // XXX it seems that we don't need this actually..
ptr_t start;
ptr_t end;
u32_t attr;
+ size_t flen;
void** index; // fast reference, to accelerate access to this very region.