Skip to content

Commit

Permalink
T2: mark most functions as non-pageable
Browse files Browse the repository at this point in the history
  • Loading branch information
Bingxing Wang committed Jul 24, 2019
1 parent 7f4759b commit 30f6b4c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions src/AmtPtpDeviceUsbKm/Device.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ Module Name:
#ifdef ALLOC_PRAGMA
#pragma alloc_text (PAGE, AmtPtpDeviceUsbKmCreateDevice)
#pragma alloc_text (PAGE, AmtPtpDeviceUsbKmEvtDevicePrepareHardware)
#pragma alloc_text (PAGE, AmtPtpEvtDeviceD0Entry)
#pragma alloc_text (PAGE, AmtPtpEvtDeviceD0Exit)
#endif

_IRQL_requires_(PASSIVE_LEVEL)
Expand Down
4 changes: 0 additions & 4 deletions src/AmtPtpDeviceUsbKm/Interrupt.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
#include "Driver.h"
#include "Interrupt.tmh"

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

// Helper function for numberic operation
static inline INT AmtRawToInteger(
_In_ USHORT x
Expand Down

0 comments on commit 30f6b4c

Please sign in to comment.