add devobj a new memobj

This commit is contained in:
NAKAMURA Gou
2014-09-17 18:34:23 +09:00
parent fdb86115a8
commit 438c7fd784
3 changed files with 233 additions and 1 deletions

View File

@ -104,5 +104,6 @@ static inline int memobj_has_pager(struct memobj *obj)
int fileobj_create(int fd, struct memobj **objp, int *maxprotp);
int shmobj_create(struct shmid_ds *ds, struct memobj **objp);
int zeroobj_create(struct memobj **objp);
int devobj_create(int fd, size_t len, off_t off, struct memobj **objp, int *maxprotp);
#endif /* HEADER_MEMOBJ_H */