Skip to content

Commit

Permalink
[NTOS:MM] Fix macros comment
Browse files Browse the repository at this point in the history
  • Loading branch information
TAN-Gaming committed Jan 11, 2025
1 parent 94d00fb commit 498f297
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ntoskrnl/include/internal/mm.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,7 @@ typedef ULONG_PTR SWAPENTRY;
#define MM_ROUND_DOWN(x,s) \
((PVOID)(((ULONG_PTR)(x)) & ~((ULONG_PTR)(s)-1)))

/* PAGE_ROUND_UP and PAGE_ROUND_DOWN equivalent for always 64-bit values.
* For example: file offset */
/* PAGE_ROUND_UP and PAGE_ROUND_DOWN equivalent for 64-bit only data types */
#define PAGE_ROUND_UP_64(x) \
(((x) + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1))

Expand Down

0 comments on commit 498f297

Please sign in to comment.