projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[NTOS]: Implement MiAllocatePfn, it is a simpler wrapper that grabs a page, sets...
[reactos.git]
/
reactos
/
ntoskrnl
/
mm
/
sysldr.c
diff --git
a/reactos/ntoskrnl/mm/sysldr.c
b/reactos/ntoskrnl/mm/sysldr.c
index
fcecf3c
..
a242b4b
100644
(file)
--- a/
reactos/ntoskrnl/mm/sysldr.c
+++ b/
reactos/ntoskrnl/mm/sysldr.c
@@
-172,7
+172,7
@@
MiLoadImageSection(IN OUT PVOID *SectionPtr,
while (PointerPte < LastPte)
{
/* Allocate a page */
- TempPte.u.Hard.PageFrameNumber = M
mAllocPage(MC_NPPOOL
);
+ TempPte.u.Hard.PageFrameNumber = M
iAllocatePfn(PointerPte, MM_EXECUTE
);
/* Write it */
ASSERT(PointerPte->u.Hard.Valid == 0);