git://git.jankratochvil.net
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
update for HEAD-2003091401
[reactos.git]
/
include
/
ntos
/
mm.h
diff --git
a/include/ntos/mm.h
b/include/ntos/mm.h
index
706ee37
..
2c97e14
100644
(file)
--- a/
include/ntos/mm.h
+++ b/
include/ntos/mm.h
@@
-59,4
+59,7
@@
#endif /* __USE_W32API */
+#define PAGE_ROUND_UP(x) ( (((ULONG)x)%PAGE_SIZE) ? ((((ULONG)x)&(~(PAGE_SIZE-1)))+PAGE_SIZE) : ((ULONG)x) )
+#define PAGE_ROUND_DOWN(x) (((ULONG)x)&(~(PAGE_SIZE-1)))
+
#endif /* __INCLUDE_MM_H */