Skip to content

Commit

Permalink
T2: Remove alloc_text for two callback functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Bingxing Wang committed Jul 24, 2019
1 parent 81bcc39 commit 7f4759b
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/AmtPtpDeviceUsbKm/Device.h
Original file line number Diff line number Diff line change
@@ -90,7 +90,7 @@ AmtPtpConfigContReaderForInterruptEndPoint(
//
// Functions to serve interrupt
//
_IRQL_requires_(PASSIVE_LEVEL)
_IRQL_requires_max_(DISPATCH_LEVEL)
VOID
AmtPtpEvtUsbInterruptPipeReadComplete(
_In_ WDFUSBPIPE Pipe,
@@ -99,7 +99,7 @@ AmtPtpEvtUsbInterruptPipeReadComplete(
_In_ WDFCONTEXT Context
);

_IRQL_requires_(PASSIVE_LEVEL)
_IRQL_requires_max_(DISPATCH_LEVEL)
BOOLEAN
AmtPtpEvtUsbInterruptReadersFailed(
_In_ WDFUSBPIPE Pipe,
2 changes: 0 additions & 2 deletions src/AmtPtpDeviceUsbKm/Interrupt.c
Original file line number Diff line number Diff line change
@@ -5,8 +5,6 @@

#ifdef ALLOC_PRAGMA
#pragma alloc_text (PAGE, AmtPtpConfigContReaderForInterruptEndPoint)
#pragma alloc_text (PAGE, AmtPtpEvtUsbInterruptPipeReadComplete)
#pragma alloc_text (PAGE, AmtPtpEvtUsbInterruptReadersFailed)
#endif

// Helper function for numberic operation

0 comments on commit 7f4759b

Please sign in to comment.