From 509c49d0192b84de459fdfae9bd8c1e16f6cafa0 Mon Sep 17 00:00:00 2001 From: Jason Date: Wed, 5 Oct 2022 11:55:25 -0700 Subject: [smartcrd\pscr] Get pscr sample building properly (#788) --- smartcrd/pscr/pscr.inx | Bin 6260 -> 6272 bytes smartcrd/pscr/pscrnt.c | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/smartcrd/pscr/pscr.inx b/smartcrd/pscr/pscr.inx index 22a8b269..93ea8f4b 100644 Binary files a/smartcrd/pscr/pscr.inx and b/smartcrd/pscr/pscr.inx differ diff --git a/smartcrd/pscr/pscrnt.c b/smartcrd/pscr/pscrnt.c index 4505035f..3249371d 100644 --- a/smartcrd/pscr/pscrnt.c +++ b/smartcrd/pscr/pscrnt.c @@ -406,8 +406,8 @@ PscrRegisterWithSmcLib( SmartcardExtension = &DeviceExtension->SmartcardExtension; // allocate the reader extension - ReaderExtension = ExAllocatePoolWithTag( - NonPagedPoolNx, + ReaderExtension = ExAllocatePool2( + POOL_FLAG_NON_PAGED, sizeof( READER_EXTENSION ), SMARTCARD_POOL_TAG ); -- cgit v1.3.1