git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
regression: mmap for fd
[lunaix-os.git]
/
lunaix-os
/
includes
/
lunaix
/
mm
/
page.h
diff --git
a/lunaix-os/includes/lunaix/mm/page.h
b/lunaix-os/includes/lunaix/mm/page.h
index 37496a384a63583b465325041001e6f56f612012..8d479c2f47f3305b7d1669d938a63c47672496ee 100644
(file)
--- a/
lunaix-os/includes/lunaix/mm/page.h
+++ b/
lunaix-os/includes/lunaix/mm/page.h
@@
-23,6
+23,7
@@
#define PG_DIRTY(pte) ((pte & (1 << 6)) >> 6)
#define PG_ACCESSED(pte) ((pte & (1 << 5)) >> 5)
+#define PG_PRESENTED(pte) ((pte)&PG_PRESENT)
#define IS_CACHED(entry) ((entry & 0x1))