diff options
Diffstat (limited to 'serial')
| -rw-r--r-- | serial/serial/ioctl.c | 4 | ||||
| -rw-r--r-- | serial/serial/openclos.c | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/serial/serial/ioctl.c b/serial/serial/ioctl.c index 339cdc6a..192f3955 100644 --- a/serial/serial/ioctl.c +++ b/serial/serial/ioctl.c @@ -1297,8 +1297,8 @@ Return Value: } reqContext->Type3InputBuffer = - ExAllocatePoolWithQuotaTag( - NonPagedPoolNx | POOL_QUOTA_FAIL_INSTEAD_OF_RAISE, + ExAllocatePool2( + POOL_FLAG_NON_PAGED | POOL_FLAG_USE_QUOTA, Rs->InSize, POOL_TAG ); diff --git a/serial/serial/openclos.c b/serial/serial/openclos.c index c59439e9..321e5206 100644 --- a/serial/serial/openclos.c +++ b/serial/serial/openclos.c @@ -148,8 +148,8 @@ SerialDeviceFileCreateWorker ( case MmLargeSystem: { extension->BufferSize = 4096; - extension->InterruptReadBuffer = ExAllocatePoolWithTag( - NonPagedPoolNx, + extension->InterruptReadBuffer = ExAllocatePool2( + POOL_FLAG_NON_PAGED, extension->BufferSize, POOL_TAG ); @@ -163,8 +163,8 @@ SerialDeviceFileCreateWorker ( case MmMediumSystem: { extension->BufferSize = 1024; - extension->InterruptReadBuffer = ExAllocatePoolWithTag( - NonPagedPoolNx, + extension->InterruptReadBuffer = ExAllocatePool2( + POOL_FLAG_NON_PAGED, extension->BufferSize, POOL_TAG ); @@ -178,8 +178,8 @@ SerialDeviceFileCreateWorker ( case MmSmallSystem: { extension->BufferSize = 128; - extension->InterruptReadBuffer = ExAllocatePoolWithTag( - NonPagedPoolNx, + extension->InterruptReadBuffer = ExAllocatePool2( + POOL_FLAG_NON_PAGED, extension->BufferSize, POOL_TAG ); |
