git://scm.lunaixsky.com
/
lunaix-os.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'master' into prog-loader
[lunaix-os.git]
/
lunaix-os
/
includes
/
lunaix
/
mm
/
mmap.h
1
#ifndef __LUNAIX_MMAP_H
2
#define __LUNAIX_MMAP_H
3
4
#include <lunaix/fs.h>
5
#include <lunaix/types.h>
6
7
void*
8
mem_map(ptr_t pd_ref,
9
struct llist_header* regions,
10
void* addr,
11
struct v_file* file,
12
u32_t offset,
13
size_t length,
14
u32_t attrs);
15
16
void*
17
mem_unmap(ptr_t mnt, struct llist_header* regions, void* addr, size_t length);
18
19
#endif /* __LUNAIX_MMAP_H */