#include <lunaix/fs.h>
#include <lunaix/types.h>
-#include <usr/sys/mann_flags.h>
+#include <usr/lunaix/mann_flags.h>
/**
* @brief 私有区域,该区域中的页无法进行任何形式的共享。
// mapped file offset
off_t foff;
// mapped file length
- u32_t flen;
+ u32_t flen; // XXX it seems that we don't need this actually..
ptr_t start;
ptr_t end;
void** index; // fast reference, to accelerate access to this very region.
void* data;
- // When a page is mapped and required initialize
- int (*init_page)(struct mm_region*, void*, off_t);
// when a region is copied
void (*region_copied)(struct mm_region*);
// when a region is unmapped