projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71cda6a
)
patch by Filip Navara:
author
Royce Mitchell III
<royce3@ev1.net>
Fri, 25 Mar 2005 19:34:26 +0000
(19:34 +0000)
committer
Royce Mitchell III
<royce3@ev1.net>
Fri, 25 Mar 2005 19:34:26 +0000
(19:34 +0000)
IopCreateDeviceNode should allocate from NonPagedPool, not PagedPool... (the memory is accessed at DISPATCH_LEVEL)
svn path=/trunk/; revision=14319
reactos/ntoskrnl/io/pnpmgr.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/io/pnpmgr.c
b/reactos/ntoskrnl/io/pnpmgr.c
index
a1b27b4
..
d706ba0
100644
(file)
--- a/
reactos/ntoskrnl/io/pnpmgr.c
+++ b/
reactos/ntoskrnl/io/pnpmgr.c
@@
-508,7
+508,7
@@
IopCreateDeviceNode(PDEVICE_NODE ParentNode,
DPRINT("ParentNode %x PhysicalDeviceObject %x\n",
ParentNode, PhysicalDeviceObject);
- Node = (PDEVICE_NODE)ExAllocatePool(PagedPool, sizeof(DEVICE_NODE));
+ Node = (PDEVICE_NODE)ExAllocatePool(
Non
PagedPool, sizeof(DEVICE_NODE));
if (!Node)
{
return STATUS_INSUFFICIENT_RESOURCES;